summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2016-04-17 16:55:53 +0530
committerVasudev Kamath <vasudev@copyninja.info>2016-04-17 16:55:53 +0530
commit4df407bf2a1735c5ab5d75230e66a688ed231b08 (patch)
treed44296680e998fdd6640569453059c0c7966313c /templates/page.html
parentf1b37410dd85f42d663f1eb591ac9bde567eeb47 (diff)
Update theme for my taste
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html17
1 files changed, 12 insertions, 5 deletions
diff --git a/templates/page.html b/templates/page.html
index 5ceb779..b834171 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,12 +1,19 @@
{% extends "base.html" %}
+{% block menu %}
+| <a href="{{ SITEURL }}"> Home </a> |
+{% for p in pages %}
+{% if p.title != page.title %}
+| <a href="{{ SITEURL }}/{{p.url}}"> {{p.title}} </a>|
+{% endif %}
+{% endfor %}
+{% endblock %}
+{% block page %}
+ <h1><a href={{ SITEURL }}/{{ page.url }}>{{
+ page.title|striptags}} </a> </h1>
+{% endblock %}
{% block title %}{{ page.title }}{%endblock%}
{% block content %}
- <h1>{{ page.title }}</h1>
- {% import 'translations.html' as translations with context %}
- {{ translations.translations_for(page) }}
-
{{ page.content }}
-
{% if page.modified %}
<p>
Last updated: {{ page.locale_modified }}