Switch suffix
This commit is contained in:
parent
c70a31e986
commit
76b10815e3
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.12" integrity="sha384-ujb1lZYygJmzgSwoxRggbCHcjc0rB2XoQrxeTUQyRjrOnlCoYta87iKBWq3EsdM2" crossorigin="anonymous" defer async></script>
|
||||
<title>Sup</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||||
</head>
|
||||
|
||||
<body class="bg-base text-text" hx-boost="true">
|
||||
Page Template
|
||||
<a href="/">Index</a>
|
||||
<a href="/about">About</a>
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
21
src/templates/page.jinja.html
Normal file
21
src/templates/page.jinja.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Sup</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||||
</head>
|
||||
|
||||
<body class="bg-base text-text">
|
||||
Page Template
|
||||
<nav hx-boost="true">
|
||||
<a href="/">Index</a>
|
||||
<a href="/about">About</a>
|
||||
</nav>
|
||||
{% block body %}{% endblock %}
|
||||
<script src="https://unpkg.com/htmx.org@1.9.12"
|
||||
integrity="sha384-ujb1lZYygJmzgSwoxRggbCHcjc0rB2XoQrxeTUQyRjrOnlCoYta87iKBWq3EsdM2"
|
||||
crossorigin="anonymous"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "page.html.jinja" %}
|
||||
{% extends "page.jinja.html" %}
|
||||
{% block body %}
|
||||
<h1>About</h1>
|
||||
<p class="important">
|
Loading…
Reference in a new issue