diff options
author | Arnaud BOS <arnaud.tlse@gmail.com> | 2011-05-08 13:40:44 +0100 |
---|---|---|
committer | Arnaud BOS <arnaud.tlse@gmail.com> | 2011-05-08 13:40:44 +0100 |
commit | a2d78d158960e72b760bd965797115f1fbb38778 (patch) | |
tree | 3da5ca2dd88ec9f9daa9a4383759fc2e3f50e21b /sneakyidea/templates/page.html | |
parent | 69c1767f4468f25a50b9c44386adfa16104b670c (diff) | |
download | pelican-themes-a2d78d158960e72b760bd965797115f1fbb38778.tar.gz |
[SNEAKYIDEA]Add translation support to pages.
Diffstat (limited to 'sneakyidea/templates/page.html')
-rw-r--r-- | sneakyidea/templates/page.html | 3 |
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 }} |