feat: templates
This commit is contained in:
parent
7045e377fb
commit
8cddba74b5
8 changed files with 91 additions and 42 deletions
31
templates/base.html
Normal file
31
templates/base.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="the main Adrianux page">
|
||||
<link rel="canonical" href="https://adrianux.net/">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" />
|
||||
<title>{% block title %}{% endblock %} - Adrianux.net</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<nav class="container">
|
||||
<ul>
|
||||
<li><a href="/">Homepage</a></li>
|
||||
<li><a href="imprint">Imprint</a></li>
|
||||
<li><a href="about">About</a></li>
|
||||
<li><a href="https://git.adrianux.net/ahoemann">Git</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1>{{ self.title() }}</h1>
|
||||
<article>{% block content %}{% endblock %}</article>
|
||||
</main>
|
||||
|
||||
<footer class="container">
|
||||
<p><a href="mailto:ahoemann@proton.me">ahoemann@proton.me</a></p>
|
||||
© Copyright 2024 by <a href="https://adrianux.net/">Adrian Hoemann</a>.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue