Skip to content

Commit

Permalink
Add block name in endblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Elwert committed Jan 15, 2025
1 parent d813c51 commit af3c2ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pelican/themes/simple/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<header>
{% block header %}
<hgroup><h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}</hgroup>
{% endblock %}
{% endblock header %}
{% block nav %}
<nav><ul>
{% for title, link in MENUITEMS %}
Expand All @@ -61,20 +61,20 @@
{% endfor %}
{% endif %}
</ul></nav>
{% endblock %}
{% endblock nav %}
</header>
<main>
{% block content %}
{% endblock %}
{% endblock content %}
</main>
<footer>
{% block footer %}
<address>
Proudly powered by <a rel="nofollow" href="https://getpelican.com/">Pelican</a>,
which takes great advantage of <a rel="nofollow" href="https://www.python.org/">Python</a>.
</address>
{% endblock %}
{% endblock footer %}
</footer>
{% endblock %}
{% endblock body %}
</body>
</html>

0 comments on commit af3c2ed

Please sign in to comment.