use SITESUBTITLE in base.html if set
This commit is contained in:
parent
d6618f16b2
commit
f395a646f0
@ -82,7 +82,11 @@
|
|||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
<meta name="twitter:site" content="@{{ TWITTER_HANDLE }}" />
|
<meta name="twitter:site" content="@{{ TWITTER_HANDLE }}" />
|
||||||
<meta name="twitter:title" content="{{ SITENAME }}" />
|
<meta name="twitter:title" content="{{ SITENAME }}" />
|
||||||
|
{% if SITESUBTITLE %}
|
||||||
|
<meta name="twitter:description" content="{{ SITESUBTITLE }}" />
|
||||||
|
{% else %}
|
||||||
<meta name="twitter:description" content="View the blog." />
|
<meta name="twitter:description" content="View the blog." />
|
||||||
|
{% endif %}
|
||||||
{% if HEADER_COVER %}
|
{% if HEADER_COVER %}
|
||||||
<meta name="twitter:image" content="{{ SITEURL }}/{{ HEADER_COVER }}">
|
<meta name="twitter:image" content="{{ SITEURL }}/{{ HEADER_COVER }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user