diff options
author | Valentin Popov <info@valentineus.link> | 2018-09-15 17:48:53 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-09-15 17:48:53 +0300 |
commit | e2d720bead55e69588f188463361909754f74346 (patch) | |
tree | 62320c690ae042ae49d3f7f4170c5e591ea50dd1 /_includes/head.html | |
parent | 4193b3c9116afc20c428f8e0da8a876efad3d9ee (diff) | |
download | popov.link-e2d720bead55e69588f188463361909754f74346.tar.xz popov.link-e2d720bead55e69588f188463361909754f74346.zip |
Combining files
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/head.html')
-rw-r--r-- | _includes/head.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html index cdf0d01..005ab5c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -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 }}" /> |