From 07384d68017d2575ddf18fc3d8c460906b07f2e0 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sun, 15 Mar 2015 19:15:32 -0400 Subject: different templates for different languages --- templates/en/main.htm | 4 ++++ templates/fr/main.htm | 4 ++++ templates/layout.htm | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ templates/sr/main.htm | 4 ++++ 4 files changed, 68 insertions(+) create mode 100644 templates/en/main.htm create mode 100644 templates/fr/main.htm create mode 100644 templates/layout.htm create mode 100644 templates/sr/main.htm (limited to 'templates') diff --git a/templates/en/main.htm b/templates/en/main.htm new file mode 100644 index 0000000..980669b --- /dev/null +++ b/templates/en/main.htm @@ -0,0 +1,4 @@ +{%extends 'layout.htm' %} +{%block content%} +I'm an english block +{% endblock %} diff --git a/templates/fr/main.htm b/templates/fr/main.htm new file mode 100644 index 0000000..c195258 --- /dev/null +++ b/templates/fr/main.htm @@ -0,0 +1,4 @@ +{%extends 'layout.htm' %} +{%block content%} +Je suis un bloc francais +{% endblock %} diff --git a/templates/layout.htm b/templates/layout.htm new file mode 100644 index 0000000..7e91cea --- /dev/null +++ b/templates/layout.htm @@ -0,0 +1,56 @@ + + + + {%if lang=="en" %} + I & G wedding + {% endif %} + {%if lang=="fr" %} + Mariage de I & G + {% endif %} + {%if lang=="sr" %} + Vencanje I & G + {% endif %} + + + + + + + + +
+ banner +
+
+
+ +
+
+ {% block content %} + {% endblock %} +
+
+ + + + diff --git a/templates/sr/main.htm b/templates/sr/main.htm new file mode 100644 index 0000000..0475072 --- /dev/null +++ b/templates/sr/main.htm @@ -0,0 +1,4 @@ +{%extends 'layout.htm' %} +{%block content%} +Ja sam srbski block +{% endblock %} -- cgit v1.2.3-70-g09d2