diff options
author | EuAndreh <eu@euandre.org> | 2020-02-05 22:24:48 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-05 22:24:48 -0300 |
commit | e3d4bd847a04b1797c3f2deb48b50b199ee7ba6c (patch) | |
tree | 96ff19b4917afc60319aa3740f330e0b1ff04c70 | |
parent | Use commonmark instead of kramdown (diff) | |
download | euandre.org-e3d4bd847a04b1797c3f2deb48b50b199ee7ba6c.tar.gz euandre.org-e3d4bd847a04b1797c3f2deb48b50b199ee7ba6c.tar.xz |
Point to language-specific home
-rw-r--r-- | _config.yml | 3 | ||||
-rw-r--r-- | _layouts/default.html | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml index 0692920..b653bb3 100644 --- a/_config.yml +++ b/_config.yml @@ -32,6 +32,9 @@ t: home: en: "EuAndreh's blog" pt: "Blog do EuAndreh" + home_url: + en: '/' + pt: '/pt/' recent_posts: en: 'Recent posts' pt: 'Postagens recentes' diff --git a/_layouts/default.html b/_layouts/default.html index 7240997..c33b960 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,7 +25,7 @@ <header> <nav> <div id="nav-left"> - <a href="/">{{ site.t.home[page.lang] }}</a> + <a href="{{ site.t.home_url[page.lang] }}">{{ site.t.home[page.lang] }}</a> </div> <div id="nav-right"> <ul> |