Make it possible to use SITESUBTITLE in the <title> HTML tag
This commit is contained in:
parent
517529f633
commit
dcccb0ba79
@ -85,6 +85,8 @@ Accept many analytics:
|
|||||||
|
|
||||||
- Set ``SHOW_FULL_ARTICLE`` to True to show full article content on index.html
|
- Set ``SHOW_FULL_ARTICLE`` to True to show full article content on index.html
|
||||||
instead of summary;
|
instead of summary;
|
||||||
|
- Set ``SHOW_SITESUBTITLE_IN_HTML`` to True to make use of the ``SITESUBTITLE``
|
||||||
|
variable inside the <title> HTML tag;
|
||||||
|
|
||||||
### Articles
|
### Articles
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<meta name="google-site-verification" content="{{ GOOGLE_SITE_VERIFICATION }}">
|
<meta name="google-site-verification" content="{{ GOOGLE_SITE_VERIFICATION }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
<title>{% block title %}{{ SITENAME }}{% if SITESUBTITLE and SHOW_SITESUBTITLE_IN_HTML %} - {{ SITESUBTITLE }}{% endif %}{% endblock title %}</title>
|
||||||
|
|
||||||
{% if FEED_ALL_ATOM %}
|
{% if FEED_ALL_ATOM %}
|
||||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
||||||
|
Loading…
Reference in New Issue
Block a user