site/templates/macros.html
Simon Bruder 4972e93119
Do not include episode number in title
It confuses many people what SCH001 means and it also looks somewhat
weird, especially since we do not refer to the episode numbers.
2022-01-06 19:46:02 +01:00

18 lines
690 B
HTML

{% macro podlove_subscribe_button(size="medium") %}
<noscript>
<img src="{{ get_url(path="assets/poster.jpg") | safe }}" alt="Logo von {{ config.title }}">
<a href="{{ get_url(path="subscribe") }}"><button class="noscript-subscribe-button">Abonnieren</button></a>
</noscript>
<script
class="podlove-subscribe-button"
src="{{ get_url(path="vendor/podlove-subscribe-button/javascripts/app.js") | safe }}"
data-language="{{ lang }}"
data-size="{{ size }}"
data-format="cover"
data-json-data="podcastData"
data-colors="{{ config.extra.theme.main | default(value="#2B8AC6") }}"
></script>
{% endmacro podlove_subscribe_button %}
{% macro title(page) -%}
{%- endmacro poster %}