Combining files

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-09-15 18:48:53 +04:00
parent 4193b3c911
commit e2d720bead
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 15 deletions

View File

@ -13,7 +13,11 @@
{% endfor %}
<!-- Open Graph -->
{% include opengraph.html %}
<meta property="og:title" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<meta property="og:description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 | xml_escape }}" />
<meta property="og:type" content="{{ page.layout | replace: 'post', 'article' | replace: 'page', 'website' | default: 'website' }}" />
<meta property="og:image" content="{{ page.image | absolute_url | uri_escape }}" />
<meta property="og:url" content="{{ page.url | absolute_url | uri_escape }}" />
<!-- Title / Description -->
<meta name="application-name" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />

View File

@ -1,14 +0,0 @@
<meta property="og:title"
content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<meta property="og:description"
content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 | xml_escape }}" />
<meta property="og:type"
content="{{ page.layout | replace: 'post', 'article' | replace: 'page', 'website' | default: 'website' }}" />
<meta property="og:image"
content="{{ page.image | absolute_url | uri_escape }}" />
<meta property="og:url"
content="{{ page.url | absolute_url | uri_escape }}" />