From 932e8584ddf0eaef5e3d1bc150a48ab284d41586 Mon Sep 17 00:00:00 2001
From: maxbachmann <44199644+maxbachmann@users.noreply.github.com>
Date: Fri, 17 May 2019 09:48:17 +0200
Subject: [PATCH] fix broken youtube button (#23)
* Update projekt.html
* Update blog.html
---
templates/macros/blog.html | 6 +++---
templates/macros/projekt.html | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
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 %}