mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Stripped tags from descriptions in meta tags, OG_IMAGE now refers to absolute URL
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<meta name="author" content="{{ AUTHOR }}">
|
||||
<meta name="copyright" content="{{ AUTHOR }}">
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="{{ TWITTER_USERNAME }}" />
|
||||
<meta name="twitter:site" content="@{{ TWITTER_USERNAME }}" />
|
||||
<meta property="og:site_name" content="{{ SITENAME }}" />
|
||||
{% block seo %}
|
||||
<meta property="og:title" content="{{ SITENAME }}" />
|
||||
@@ -25,9 +25,9 @@
|
||||
<meta name="twitter:description" content="{{ DESCRIPTION }}" />
|
||||
{% endif %}
|
||||
{% if OG_IMAGE %}
|
||||
<meta property="og:image" content="{{ SITEURL }}/static/{{ OG_IMAGE }}" />
|
||||
<meta property="og:image" content="{{ OG_IMAGE }}" />
|
||||
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" />
|
||||
<meta name="twitter:image" content="{{ SITEURL }}/static/{{ OG_IMAGE }}" />
|
||||
<meta name="twitter:image" content="{{ OG_IMAGE }}" />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed"/>
|
||||
|
Reference in New Issue
Block a user