Skip to content
Snippets Groups Projects
Commit 3e9ffca3 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

fix feature image?

parent a0497687
No related branches found
No related tags found
No related merge requests found
Pipeline #8953 passed
{% if page.layout == "video" -%}
{%- assign realslug = page.url | split:'/' | last -%}
{% capture feature_image %}https://video.chaotikum.net/thumbnails/{{realslug}}_play.png{% endcapture -%}
<meta property="og:image" content="{{feature_image}}">
<meta property="twitter:image" content="{{feature_image}}">
{% endif -%}
\ No newline at end of file
...@@ -4,6 +4,8 @@ layout: default ...@@ -4,6 +4,8 @@ layout: default
{% include site-header.html %} {% include site-header.html %}
{% include metaog.html %}
{% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %} {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %}
{% capture title %} {% capture title %}
......
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