diff --git a/_includes/citation-page.html b/_includes/citation-page.html new file mode 100644 index 0000000..8cd87dc --- /dev/null +++ b/_includes/citation-page.html @@ -0,0 +1,19 @@ +{% if page.page_citation and page.title %} +
+ {% if page.contributors %} + {{ page.contributors | join: ", " }}, + {% endif %} + "{{ page.title }}". + {% if site.url %} + {{ site.url | remove: "https://www." | remove: "http://www." | remove: "https://" | remove: "http://" }}. + {% endif %} + {% assign page_url = page.url | absolute_url %} + {{ page_url }} . +
+ +{% endif %} + diff --git a/_layouts/page.html b/_layouts/page.html index c627a07..315d8dd 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -34,6 +34,7 @@