summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-12 15:50:49 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-12 15:50:49 -0700
commitef162e8d070f51f422e57e9cfd62beb1db47e932 (patch)
tree88d77c9d55f0e75b605b1956602f1017b26783e6 /fatcat_scholar/templates
parent221fe40a0440b86773ad17db967ed4335d9e4da9 (diff)
downloadfatcat-scholar-ef162e8d070f51f422e57e9cfd62beb1db47e932.tar.gz
fatcat-scholar-ef162e8d070f51f422e57e9cfd62beb1db47e932.zip
very hack-y i18n support in jinja2 templates
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/home.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html
index 82eb69d..e6e09b5 100644
--- a/fatcat_scholar/templates/home.html
+++ b/fatcat_scholar/templates/home.html
@@ -4,5 +4,9 @@
</head>
<body>
<h1>The Start</h1>
+
+<p>{% trans %}This is a longer paragraph, all of which should be translated.{% endtrans %}
+
+<p>and {{ _("this is a quick") }} thing to translate.
</body>
</html>