diff --git a/README.md b/README.md index ce35302..b367010 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,8 @@ Accept many analytics: - ``GOOGLE_SITE_VERIFICATION`` - Google site verification token; - Set ``SHOW_FULL_ARTICLE`` to True to show full article content on index.html instead of summary; + - Set ``SHOW_SITESUBTITLE_IN_HTML`` to True to make use of the ``SITESUBTITLE`` + variable inside the HTML tag; ### Articles diff --git a/templates/base.html b/templates/base.html index 112c928..d366ec6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,7 +13,7 @@ <meta name="google-site-verification" content="{{ GOOGLE_SITE_VERIFICATION }}"> {% endif %} - <title>{% block title %}{{ SITENAME }}{% endblock title %} + {% block title %}{{ SITENAME }}{% if SITESUBTITLE and SHOW_SITESUBTITLE_IN_HTML %} - {{ SITESUBTITLE }}{% endif %}{% endblock title %} {% if FEED_ALL_ATOM %}