summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2016-04-17 13:15:23 +0530
committerVasudev Kamath <vasudev@copyninja.info>2016-04-17 13:15:23 +0530
commitf1b37410dd85f42d663f1eb591ac9bde567eeb47 (patch)
tree3fa2a35e467bf7f7432d4e88f7e0f6305ffd9f41 /templates/page.html
Template copied from pelican's simple theme.
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..5ceb779
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+{% 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 }}
+ </p>
+ {% endif %}
+{% endblock %}