|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +--- |
| 4 | + |
| 5 | +{% assign publication = site.data.publist | where: "title", page.title | first %} |
| 6 | +{% assign presentation = site.data.preslist | where: "title", page.title | first %} |
| 7 | + |
| 8 | +<article class="publication" itemscope itemtype="http://schema.org/ScholarlyArticle"> |
| 9 | + <header class="publication-header"> |
| 10 | + <h1 class="publication-title" itemprop="headline">{{ publication.title }}</h1> |
| 11 | + <p class="publication-meta"> |
| 12 | + <span itemprop="author" itemscope itemtype="http://schema.org/Person"> |
| 13 | + <span itemprop="name">{{ publication.author }}</span> |
| 14 | + </span> |
| 15 | + • <time datetime="{{ publication.year | date: "%Y" }}" itemprop="datePublished">{{ publication.year }}</time> |
| 16 | + </p> |
| 17 | + </header> |
| 18 | + |
| 19 | + {% if page.banner_image %} |
| 20 | + <div class="post-banner"> |
| 21 | + <img src="{{ page.banner_image }}" |
| 22 | + alt="Banner Image" class="banner-image" /> |
| 23 | + </div> |
| 24 | + {% endif %} |
| 25 | + |
| 26 | + <div class="publication-content" itemprop="description"> |
| 27 | + |
| 28 | + <h3>Abstract</h3> |
| 29 | + |
| 30 | + <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 | + |
| 56 | + {{ content }} |
| 57 | + </div> |
| 58 | + |
| 59 | + <div class="publication-info"> |
| 60 | + <h3>Details</h3> |
| 61 | + |
| 62 | + {% if publication.journal %} |
| 63 | + <p><strong>Journal:</strong> {{ publication.journal }}</p> |
| 64 | + {% endif %} |
| 65 | + |
| 66 | + {% if publication.volume %} |
| 67 | + <p><strong>Volume:</strong> {{ publication.volume }}</p> |
| 68 | + {% endif %} |
| 69 | + |
| 70 | + {% if publication.pages %} |
| 71 | + <p><strong>Pages:</strong> {{ publication.pages }}</p> |
| 72 | + {% endif %} |
| 73 | + |
| 74 | + {% if publication.cites %} |
| 75 | + <p><strong>Cited by:</strong> {{ publication.cites }} times</p> |
| 76 | + {% endif %} |
| 77 | + |
| 78 | + {% if publication.eprint %} |
| 79 | + <p><strong><a href="{{ publication.eprint }}" target="_blank">E-Print</a></strong></p> |
| 80 | + {% endif %} |
| 81 | + |
| 82 | + {% if publication.url %} |
| 83 | + <p><strong><a href="{{ publication.url }}" target="_blank">Read Full Publication</a></strong></p> |
| 84 | + {% endif %} |
| 85 | + </div> |
| 86 | + |
| 87 | +</article> |
| 88 | + |
| 89 | +<style> |
| 90 | + |
| 91 | +.publication-header .author-image { |
| 92 | + width: 30px; |
| 93 | + height: 30px; |
| 94 | + border-radius: 50%; |
| 95 | + object-fit: cover; |
| 96 | +} |
| 97 | + |
| 98 | +.publication-banner .banner-image { |
| 99 | + width: 100%; |
| 100 | + height: auto; |
| 101 | +} |
| 102 | + |
| 103 | +.tag-badge { |
| 104 | + background-color: #999999; |
| 105 | + padding: 0.5rem; |
| 106 | +} |
| 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 | + |
| 122 | +</style> |
0 commit comments