diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
commit | a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc (patch) | |
tree | 3420ab92e02e3b1e2994be7198a83c667118ffe1 /templates/index.html | |
parent | 043710894c648f91a3c9acd11800d67f3b872670 (diff) | |
download | rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.gz rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.bz2 rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.zip |
Split english and norwegian posts.
This turned out a bit different than I initially though. The english and
norwegian sections will essentially be separate. Afaict there's no
direct way to make a "combined view" listing both english and norwegian
posts. However, I think that's fine. Let's roll with this for now.
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index b39cd9b..c932b7c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,7 +16,7 @@ </div> </header> <section class="post-list"> - <h2>Siste innlegg:</h2> + <h2>{{ trans(key="latest", lang=lang) }}</h2> <ul> {% for post in s.pages | reverse %} <li> @@ -30,7 +30,7 @@ </ul> </section> <footer> - <a href="{{ s.permalink }}">Se alle innleggene i {{ s.title }}...</a> + <a href="{{ s.permalink }}">{{ trans(key="allposts", lang=lang) }} {{ s.title }}...</a> </footer> </article> {% endfor %} |