fix broken youtube button (#23)
* Update projekt.html * Update blog.html
This commit is contained in:
parent
824322adc6
commit
932e8584dd
2 changed files with 6 additions and 6 deletions
|
@ -41,12 +41,12 @@
|
|||
{% if blk.video_url %}
|
||||
{{ blk }} <br/>
|
||||
<a class="button" href="https://www.youtube.com/watch?v={{ blk.video_url }}{% if post.alt %}&gl={{ post.alt }}&hl={{ post.alt }}{% endif %}" target="_blank" rel="noopener">{%
|
||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||
else %}{{post.url}}{% endif %}</a>{% endif %}{% if blk.video
|
||||
if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{%
|
||||
else %}Direkt zum YouTube-Video{% endif %}</a>{% endif %}{% if blk.video
|
||||
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||
else %}Download Video{% endif %}</a>{% endif %}
|
||||
<br/>
|
||||
<br/><br/>
|
||||
{% endfor %}{%
|
||||
endif %} {% if post.project %}
|
||||
<div class="lightgallery" class="row alt">{%
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
{% if blk.video_url %}
|
||||
{{ blk }} <br/>
|
||||
<a class="button" href="https://www.youtube.com/watch?v={{ blk.video_url }}{% if post.alt %}&gl={{ post.alt }}&hl={{ post.alt }}{% endif %}" target="_blank" rel="noopener">{%
|
||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||
else %}{{post.url}}{% endif %}</a>{% endif %}{% if blk.video
|
||||
if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{%
|
||||
else %}Direkt zum YouTube-Video{% endif %}</a>{% endif %}{% if blk.video
|
||||
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||
else %}Download Video{% endif %}</a>{% endif %}
|
||||
<br/>
|
||||
<br/><br/>
|
||||
{% endfor %}{%
|
||||
endif %}
|
||||
{% if post.project %}
|
||||
|
|
Loading…
Reference in a new issue