diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
commit | 0290aee70d071b3d5db2ce14635842043763acb5 (patch) | |
tree | 42ab419e0eded665938ef9d745ffb8f5a3ac220a /theme/templates/page.html | |
parent | fdca509424c838b4f031c45e1a8d786c1a84fd89 (diff) | |
download | bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.tar.gz bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.zip |
create a basic theme (from bnewnet style)
Diffstat (limited to 'theme/templates/page.html')
-rw-r--r-- | theme/templates/page.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html new file mode 100644 index 0000000..5ceb779 --- /dev/null +++ b/theme/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 %} |