diff options
Diffstat (limited to '')
-rw-r--r-- | v2/src/lib/base.en.conf | 6 | ||||
-rw-r--r-- | v2/src/lib/base.pt.conf | 6 | ||||
-rw-r--r-- | v2/src/lib/preamble.html | 19 |
3 files changed, 28 insertions, 3 deletions
diff --git a/v2/src/lib/base.en.conf b/v2/src/lib/base.en.conf index bc90b10..4eff237 100644 --- a/v2/src/lib/base.en.conf +++ b/v2/src/lib/base.en.conf @@ -23,6 +23,8 @@ export index_recent__title='Recent articles' export index_category__title='Articles by category' +export index__url="$(url-for "$lang/$(coll2path "$lang" article)")" + export feed__title="EuAndreh's articles" @@ -32,6 +34,8 @@ export index_recent_pastebin_title='Pastebins listing' export index_category_pastebin_title='Pastebins by category' +export index_pastebin_url="$(url-for "$lang/$(coll2path "$lang" pastebin)")" + export feed_pastebin_title="EuAndreh's pastebins" @@ -41,4 +45,6 @@ export index_recent_til_title='TIL listing' export index_category_til_title='TIL by category' +export index_til_url="$(url-for "$lang/$(coll2path "$lang" til)")" + export feed_til_title="EuAndreh's TIL" diff --git a/v2/src/lib/base.pt.conf b/v2/src/lib/base.pt.conf index 5703bed..8c9f7c9 100644 --- a/v2/src/lib/base.pt.conf +++ b/v2/src/lib/base.pt.conf @@ -23,6 +23,8 @@ export index_recent__title='Artigos recentes' export index_category__title='Artigos por categoria' +export index__url="$(url-for "$lang/$(coll2path "$lang" article)")" + export feed__title="Artigos do EuAndreh" @@ -32,6 +34,8 @@ export index_recent_pastebin_title='Pastebins listing' export index_category_pastebin_title='Pastebins by category' +export index_pastebin_url="$(url-for "$lang/$(coll2path "$lang" pastebin)")" + export feed_pastebin_title="EuAndreh's pastebins" @@ -41,4 +45,6 @@ export index_recent_til_title='HEA recentes' export index_category_til_title='HEA por categoria' +export index_til_url="$(url-for "$lang/$(coll2path "$lang" til)")" + export feed_til_title="HEA do EuAndreh" diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html index fc19961..1649bdd 100644 --- a/v2/src/lib/preamble.html +++ b/v2/src/lib/preamble.html @@ -19,10 +19,23 @@ <body> <header> <nav> - <ul> - <a href="$homepage_url">$author</a> - <a href="$about_url">$about</a> + <ul class="main-navigation-links"> + <li> + <a href="$homepage_url">$author</a> + </li> + <li> + <a href="$about_url">$about</a> + </li> </ul> + <ul class="collections-navigation-links"> + <li> + <a href="$index_til_url">$index_til_title</a> + </li> + <li> + <a href="$index_pastebin_url">$index_pastebin_title</a> + </li> + </ul> +$translations_html </nav> <hr /> </header> |