webseite/templates/projekt-post.html

29 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2019-02-12 17:45:44 +01:00
{% extends "layout.html" %}
{% from "macros/projekt.html" import render_blog_post %}
{% block expand_header %}
<link href="{{ '/css/lightgallery.css'|url }}" rel="stylesheet">
{% if this.video_is_embeded %} <!-- Embed Video -->
<script src="{{ '/js/webcomponents.min.js'|url }}"></script/>
<link rel="import" href="{{ '/youtube-embed.html'|url }}"> {% endif %}
{% endblock %}
2019-02-12 23:52:50 +01:00
{% block expand_description %}
<meta name="description" content="{%
if this.teaser %}{{ this.teaser }}{% else %}{%
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
{% endif %}" />
{% endblock %}
2019-02-12 17:45:44 +01:00
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ render_blog_post(this) }}
<script type="text/javascript">
$(document).ready(function(){
$('#lightgallery').lightGallery();
$('.lightgallery').lightGallery();
});
</script>
<script src="{{ '/js/picturefill.min.js'|url }}"></script>
<script src="{{ '/js/lightgallery-all.min.js'|url }}"></script>
<script src="{{ '/js/jquery.mousewheel.min.js'|url }}"></script>
{% endblock %}