+ {% if entry.type == "thesis" -%}
+ {{reference}}
+ {%- else %}
+
+
{{entry.title}}
+
+
+ {% assign author_array_size = entry.author_array | size %}
- {%- if site.max_author_limit and author_array_size > site.max_author_limit %}
- {% assign author_array_limit = site.max_author_limit %}
- {% else %}
- {% assign author_array_limit = author_array_size %}
- {% endif %}
+ {%- if site.max_author_limit and author_array_size > site.max_author_limit %}
+ {% assign author_array_limit = site.max_author_limit %}
+ {% else %}
+ {% assign author_array_limit = author_array_size %}
+ {% endif %}
- {%- for author in entry.author_array limit: author_array_limit -%}
- {%- assign author_is_self = false -%}
- {%- if author.last == site.scholar.last_name %}
- {%- if site.scholar.first_name contains author.first -%}
- {%- assign author_is_self = true -%}
- {%- endif -%}
- {%- endif -%}
- {%- assign coauthor_url = nil -%}
- {%- if site.data.coauthors[author.last] -%}
- {%- for coauthor in site.data.coauthors[author.last] -%}
- {%- if coauthor.firstname contains author.first -%}
- {%- assign coauthor_url = coauthor.url -%}
- {%- break -%}
- {%- endif -%}
- {%- endfor -%}
- {%- endif -%}
-
- {%- if forloop.length == 1 -%}
- {%- if author_is_self %}
-
{{author.first}} {{author.last}},
- {%- else -%}
- {{author.first}} {{author.last}},
- {%- endif -%}
- {%- else -%}
- {%- unless forloop.last -%}
- {% if author_is_self %}
-
{{author.first}} {{author.last}}, ,
- {%- else -%}
- {% if coauthor_url -%}
-
{{author.first}} {{author.last}},,
- {%- else -%}
- {{author.first}} {{author.last}},
- {%- endif -%}
- {%- endif -%}
- {%- else -%}
- {%- if author_array_limit == author_array_size %}and {% endif %}
- {% if author_is_self -%}
-
{{author.first}} {{author.last}},
- {% else -%}
- {%- if coauthor_url -%}
-
{{author.first}} {{author.last}},
- {% else -%}
- {{author.first}} {{author.last}},
- {%- endif -%}
- {%- endif -%}
- {%- endunless -%}
- {%- endif -%}
- {%- endfor %}
+ {%- for author in entry.author_array limit: author_array_limit -%}
+ {%- assign author_is_self = false -%}
+ {%- if author.last == site.scholar.last_name %}
+ {%- if site.scholar.first_name contains author.first -%}
+ {%- assign author_is_self = true -%}
+ {%- endif -%}
+ {%- endif -%}
+ {%- assign coauthor_url = nil -%}
+ {%- if site.data.coauthors[author.last] -%}
+ {%- for coauthor in site.data.coauthors[author.last] -%}
+ {%- if coauthor.firstname contains author.first -%}
+ {%- assign coauthor_url = coauthor.url -%}
+ {%- break -%}
+ {%- endif -%}
+ {%- endfor -%}
+ {%- endif -%}
- {% assign more_authors = author_array_size | minus: author_array_limit %}
+ {%- if forloop.length == 1 -%}
+ {%- if author_is_self %}
+
{{author.first}} {{author.last}},
+ {%- else -%}
+ {{author.first}} {{author.last}},
+ {%- endif -%}
+ {%- else -%}
+ {%- unless forloop.last -%}
+ {% if author_is_self %}
+
{{author.first}} {{author.last}}, ,
+ {%- else -%}
+ {% if coauthor_url -%}
+
{{author.first}} {{author.last}},,
+ {%- else -%}
+ {{author.first}} {{author.last}},
+ {%- endif -%}
+ {%- endif -%}
+ {%- else -%}
+ {%- if author_array_limit == author_array_size %}and {% endif %}
+ {% if author_is_self -%}
+
{{author.first}} {{author.last}},
+ {% else -%}
+ {%- if coauthor_url -%}
+
{{author.first}} {{author.last}},
+ {% else -%}
+ {{author.first}} {{author.last}},
+ {%- endif -%}
+ {%- endif -%}
+ {%- endunless -%}
+ {%- endif -%}
+ {%- endfor %}
- {%- if more_authors > 0 %}
- {% assign more_authors_hide = more_authors | append: " more author" %}
- {% if more_authors > 1 %}
- {% assign more_authors_hide = more_authors_hide | append: "s" %}
- {% endif %}
- {% assign more_authors_show = '' %}
- {%- for author in entry.author_array offset: author_array_limit -%}
- {% assign more_authors_show = more_authors_show | append: author.first | append: " " | append: author.last %}
- {% unless forloop.last %}
- {% assign more_authors_show = more_authors_show | append: ", " %}
- {% endunless %}
- {%- endfor -%}
- and
-
1 %}
+ {% assign more_authors_hide = more_authors_hide | append: "s" %}
+ {% endif %}
+ {% assign more_authors_show = '' %}
+ {%- for author in entry.author_array offset: author_array_limit -%}
+ {% assign more_authors_show = more_authors_show | append: author.first | append: " " | append: author.last %}
+ {% unless forloop.last %}
+ {% assign more_authors_show = more_authors_show | append: ", " %}
+ {% endunless %}
+ {%- endfor -%}
+ and
+ {{more_authors_hide}}
- {% endif %}
+ ">{{more_authors_hide}}
+ {% endif %}
+
+
+
+
+ {% if entry.type == "article" -%}
+ {%- capture entrytype -%}
{{entry.journal}}{%- endcapture -%}
+ {%- elsif entry.type == "inproceedings" -%}
+ {%- capture entrytype -%}
In {{entry.booktitle}} {%- endcapture -%}
+ {%- else -%}
+ {%- capture entrytype -%}{%- endcapture -%}
+ {%- endif -%}
+ {%- if entry.month -%}
+ {%- capture entrymonth -%}{{ " " }}{{ entry.month | capitalize }}{%- endcapture -%}
+ {%- endif -%}
+ {%- if entry.year -%}
+ {%- capture entryyear -%}{{ " " }}{{entry.year}}{%- endcapture -%}
+ {%- endif -%}
+ {%- capture periodical -%}{{ entrytype }}{{ entrymonth }}{{ entryyear }}{%- endcapture -%}
+
+ {{ periodical | strip }}
+
+ {%- endif %}
-
+ {% if entry.award %}
+
{{ entry.award_name ? entry.award_name : "Awarded" }}
+ {% endif %}
+ {%- if entry.abstract %}
+
Abs
+ {%- endif %}
+ {%- if entry.arxiv %}
+
arXiv
+ {%- endif %}
+ {%- if entry.bibtex_show %}
+
Bib
+ {%- endif %}
+ {%- if entry.html %}
+
HTML
+ {%- endif %}
+ {%- if entry.pdf %}
+ {% if entry.pdf contains '://' -%}
+
PDF
+ {%- else -%}
+
PDF
+ {%- endif %}
+ {%- endif %}
+ {%- if entry.supp %}
+ {% if entry.supp contains '://' -%}
+
Supp
+ {%- else -%}
+
Supp
+ {%- endif %}
+ {%- endif %}
+ {%- if entry.blog %}
+
Blog
+ {%- endif %}
+ {%- if entry.code %}
+
Code
+ {%- endif %}
+ {%- if entry.poster %}
+ {% if entry.poster contains '://' -%}
+
Poster
+ {%- else -%}
+
Poster
+ {%- endif %}
+ {%- endif %}
+ {%- if entry.slides %}
+ {% if entry.slides contains '://' -%}
+
Slides
+ {%- else -%}
+
Slides
+ {%- endif %}
+ {%- endif %}
+ {%- if entry.website %}
+
Website
+ {%- endif %}
+
-
- {% if entry.type == "article" -%}
- {%- capture entrytype -%}
{%- endcapture -%}
- {%- elsif entry.type == "inproceedings" -%}
- {%- capture entrytype -%}
{%- endcapture -%}
- {%- else -%}
- {%- capture entrytype -%}{%- endcapture -%}
- {%- endif -%}
- {%- if entry.month -%}
- {%- capture entrymonth -%}{{ " " }}{{ entry.month | capitalize }}{%- endcapture -%}
- {%- endif -%}
- {%- if entry.year -%}
- {%- capture entryyear -%}{{ " " }}{{entry.year}}{%- endcapture -%}
- {%- endif -%}
- {%- capture periodical -%}{{ entrytype }}{{ entrymonth }}{{ entryyear }}{%- endcapture -%}
-
- {%- if entry.abstract %}
-
Abs
- {%- endif %}
- {%- if entry.arxiv %}
-
arXiv
- {%- endif %}
- {%- if entry.bibtex_show %}
-
Bib
- {%- endif %}
- {%- if entry.html %}
-
HTML
- {%- endif %}
- {%- if entry.pdf %}
- {% if entry.pdf contains '://' -%}
-
PDF
- {%- else -%}
-
PDF
- {%- endif %}
- {%- endif %}
- {%- if entry.supp %}
- {% if entry.supp contains '://' -%}
-
Supp
- {%- else -%}
-
Supp
- {%- endif %}
- {%- endif %}
- {%- if entry.blog %}
-
Blog
- {%- endif %}
- {%- if entry.code %}
-
Code
- {%- endif %}
- {%- if entry.poster %}
- {% if entry.poster contains '://' -%}
-
Poster
- {%- else -%}
-
Poster
- {%- endif %}
- {%- endif %}
- {%- if entry.slides %}
- {% if entry.slides contains '://' -%}
-
Slides
- {%- else -%}
-
Slides
- {%- endif %}
- {%- endif %}
- {%- if entry.website %}
-
Website
- {%- endif %}
-
+ {%- endif -%}
- {% if entry.bibtex_show -%}
-
-
- {% highlight bibtex %}{{ entry.bibtex | hideCustomBibtex }}{% endhighlight %}
-