aboutsummaryrefslogtreecommitdiffstats
path: root/sneakyidea/templates/page.html
diff options
context:
space:
mode:
authorArnaud BOS <arnaud.tlse@gmail.com>2011-05-08 13:40:44 +0100
committerArnaud BOS <arnaud.tlse@gmail.com>2011-05-08 13:40:44 +0100
commita2d78d158960e72b760bd965797115f1fbb38778 (patch)
tree3da5ca2dd88ec9f9daa9a4383759fc2e3f50e21b /sneakyidea/templates/page.html
parent69c1767f4468f25a50b9c44386adfa16104b670c (diff)
downloadpelican-themes-a2d78d158960e72b760bd965797115f1fbb38778.tar.gz
[SNEAKYIDEA]Add translation support to pages.
Diffstat (limited to 'sneakyidea/templates/page.html')
-rw-r--r--sneakyidea/templates/page.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/sneakyidea/templates/page.html b/sneakyidea/templates/page.html
index 9635fb8..e99070a 100644
--- a/sneakyidea/templates/page.html
+++ b/sneakyidea/templates/page.html
@@ -1,8 +1,11 @@
+{% import 'translations.html' as translations with context %}
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<section id="content" class="body">
<h1 class="entry-title">{{ page.title }}</h1>
+ {{ translations.translate(page, 'pages') }}
+ <br /><br />
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
the pdf</a>{% endif %}
{{ page.content }}