diff options
Diffstat (limited to '')
-rw-r--r-- | _config.yml | 4 | ||||
-rw-r--r-- | _layouts/default.html | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml index 89e3207..d3a99b3 100644 --- a/_config.yml +++ b/_config.yml @@ -38,6 +38,10 @@ collections: permalink: /til/:year/:month/:day/:title:output_ext t: + blog_url: + en: "/en/" + pt: "/pt/" + fr: "/fr/" about: en: "About" pt: "Sobre" diff --git a/_layouts/default.html b/_layouts/default.html index 71643b5..de8c726 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -26,7 +26,7 @@ <header> <nav> <div id="nav-left"> - <a href="/"><web>EuAndreh</web></pre></a> + <a href="{{ site.t.blog_url[page.lang] }}"><web>EuAndreh</web></pre></a> </div> <div id="nav-right"> {% if page.ref != nil %} |