aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/page.html10
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index fb40a81..8487e14 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -18,6 +18,8 @@
<a href="/" class="{% if current_path == '/' %}active{% else %}purple{% endif %}">home</a>
<a href="/projects" class="{% if current_path is starting_with(pat='/projects') %}active{% else %}purple{% endif %}">projects</a>
<a href="/blog" class="{% if current_path is starting_with(pat='/blog') %}active{% else %}purple{% endif %}">blog</a>
+ <a href="/licenses" class="{% if current_path is starting_with(pat='/licenses') %}active{% else %}purple{% endif %}">licenses</a>
+ <a href="/pgp" class="{% if current_path is starting_with(pat='/pgp') %}active{% else %}purple{% endif %}">pgp</a>
</nav>
</div>
</header>
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..1f941d4
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title" style="text-align: left; !important">
+ {{ page.title }}
+</h1>
+<div class="blog-content">
+{{ page.content | safe }}
+</div>
+{% endblock content %}