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

Add names to endblocks #187

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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