|
1 | 1 | ---
|
2 | 2 | ---
|
3 | 3 |
|
4 |
| -{% if entry.abbr %} |
5 |
| - {% if site.data.venues[entry.abbr] %} |
6 |
| - <abbr>[<a href="{{site.data.venues[entry.abbr].url}}" target="_blank">{{entry.abbr}}</a>]</abbr> |
7 |
| - {% else %} |
8 |
| - <abbr>[{{entry.abbr}}]</abbr> |
| 4 | +<div class="row"> |
| 5 | + <div class="col-sm-2 abbr"> |
| 6 | + {% if entry.abbr %} |
| 7 | + {% if site.data.venues[entry.abbr] %} |
| 8 | + <abbr class="badge"><a href="{{site.data.venues[entry.abbr].url}}" target="_blank">{{entry.abbr}}</a></abbr> |
| 9 | + {% else %} |
| 10 | + <abbr class="badge">{{entry.abbr}}</abbr> |
| 11 | + {% endif %} |
9 | 12 | {% endif %}
|
10 |
| -{% endif %} |
| 13 | + </div> |
11 | 14 |
|
12 |
| -<div id="{{entry.key}}"> |
13 |
| - {% if entry.type == "thesis" %} |
14 |
| - {{reference}} |
15 |
| - {% else %} |
16 |
| - <span class="title">{{entry.title}}</span> |
17 |
| - <span class="author"> |
18 |
| - {% for author in entry.author_array %} |
19 |
| - {% if forloop.length == 1 %} |
20 |
| - {% if author.last == site.scholar.last_name %} |
21 |
| - <em>{{author.last}}, {{author.first}}</em> |
22 |
| - {% else %} |
23 |
| - {{author.last}}, {{author.first}} |
24 |
| - {% endif %} |
25 |
| - {% else %} |
26 |
| - {% unless forloop.last %} |
| 15 | + <div id="{{entry.key}}" class="col-sm-8"> |
| 16 | + {% if entry.type == "thesis" %} |
| 17 | + {{reference}} |
| 18 | + {% else %} |
| 19 | + <span class="title">{{entry.title}}</span> |
| 20 | + <span class="author"> |
| 21 | + {% for author in entry.author_array %} |
| 22 | + {% if forloop.length == 1 %} |
27 | 23 | {% if author.last == site.scholar.last_name %}
|
28 |
| - <em>{{author.last}}, {{author.first}}</em>, |
| 24 | + <em>{{author.last}}, {{author.first}}</em> |
29 | 25 | {% else %}
|
30 |
| - {% if site.data.coauthors[author.last] %} |
31 |
| - <a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a>, |
32 |
| - {% else %} |
33 |
| - {{author.last}}, {{author.first}}, |
34 |
| - {% endif %} |
| 26 | + {{author.last}}, {{author.first}} |
35 | 27 | {% endif %}
|
36 | 28 | {% else %}
|
37 |
| - {% if author.last == site.scholar.last_name %} |
38 |
| - and <em>{{author.last}}, {{author.first}}</em> |
| 29 | + {% unless forloop.last %} |
| 30 | + {% if author.last == site.scholar.last_name %} |
| 31 | + <em>{{author.last}}, {{author.first}}</em>, |
| 32 | + {% else %} |
| 33 | + {% if site.data.coauthors[author.last] %} |
| 34 | + <a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a>, |
| 35 | + {% else %} |
| 36 | + {{author.last}}, {{author.first}}, |
| 37 | + {% endif %} |
| 38 | + {% endif %} |
39 | 39 | {% else %}
|
40 |
| - {% if site.data.coauthors[author.last] %} |
41 |
| - and <a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a> |
| 40 | + {% if author.last == site.scholar.last_name %} |
| 41 | + and <em>{{author.last}}, {{author.first}}</em> |
42 | 42 | {% else %}
|
43 |
| - and {{author.last}}, {{author.first}} |
| 43 | + {% if site.data.coauthors[author.last] %} |
| 44 | + and <a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a> |
| 45 | + {% else %} |
| 46 | + and {{author.last}}, {{author.first}} |
| 47 | + {% endif %} |
44 | 48 | {% endif %}
|
45 |
| - {% endif %} |
46 |
| - {% endunless %} |
47 |
| - {% endif %} |
48 |
| - {% endfor %} |
49 |
| - </span> |
| 49 | + {% endunless %} |
| 50 | + {% endif %} |
| 51 | + {% endfor %} |
| 52 | + </span> |
| 53 | + |
| 54 | + <span class="periodical"> |
| 55 | + {% if entry.type == "article" %} |
| 56 | + <em>{{entry.journal}}</em> |
| 57 | + {% elsif entry.type == "inproceedings" %} |
| 58 | + <em>In {{entry.booktitle}}</em> |
| 59 | + {% endif %} |
| 60 | + {% if entry.year %} |
| 61 | + {{entry.year}} |
| 62 | + {% endif %} |
| 63 | + </span> |
| 64 | + {% endif %} |
50 | 65 |
|
51 |
| - <span class="periodical"> |
52 |
| - {% if entry.type == "article" %} |
53 |
| - <em>{{entry.journal}}</em> |
54 |
| - {% elsif entry.type == "inproceedings" %} |
55 |
| - <em>In {{entry.booktitle}}</em> |
| 66 | + <span class="links"> |
| 67 | + {% if entry.abstract %} |
| 68 | + [<a class="abstract">Abs</a>] |
| 69 | + {% endif %} |
| 70 | + {% if entry.arxiv %} |
| 71 | + [<a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">arXiv</a>] |
| 72 | + {% endif %} |
| 73 | + {% if entry.html %} |
| 74 | + [<a href="{{ entry.html }}" target="_blank">HTML</a>] |
| 75 | + {% endif %} |
| 76 | + {% if entry.pdf %} |
| 77 | + [<a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" target="_blank">PDF</a>] |
56 | 78 | {% endif %}
|
57 |
| - {% if entry.year %} |
58 |
| - {{entry.year}} |
| 79 | + {% if entry.supp %} |
| 80 | + [<a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Supp</a>] |
| 81 | + {% endif %} |
| 82 | + {% if entry.poster %} |
| 83 | + [<a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Poster</a>] |
| 84 | + {% endif %} |
| 85 | + {% if entry.slides %} |
| 86 | + [<a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Slides</a>] |
| 87 | + {% endif %} |
| 88 | + {% if entry.code %} |
| 89 | + [<a href="{{ entry.code }}" target="_blank">Code</a>] |
59 | 90 | {% endif %}
|
60 | 91 | </span>
|
61 |
| - {% endif %} |
62 |
| - |
63 |
| - <span class="links"> |
64 |
| - {% if entry.abstract %} |
65 |
| - [<a class="abstract">Abs</a>] |
66 |
| - {% endif %} |
67 |
| - {% if entry.arxiv %} |
68 |
| - [<a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">arXiv</a>] |
69 |
| - {% endif %} |
70 |
| - {% if entry.html %} |
71 |
| - [<a href="{{ entry.html }}" target="_blank">HTML</a>] |
72 |
| - {% endif %} |
73 |
| - {% if entry.pdf %} |
74 |
| - [<a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" target="_blank">PDF</a>] |
75 |
| - {% endif %} |
76 |
| - {% if entry.supp %} |
77 |
| - [<a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Supp</a>] |
78 |
| - {% endif %} |
79 |
| - {% if entry.poster %} |
80 |
| - [<a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Poster</a>] |
81 |
| - {% endif %} |
82 |
| - {% if entry.slides %} |
83 |
| - [<a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" target="_blank">Slides</a>] |
84 |
| - {% endif %} |
85 |
| - {% if entry.code %} |
86 |
| - [<a href="{{ entry.code }}" target="_blank">Code</a>] |
87 |
| - {% endif %} |
88 |
| - </span> |
89 | 92 |
|
90 |
| - <!-- Hidden abstract block --> |
91 |
| - {% if entry.abstract %} |
92 |
| - <span class="abstract hidden"> |
93 |
| - <p>{{ entry.abstract }}</p> |
94 |
| - </span> |
95 |
| - {% endif %} |
| 93 | + <!-- Hidden abstract block --> |
| 94 | + {% if entry.abstract %} |
| 95 | + <span class="abstract hidden"> |
| 96 | + <p>{{ entry.abstract }}</p> |
| 97 | + </span> |
| 98 | + {% endif %} |
| 99 | + </div> |
96 | 100 | </div>
|
0 commit comments