diff --git a/templates/_article_footer.html b/templates/_article_footer.html new file mode 100644 index 0000000..4f42c91 --- /dev/null +++ b/templates/_article_footer.html @@ -0,0 +1,14 @@ +{# Items to include at the bottom of a single article #} +{# PDF links #} +{% if PDF_PROCESSOR %} + PDF +{% endif %} +{# Copyright notice and link #} +{% if COPYRIGHTS and (COPYRIGHT_ARTICLE or article.copyright) %} + {{ COPYRIGHTS[article.copyright|default(DEFAULT_COPYRIGHT)][0] }} +{% endif %} +{# Comments #} +{% if ( article.comments == True or ( article.comments is not defined and COMMENTS_ARTICLE == True ) ) and DISQUS_SN %} + {% include '_disqus.html' %} +{% endif %} + diff --git a/templates/disqus.html b/templates/_disqus.html similarity index 92% rename from templates/disqus.html rename to templates/_disqus.html index c4a7670..20b44b0 100644 --- a/templates/disqus.html +++ b/templates/_disqus.html @@ -2,7 +2,6 @@
+ + diff --git a/templates/gosquared.html b/templates/_gosquared.html similarity index 89% rename from templates/gosquared.html rename to templates/_gosquared.html index ec46bdb..47e5909 100644 --- a/templates/gosquared.html +++ b/templates/_gosquared.html @@ -1,7 +1,7 @@