kobol-wiki/theme/main.html

29 lines
697 B
HTML
Raw Permalink Normal View History

{% 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 %}