|
2 | 2 | --- |
3 | 3 | <div class="row"> |
4 | 4 | {% if site.enable_publication_thumbnails %} |
5 | | - <div class="col col-sm-2 abbr"> |
| 5 | + <div class="col col-sm-2 abbr"> |
6 | 6 | {%- if entry.abbr -%} |
| 7 | + <style> |
| 8 | + @media (max-width: 768px) { |
| 9 | + {% if entry.abbr %} |
| 10 | + .abbr { display: none !important; } |
| 11 | + {% endif %} |
| 12 | + } |
| 13 | + </style> |
7 | 14 | {%- if site.data.venues[entry.abbr] -%} |
8 | 15 | {% assign venue_style = null %} |
9 | 16 | {% if site.data.venues[entry.abbr].color != blank %} |
10 | 17 | {% assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' %} |
11 | 18 | {%- endif -%} |
12 | | - <abbr |
13 | | - class="badge rounded w-100" |
| 19 | + <abbr class="badge rounded w-100" |
14 | 20 | {% if venue_style %} |
15 | 21 | {{ venue_style }} |
16 | | - {% endif -%} |
17 | | - > |
| 22 | + {%- endif -%} |
| 23 | + > |
18 | 24 | {% if site.data.venues[entry.abbr].url %} |
19 | 25 | <a href="{{ site.data.venues[entry.abbr].url }}">{{ entry.abbr }}</a> |
20 | 26 | {% else %} |
|
26 | 32 | {% endif %} |
27 | 33 | {% endif %} |
28 | 34 | {% if entry.preview %} |
| 35 | + <style> |
| 36 | + @media (max-width: 768px) { |
| 37 | + {% if entry.preview %} |
| 38 | + .preview { display: none !important; } |
| 39 | + {% endif %} |
| 40 | + } |
| 41 | + </style> |
29 | 42 | {% if entry.preview contains '://' %} |
30 | 43 | <img class="preview z-depth-1 rounded" src="{{ entry.preview }}"> |
31 | 44 | {% else %} |
|
46 | 59 | {% endif %} |
47 | 60 |
|
48 | 61 | <!-- Entry bib key --> |
49 | | - <div id="{{ entry.key }}" class="{% if site.enable_publication_thumbnails %}col-sm-8{% else %}col-sm-10{% endif %}"> |
| 62 | + <div id="{{ entry.key }}" class="{% if site.enable_publication_thumbnails %}col-sm-9{% else %}col-sm-11{% endif %}"> |
50 | 63 | <!-- Title --> |
51 | | - <div class="title">{{ entry.title }}</div> |
| 64 | + <div class="title"> |
| 65 | + {% if entry.arxiv %} |
| 66 | + <a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">{{entry.title}}.</a> |
| 67 | + {% elsif entry.pdf %} |
| 68 | + {% if entry.pdf contains "://" %} |
| 69 | + <a href="{{ entry.pdf }}" target="_blank">{{entry.title}}.</a> |
| 70 | + {% elsif entry.pdf %} |
| 71 | + <a href="{{ entry.pdf | prepend: '/assets/pdf/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">{{entry.title}}.</a> |
| 72 | + {% endif %} |
| 73 | + {% elsif entry.url %} |
| 74 | + <a href="{{ entry.url }}" target="_blank">{{entry.title}}.</a> |
| 75 | + {% else %} |
| 76 | + {{entry.title}}. |
| 77 | + {% endif %} |
| 78 | + </div> |
52 | 79 | <!-- Author --> |
53 | 80 | <div class="author"> |
54 | 81 | {% assign author_array_size = entry.author_array | size %} |
|
156 | 183 | {% elsif proceedings contains entry.type %} |
157 | 184 | {% capture entrytype %}<em>In {{ entry.booktitle }}</em>{% endcapture %} |
158 | 185 | {% elsif thesis contains entry.type %} |
159 | | - {% capture entrytype %}<em>{{ entry.school }}</em>{% endcapture %} |
| 186 | + {% capture entrytype %}<em>{{ entry.school }}</em>{% endcapture %} |
| 187 | + {% elsif entry.type contains "patent" %} |
| 188 | + {% if entry.month %} |
| 189 | + {% capture entrytype %}<em>{{entry.number}}</em>, <em>{{entry.month}}</em>, <em>{{entry.yeargranted}}</em>{% endcapture %} |
| 190 | + {% else %} |
| 191 | + {% capture entrytype %}<em>{{entry.number}}</em>, <em>{{entry.monthfiled}}</em>, <em>{{entry.yearfiled}}</em>{% endcapture %} |
| 192 | + {% endif %} |
160 | 193 | {% else %} |
161 | 194 | {% capture entrytype %}{% endcapture %} |
162 | 195 | {% endif %} |
|
189 | 222 | <div class="links"> |
190 | 223 | {% if entry.award %} |
191 | 224 | <a class="award btn btn-sm z-depth-0" role="button"> |
192 | | - {%- if entry.award_name %}{{ entry.award_name }}{% else %}Awarded{% endif -%} |
| 225 | + <span style="color:DarkOrange; font-weight: bold;"><i class="fas fa-trophy"></i> {%- if entry.award_name %}{{ entry.award_name }}{% else %}Awarded{% endif -%}</span> |
193 | 226 | </a> |
| 227 | + <br> |
194 | 228 | {% endif %} |
195 | 229 | {% if entry.abstract %} |
196 | | - <a class="abstract btn btn-sm z-depth-0" role="button">Abs</a> |
| 230 | + <a class="abstract btn btn-sm z-depth-0" role="button"><i class="fas fa-filter"></i> Abs</a> |
197 | 231 | {% endif %} |
198 | 232 | {% if entry.doi %} |
199 | | - <a href="https://doi.org/{{ entry.doi }}" class="btn btn-sm z-depth-0" role="button">DOI</a> |
| 233 | + <a href="https://doi.org/{{ entry.doi }}" class="btn btn-sm z-depth-0" role="button"><i class="fa-solid fa-location-pin"></i> DOI</a> |
200 | 234 | {% endif %} |
201 | 235 | {% if entry.arxiv %} |
202 | | - <a href="http://arxiv.org/abs/{{ entry.arxiv }}" class="btn btn-sm z-depth-0" role="button">arXiv</a> |
| 236 | + <a href="http://arxiv.org/abs/{{ entry.arxiv }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-bookmark"></i> arXiv</a> |
203 | 237 | {% endif %} |
204 | 238 | {% if entry.bibtex_show %} |
205 | 239 | <a class="bibtex btn btn-sm z-depth-0" role="button">Bib</a> |
206 | 240 | {% endif %} |
207 | 241 | {% if entry.html %} |
208 | 242 | {% if entry.html contains '://' %} |
209 | | - <a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button">HTML</a> |
| 243 | + <a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-link"></i> url</a> |
210 | 244 | {% else %} |
211 | | - <a href="{{ entry.html | prepend: '/assets/html/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">HTML</a> |
| 245 | + <a href="{{ entry.html | prepend: '/assets/html/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-link"></i> url</a> |
212 | 246 | {% endif %} |
213 | 247 | {% endif %} |
214 | 248 | {% if entry.pdf %} |
215 | 249 | {% if entry.pdf contains '://' %} |
216 | | - <a href="{{ entry.pdf }}" class="btn btn-sm z-depth-0" role="button">PDF</a> |
| 250 | + <a href="{{ entry.pdf }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> PDF</a> |
217 | 251 | {% else %} |
218 | | - <a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">PDF</a> |
| 252 | + <a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> PDF</a> |
219 | 253 | {% endif %} |
220 | 254 | {% endif %} |
221 | 255 | {% if entry.supp %} |
222 | 256 | {% if entry.supp contains '://' %} |
223 | | - <a href="{{ entry.supp }}" class="btn btn-sm z-depth-0" role="button">Supp</a> |
| 257 | + <a href="{{ entry.supp }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> Supp</a> |
224 | 258 | {% else %} |
225 | | - <a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Supp</a> |
| 259 | + <a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> Supp</a> |
226 | 260 | {% endif %} |
227 | 261 | {% endif %} |
228 | 262 | {% if entry.video and site.enable_video_embedding %} |
229 | | - <a class="abstract btn btn-sm z-depth-0" role="button">Video</a> |
| 263 | + <a class="abstract btn btn-sm z-depth-0" role="button"><i class="fas fa-video"></i> Video</a> |
230 | 264 | {% elsif entry.video %} |
231 | | - <a href="{{ entry.video }}" class="btn btn-sm z-depth-0" role="button">Video</a> |
| 265 | + {% comment %} <a href="{{ entry.video }}" class="btn btn-sm z-depth-0" role="button">Video</a> {% endcomment %} |
| 266 | + <a class="venobox btn btn-sm z-depth-0" data-autoplay="true" data-vbtype="video" href="{{ entry.video }}"><i class="fas fa-video"></i> Video</a> |
232 | 267 | {% endif %} |
233 | 268 | {% if entry.blog %} |
234 | | - <a href="{{ entry.blog }}" class="btn btn-sm z-depth-0" role="button">Blog</a> |
| 269 | + <a href="{{ entry.blog }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-newspaper"></i> Blog</a> |
235 | 270 | {% endif %} |
236 | 271 | {% if entry.code %} |
237 | | - <a href="{{ entry.code }}" class="btn btn-sm z-depth-0" role="button">Code</a> |
| 272 | + <a href="{{ entry.code }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-code"></i> Code</a> |
238 | 273 | {% endif %} |
239 | 274 | {% if entry.poster %} |
240 | 275 | {% if entry.poster contains '://' %} |
241 | | - <a href="{{ entry.poster }}" class="btn btn-sm z-depth-0" role="button">Poster</a> |
| 276 | + <a href="{{ entry.poster }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-tv"></i> Poster</a> |
242 | 277 | {% else %} |
243 | | - <a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Poster</a> |
| 278 | + <a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-tv"></i> Poster</a> |
244 | 279 | {% endif %} |
245 | 280 | {% endif %} |
246 | 281 | {% if entry.slides %} |
247 | 282 | {% if entry.slides contains '://' %} |
248 | | - <a href="{{ entry.slides }}" class="btn btn-sm z-depth-0" role="button">Slides</a> |
| 283 | + <a href="{{ entry.slides }}" class="btn btn-sm z-depth-0" role="button"><i class="fa-regular fa-file-powerpoint"></i> Slides</a> |
249 | 284 | {% else %} |
250 | | - <a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Slides</a> |
| 285 | + <a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fa-regular fa-file-powerpoint"></i> Slides</a> |
251 | 286 | {% endif %} |
252 | 287 | {% endif %} |
253 | 288 | {% if entry.website %} |
254 | | - <a href="{{ entry.website }}" class="btn btn-sm z-depth-0" role="button">Website</a> |
| 289 | + <a href="{{ entry.website }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-globe"></i> Website</a> |
255 | 290 | {% endif %} |
256 | 291 | </div> |
257 | 292 | {% if site.enable_publication_badges %} |
|
0 commit comments