28 lines
697 B
HTML
28 lines
697 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block styles %}
|
|
{{ super() }}
|
|
<link rel="stylesheet" href="{{ base_url }}/css/lightgallery.min.css">
|
|
{% endblock styles %}
|
|
|
|
{% block libs %}
|
|
{{ super() }}
|
|
<script src="{{ base_url }}/js/lightgallery.min.js"></script>
|
|
{% endblock libs %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
<script>
|
|
var elements = document.getElementsByClassName("lightgallery");
|
|
for(var i=0; i<elements.length; i++) {
|
|
lightGallery(elements[i]);
|
|
}
|
|
</script>
|
|
{% endblock scripts %}
|
|
|
|
{% block content %}
|
|
{{ super() }}
|
|
{% if page.meta.revision_date %}
|
|
<small><i>Updated on {{ page.meta.revision_date }}</i></small>
|
|
{% endif %}
|
|
{% endblock %}
|