Skip to content
Snippets Groups Projects
Unverified Commit 15f8f881 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

support for better twitter inlcudes

parent e2b8d9c7
No related branches found
No related tags found
No related merge requests found
Pipeline #
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@chaotikum_ev">
<meta name="twitter:title" content="{{ page.title }}">
<meta name="twitter:description"
content="{{ page.content | strip_html | xml_escape
| truncate: 200 }}">
{% if page.feature_image %}
<meta name="twitter:image"
content="{{ page.feature_image}}">
{% else %}
<meta name="twitter:image"
content="{{site.url}}/{{site.baseurl}}{{ site.default-feature }}">
{% endif %}
......@@ -4,6 +4,8 @@ layout: default
{% include site-header.html %}
{% include twittercard.html %}
<main class="main container">
<article class="article article--post blogpost content typeset">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment