diff options
author | Julien Dessaux | 2021-10-25 23:33:28 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-10-25 23:33:28 +0200 |
commit | 031473807e1f1d811d1e294e09cbca6c6ba839f9 (patch) | |
tree | a78260577d4ce3ebf2e7b79c8b144eb8d7553335 /src/templates/partials | |
parent | Hardcode HEAD for jester and tiny_sqlite while waiting for releases in both p... (diff) | |
download | short-031473807e1f1d811d1e294e09cbca6c6ba839f9.tar.gz short-031473807e1f1d811d1e294e09cbca6c6ba839f9.tar.bz2 short-031473807e1f1d811d1e294e09cbca6c6ba839f9.zip |
Added about page and a nav menu that links to it
Diffstat (limited to '')
-rw-r--r-- | src/templates/partials/master.html | 1 | ||||
-rw-r--r-- | src/templates/partials/nav.html | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/templates/partials/master.html b/src/templates/partials/master.html index 82cedac..78e3211 100644 --- a/src/templates/partials/master.html +++ b/src/templates/partials/master.html @@ -9,6 +9,7 @@ <title>short.adyxax.org</title> </head> <body> + {% importnwt "templates/partials/nav.html" %} <main id="main"> {% block content %}{% endblock %} </main> diff --git a/src/templates/partials/nav.html b/src/templates/partials/nav.html new file mode 100644 index 0000000..8882ff0 --- /dev/null +++ b/src/templates/partials/nav.html @@ -0,0 +1,10 @@ +<header> + <nav> + <ul> + <li class="nav-menu-title"><a href="/">short.adyxax.org</a></li> + <li class="nav-menu-margin-left"> + <a href="/about">About</a> + </li> + </ul> + </nav> +</header> |