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 %}
|
{% if blk.video_url %}
|
||||||
{{ blk }} <br/>
|
{{ 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">{%
|
<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') }}{%
|
if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{%
|
||||||
else %}{{post.url}}{% endif %}</a>{% endif %}{% if blk.video
|
else %}Direkt zum YouTube-Video{% endif %}</a>{% endif %}{% if blk.video
|
||||||
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
||||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||||
else %}Download Video{% endif %}</a>{% endif %}
|
else %}Download Video{% endif %}</a>{% endif %}
|
||||||
<br/>
|
<br/><br/>
|
||||||
{% endfor %}{%
|
{% endfor %}{%
|
||||||
endif %} {% if post.project %}
|
endif %} {% if post.project %}
|
||||||
<div class="lightgallery" class="row alt">{%
|
<div class="lightgallery" class="row alt">{%
|
||||||
|
|
|
@ -28,12 +28,12 @@
|
||||||
{% if blk.video_url %}
|
{% if blk.video_url %}
|
||||||
{{ blk }} <br/>
|
{{ 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">{%
|
<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') }}{%
|
if bag('translate', post.alt, 'directytlink') %}{{ bag('translate', post.alt, 'directytlink') }}{%
|
||||||
else %}{{post.url}}{% endif %}</a>{% endif %}{% if blk.video
|
else %}Direkt zum YouTube-Video{% endif %}</a>{% endif %}{% if blk.video
|
||||||
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
%} <a class="button" href="{{ blk.video|url }}" download>{%
|
||||||
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
if bag('translate', post.alt, 'directlink') %}{{ bag('translate', post.alt, 'directlink') }}{%
|
||||||
else %}Download Video{% endif %}</a>{% endif %}
|
else %}Download Video{% endif %}</a>{% endif %}
|
||||||
<br/>
|
<br/><br/>
|
||||||
{% endfor %}{%
|
{% endfor %}{%
|
||||||
endif %}
|
endif %}
|
||||||
{% if post.project %}
|
{% if post.project %}
|
||||||
|
|
Loading…
Reference in a new issue