summaryrefslogtreecommitdiff
path: root/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/article.html b/templates/article.html
index 630323b..e00ffdc 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -1,10 +1,6 @@
{% extends "base.html" %}
-{% block menu %}
- | <a href="{{ SITEURL }}">Home</a> |
- {% for p in PAGES %}
- | <a href="{{ SITEURL}}/{{p.url}}">{{p.title}}</a> |
- {% endfor %}
-{% endblock %}
+{% block title %} {{ article.title}} {%endblock title %}
+{% block home %} | <a href="{{ SITEURL }}">Home</a> | {% endblock %}
{% block article %}
<h1><a href="{{ SITEURL }}/{{ article.url}}">{{
article.title |striptags }}</a></h1>