Merge pull request #23 from MrSenko/sitesubtitle_in_title
Show SITESUBTITLE in <title>
This commit is contained in:
commit
f26dd2b92f
@ -93,6 +93,8 @@ Accept many analytics:
|
|||||||
- ``GOOGLE_SITE_VERIFICATION`` - Google site verification token;
|
- ``GOOGLE_SITE_VERIFICATION`` - Google site verification token;
|
||||||
- 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