Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Add names to endblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Oct 23, 2024
1 parent 98b93d8 commit 82ea6af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/argus_htmx/templates/htmx/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{% else %}
<a class="btn" href="{% url 'htmx:login' %}">Log in</a>
{% endif %}
{% endblock %}
{% endblock userlink %}
</div>
</nav>
</header>
Expand Down
4 changes: 2 additions & 2 deletions src/argus_htmx/templates/htmx_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block title %}<title>Argus Server: {{ page_title }}</title>{% endblock %}
{% block title %}<title>Argus Server: {{ page_title }}</title>{% endblock title %}
<!-- HTMX -->
<script src="{% static "htmx-2.0.2.min.js" %}"></script>
<link rel="stylesheet" href="{% static path_to_stylesheet|default:"styles.css" %}">

{% block head %}
{% endblock head %}
</head>
<body {% block body_overrides %}class="override bg-base-100"{% endblock %}>
<body {% block body_overrides %}class="override bg-base-100"{% endblock body_overrides %}>
{% block header %}
<h1>Argus Server: {{ page_title }}</h1>
{% endblock header %}
Expand Down

0 comments on commit 82ea6af

Please sign in to comment.