diff --git a/README.md b/README.md index 801ca3d..385382b 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,8 @@ Accept many analytics: - 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 %}