diff --git a/templates/article.html b/templates/article.html index ee25342..c0ec6d5 100644 --- a/templates/article.html +++ b/templates/article.html @@ -5,6 +5,12 @@ {% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} {% block head %} +{% if article.status == "hidden" %} + + + +{% endif %} + {{ super() }} {% import 'translations.html' as translations with context %} {% if translations.entry_hreflang(article) %} diff --git a/templates/page.html b/templates/page.html index ddda214..74b2f93 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,6 +4,12 @@ {% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%} {% block head %} +{% if page.status == "hidden" %} + + + +{% endif %} + {{ super() }} {% import 'translations.html' as translations with context %}