zola/test_site/templates/index.html
2020-06-18 22:33:23 +02:00

17 lines
523 B
HTML

{% extends 'sample/templates/index.html' %}
{% block content %}
<div class="list-posts">
{% for page in section.pages %}
<article>
<h3 class="post__title"><a href="{{ page.permalink }}">{{ page.title }}</a></h3>
</article>
{% endfor %}
</div>
{% endblock content %}
{% block script %}
<script src="{{ get_url(path="scripts/hello.js") | safe }}"
integrity="sha384-{{ get_file_hash(path="scripts/hello.js") }}"></script>
{% endblock script %}