zola/test_site/templates/index.html

19 lines
667 B
HTML
Raw Permalink Normal View History

{% 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>
<!-- Next line is meant to test inner html chars (see https://github.com/getzola/zola/issues/1152) -->
<p> <<< </p>
{% endblock content %}
2020-06-18 20:29:25 +00:00
{% block script %}
<script src="{{ get_url(path="scripts/hello.js") | safe }}"
integrity="sha384-{{ get_file_hash(path="scripts/hello.js", base64=true) | safe }}"></script>
2020-06-18 20:29:25 +00:00
{% endblock script %}