2020-08-11 16:14:38 +02:00
|
|
|
{% 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 }}">
|
2021-11-30 21:31:44 +01:00
|
|
|
<meta name="twitter:image" content="{{ get_url(path="assets/poster.jpg") | safe }}">
|
2020-08-11 16:14:38 +02:00
|
|
|
|
|
|
|
<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 }}">
|
2021-11-30 21:31:44 +01:00
|
|
|
<meta property="og:image" content="{{ get_url(path="assets/poster.jpg") | safe }}">
|
2020-08-11 16:14:38 +02:00
|
|
|
{%- 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 %}
|