46fd2e96d163ecce5c04f23148494e93261d869c
[styx.blog] / core / templates / core / base.html
1 <!doctype html>
2
3 <html>
4   <head>
5     <meta charset="utf-8" />
6     <meta name="viewport" content="width=device-width, initial-scale=1" />
7
8     <title>{% block title %}{% endblock %}</title>
9
10     <style>
11       {% include 'core/style.css' %}
12     </style>
13   </head>
14
15   <body>
16     <header>
17       <h1>styx</h1>
18     </header>
19
20     <nav>
21       <a href='{% url "post-list" %}'>Home</a>
22     </nav>
23
24     <main>
25       {% block content %}{% endblock %}
26     </main>
27
28     <footer>
29       <p>&copy; {% now 'Y' %} Styx</p>
30       <section class="licenses">
31         Licenses:
32         <div>
33           <span>Content: <a rel='license' href='http://creativecommons.org/licenses/by-sa/4.0/'>CC BY-SA 4.0</a></span>
34           <span>Code: <a rel='license' href='https://www.gnu.org/licenses/agpl-3.0.html'>AGPL 3.0</a></span>
35         </div>
36       </section>
37     </footer>
38   </body>
39 </html>