Skip to content

Commit 8b3b2cb

Browse files
Add Presentation in publication landing page
1 parent 8de33c6 commit 8b3b2cb

File tree

2 files changed

+55
-2
lines changed

2 files changed

+55
-2
lines changed

_layouts/publication.html

+52-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
---
44

55
{% assign publication = site.data.publist | where: "title", page.title | first %}
6+
{% assign presentation = site.data.preslist | where: "title", page.title | first %}
67

78
<article class="publication" itemscope itemtype="http://schema.org/ScholarlyArticle">
89
<header class="publication-header">
@@ -23,36 +24,70 @@ <h1 class="publication-title" itemprop="headline">{{ publication.title }}</h1>
2324
{% endif %}
2425

2526
<div class="publication-content" itemprop="description">
27+
2628
<h3>Abstract</h3>
29+
2730
<p>{{ publication.abstract | markdownify }}</p>
31+
32+
{% if presentation %}
33+
<div class="presentation-info">
34+
<h3>Presentation</h3>
35+
<div style="display: block; position: relative">
36+
<a href="{{ presentation.artifacts | split: '(' | last | strip | split: ')' | first | strip }}">
37+
<img src="{{ site.url }}{{ site.baseurl }}/images/pubpic/{{ presentation.id }}.gif"
38+
class=""
39+
style="border-radius:2px; width: 100%;"
40+
/>
41+
<img src="{{ site.url }}{{ site.baseurl }}/images/pubpic/{{ presentation.id }}.png"
42+
class="gif-animated-static"
43+
style="border-radius:2px; width: 100%; position: absolute; top: 0; left: 0; margin; 0"
44+
/>
45+
</a>
46+
</div>
47+
<p><strong>Title:</strong> {{ presentation.title }}</p>
48+
<p><strong>Location:</strong> {{ presentation.location | markdownify }}</p>
49+
<p><strong>Date:</strong> {{ presentation.date | date: "%B %d, %Y" }}</p>
50+
<p><strong>Speaker:</strong> {{ presentation.speaker }}</p>
51+
<p><strong>Artifacts:</strong> {{ presentation.artifacts | markdownify }}</p>
52+
53+
</div>
54+
{% endif %}
55+
2856
{{ content }}
2957
</div>
3058

3159
<div class="publication-info">
3260
<h3>Details</h3>
61+
3362
{% if publication.journal %}
3463
<p><strong>Journal:</strong> {{ publication.journal }}</p>
3564
{% endif %}
65+
3666
{% if publication.volume %}
3767
<p><strong>Volume:</strong> {{ publication.volume }}</p>
3868
{% endif %}
69+
3970
{% if publication.pages %}
4071
<p><strong>Pages:</strong> {{ publication.pages }}</p>
4172
{% endif %}
73+
4274
{% if publication.cites %}
4375
<p><strong>Cited by:</strong> {{ publication.cites }} times</p>
4476
{% endif %}
77+
4578
{% if publication.eprint %}
46-
<p><strong><a href="{{ publication.eprint }}" target="_blank">E-Print</a></strong></p>
79+
<p><strong><a href="{{ publication.eprint }}" target="_blank">E-Print</a></strong></p>
4780
{% endif %}
81+
4882
{% if publication.url %}
49-
<p><strong><a href="{{ publication.url }}" target="_blank">Read Full Publication</a></strong></p>
83+
<p><strong><a href="{{ publication.url }}" target="_blank">Read Full Publication</a></strong></p>
5084
{% endif %}
5185
</div>
5286

5387
</article>
5488

5589
<style>
90+
5691
.publication-header .author-image {
5792
width: 30px;
5893
height: 30px;
@@ -69,4 +104,19 @@ <h3>Details</h3>
69104
background-color: #999999;
70105
padding: 0.5rem;
71106
}
107+
108+
.presentation-info {
109+
margin-top: 2rem;
110+
border-top: 1px solid #ddd;
111+
padding-top: 1rem;
112+
}
113+
114+
.presentation-info h3 {
115+
margin-bottom: 1rem;
116+
}
117+
118+
.presentation-info p {
119+
margin-bottom: 0.5rem;
120+
}
121+
72122
</style>

_pages/publications/fast-and-automatic-floating-point-error-analysis-withchef-fp.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ permalink: /publications/fast-and-automatic-floating-point-error-analysis-with-c
44
layout: publication
55
---
66

7+
### Tutorial
8+
9+
[How to Estimate Floating Point Errors Using Automatic Differentiation]( https://compiler-research.org/tutorials/fp_error_estimation_clad_tutorial/ )

0 commit comments

Comments
 (0)