]> git.drewedgar.com - website.git/blob - src/_includes/components/cv/publications.liquid
CHORE: Added eleventy to npm package cache
[website.git] / src / _includes / components / cv / publications.liquid
1 <section>
2   <h2>Publications</h2>
3   {%- for publication in cv.publications %}
4     <section>
5       <header>
6         <h3>
7           {{ publication.name }}
8           {%- if publication.url %} • <a class="expandLink" href="{{ publication.url }}" target="_blank" rel="noopener noreferrer" title="View publication: {{ publication.name }}">
9           <span>PDF</span>
10           </a>
11           {%- endif -%}
12         </h3>
13         <span>
14           {% for author in publication.authors %}
15             {% if author == "Drew Edgar" %}
16               <span class="author">{{ author }}</span>{% unless forloop.last %}, {% endunless %}
17             {% else %}
18               {{ author }}{% unless forloop.last %}, {% endunless %}
19             {% endif %}
20           {% endfor %}
21         </span>
22         <span>
23
24           {%- if publication.publisher -%}
25           {{ publication.publisher }}
26           {%- endif %}
27           {%- if publication.publisherNote -%}
28           <span class="publisherNote">
29             ({{ publication.publisherNote }})
30           </span>
31           {%- endif %}
32
33           {%- if publication.noteLink %} • 
34           <a class="noteLink publisherNote" href="{{ publication.noteLink }}" target="_blank" rel="noopener noreferrer" title="View publication: {{ publication.name }}">
35           <span>Link<span>
36           </a>
37           {%- endif -%}
38
39         </span>
40         <span class="publicationStatus">
41           {%- if publication.status -%}
42           {{ publication.status }}
43           {%- endif %}
44         </span>
45       </header>
46     </section>
47
48   {%- endfor %}
49 </section>