]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_base.html
Enabled fenced code in Markdown module and added CSS for this
[pcdenotes.git] / notes / templates / note_base.html
1 {% load static %}
2 <!DOCTYPE html>
3
4 <html lang="en">
5 <head>
6 <title>{% block title %}{% endblock %}</title>
7 <meta charset="UTF-8" />
8 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9 <link href="{% static "notes/style.css" %}" rel="stylesheet">
10 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
11 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
12 </head>
13 <body class="d-flex flex-column min-vh-100">
14
15 <header class="container-fluid p-5">
16 <h1><a href="{% url "notes:note_list" %}">Notes</a></h1>
17 </header>
18
19 <main class="container flex-fill">
20 {% block content %}{% endblock %}
21 </main>
22
23 <footer class="container-fluid p-5 mt-5">
24 <div class="row">
25 <div id="footer-left" class="col-lg-4 col-md-12 col-sm-12">
26 <a href="http://www.djangoproject.com/"><img src="https://www.djangoproject.com/m/img/badges/djangopowered126x54.gif" width="126" height="54" alt="Powered by Django." title="Powered by Django." /></a>
27 </div>
28 <div id="footer-middle" class="col-lg-4 col-md-12 col-sm-12">
29 <p>
30 <a href="{% url "notes:note_list" %}">Home</a><br>
31 <a href="{% url "notes:archive_main" %}">Archive</a>
32 </p>
33 </div>
34 <div id="footer-right" class="col-lg-4 col-md-12 col-sm-12">
35 This site contains random notes and thoughts by Patrick Canterino.<br>
36 If you have any questions, you may write me an email: <a href="mailto:patrick@patrick-canterino.de">patrick@patrick-canterino.de</a>
37 </div>
38 </div>
39 <div id="copyright">
40 {% with year_start="2022" %}
41 {% now "Y" as year_current %}
42 © {% if year_current > year_start %}{{ year_start }}-{% endif %}{{ year_current }} <a href="https://www.patrick-canterino.de/">Patrick Canterino</a>
43 {% endwith %}
44 </div>
45 </footer>
46 </body>
47 </html>

patrick-canterino.de