Add feather icons and use them in the global nav, add RSS
[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" %}' title='Home'>{% include 'feather/home.svg' %}</a>
22       <a href='{% url "atom" %}' title='Atom/RSS'>{% include 'feather/rss.svg' %}</a>
23     </nav>
24
25     <main>
26       {% block content %}{% endblock %}
27     </main>
28
29     <footer>
30       <p>&copy; {% now 'Y' %} Styx</p>
31       <section class="licenses">
32         Licenses:
33         <div>
34           <span>Content: <a rel='license' href='http://creativecommons.org/licenses/by-sa/4.0/'>CC BY-SA 4.0</a></span>
35           <span>Code: <a rel='license' href='https://www.gnu.org/licenses/agpl-3.0.html'>AGPL 3.0</a></span>
36         </div>
37       </section>
38     </footer>
39   </body>
40 </html>