use SITESUBTITLE in base.html if set

This commit is contained in:
pajowu 2016-02-06 19:19:49 +02:00
parent d6618f16b2
commit f395a646f0

View File

@ -82,7 +82,11 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@{{ TWITTER_HANDLE }}" />
<meta name="twitter:title" content="{{ SITENAME }}" />
<meta name="twitter:description" content="View the blog." />
{% if SITESUBTITLE %}
<meta name="twitter:description" content="{{ SITESUBTITLE }}" />
{% else %}
<meta name="twitter:description" content="View the blog." />
{% endif %}
{% if HEADER_COVER %}
<meta name="twitter:image" content="{{ SITEURL }}/{{ HEADER_COVER }}">
{% else %}