From e2c06d2681e18946ab6c3e3e6075aed92a4d13be Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 3 Oct 2021 00:35:46 -0500 Subject: Change to al-folio theme Theme at: https://github.com/alshedivat/al-folio --- _layouts/bib.html | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 _layouts/bib.html (limited to '_layouts/bib.html') diff --git a/_layouts/bib.html b/_layouts/bib.html new file mode 100644 index 0000000..2d00989 --- /dev/null +++ b/_layouts/bib.html @@ -0,0 +1,148 @@ +--- +--- + +
+
+ {% if entry.abbr %} + {% if site.data.venues[entry.abbr] %} + {{entry.abbr}} + {% else %} + {{entry.abbr}} + {% endif %} + {% endif %} +
+ +
+ {% if entry.type == "thesis" %} + {{reference}} + {% else %} +
{{entry.title}}
+
+ {% for author in entry.author_array %} + {% 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.last}}, {{author.first}} + {% else %} + {{author.last}}, {{author.first}} + {% endif %} + {% else %} + {% unless forloop.last %} + {% if author_is_self %} + {{author.last}}, {{author.first}}, + {% else %} + {% if coauthor_url %} + {{author.last}}, {{author.first}}, + {% else %} + {{author.last}}, {{author.first}}, + {% endif %} + {% endif %} + {% else %} + {% if author_is_self %} + and {{author.last}}, {{author.first}} + {% else %} + {% if coauthor_url %} + and {{author.last}}, {{author.first}} + {% else %} + and {{author.last}}, {{author.first}} + {% endif %} + {% endif %} + {% endunless %} + {% endif %} + {% endfor %} +
+ +
+ {% if entry.type == "article" %} + {{entry.journal}} + {% elsif entry.type == "inproceedings" %} + In {{entry.booktitle}} + {% endif %} + {% if entry.year %} + {{entry.year}} + {% endif %} +
+ {% endif %} + + + + + {% if entry.abstract %} + + {% endif %} + + + {% if entry.bibtex_show %} + + {% endif %} +
+
-- cgit v1.2.3