34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block metadata -%}
|
||
|
{%- if page.extra.episode -%}
|
||
|
{{ super() }}
|
||
|
<meta name="twitter:card" content="summary">
|
||
|
<meta name="twitter:title" content="{{ page.title }}">
|
||
|
<meta name="twitter:description" content="{{ page.description }}">
|
||
|
<meta name="twitter:image" content="{{ macros::poster(page=page) }}">
|
||
|
|
||
|
<meta property="og:type" content="website">
|
||
|
<meta property="og:site_name" content="{{ config.title }}">
|
||
|
<meta property="og:title" content="{{ page.title }}">
|
||
|
<meta property="og:url" content="{{ page.permalink }}">
|
||
|
<meta property="og:description" content="{{ page.description }}">
|
||
|
<meta property="og:image" content="{{ macros::poster(page=page) }}">
|
||
|
{%- for format in config.extra.formats %}
|
||
|
<meta property="og:audio" content="{{ get_url(path="episodes/" ~ page.slug ~ "." ~ format.ext) | safe }}">
|
||
|
<meta property="og:audio:type" content="{{ format.mime_type }}">
|
||
|
{%- endfor %}
|
||
|
{%- endif %}
|
||
|
{%- endblock metadata %}
|
||
|
|
||
|
{% block content -%}
|
||
|
{% include "post.html" %}
|
||
|
{%- endblock content %}
|
||
|
|
||
|
{% block scripts -%}
|
||
|
{{ super() }}
|
||
|
{%- if page.extra.episode %}
|
||
|
{% include "podlove-player-script.html" %}
|
||
|
{%- endif %}
|
||
|
{%- endblock scripts %}
|