diff --git a/templates/macros/blog.html b/templates/macros/blog.html index f39668b..2d1c527 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -41,12 +41,12 @@ {% if blk.video_url %} {{ blk }}
{% - if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{% - else %}{{post.url}}{% endif %}{% endif %}{% if blk.video + if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{% + else %}Direkt zum YouTube-Video{% endif %}{% endif %}{% if blk.video %} {% if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{% else %}Download Video{% endif %}{% endif %} -
+

{% endfor %}{% endif %} {% if post.project %}
{% diff --git a/templates/macros/projekt.html b/templates/macros/projekt.html index 4d60812..0b84ba5 100644 --- a/templates/macros/projekt.html +++ b/templates/macros/projekt.html @@ -28,12 +28,12 @@ {% if blk.video_url %} {{ blk }}
{% - if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{% - else %}{{post.url}}{% endif %}{% endif %}{% if blk.video + if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{% + else %}Direkt zum YouTube-Video{% endif %}{% endif %}{% if blk.video %} {% if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{% else %}Download Video{% endif %}{% endif %} -
+

{% endfor %}{% endif %} {% if post.project %}