diff default/blog/item.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 8cdcbe0d7dee
children 2496887339f6
line wrap: on
line diff
--- a/default/blog/item.html	Fri May 19 12:59:43 2017 +0200
+++ b/default/blog/item.html	Sun May 21 16:10:44 2017 +0200
@@ -1,5 +1,3 @@
-{% import 'script/css.js' as css %}
-
 {% block item %}
 <article id="{{ item.id }}" class="box" onclick="this.classList.toggle('clicked')">
     <header>
@@ -23,7 +21,7 @@
 
     <div class="expand_box">
         <p>
-            Click to to expand…
+            {% trans %}Click to to expand…{% endtrans %}
         </p>
     </div>
 </article>