diff options
-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 70f02b8..61495f0 100644 --- a/_config.yml +++ b/_config.yml @@ -39,6 +39,10 @@ collections: permalink: /til/:year/:month/:day/:title:output_ext t: + description: + en: "EuAndreh's website" + pt: "Site do EuAndreh" + fr: "Site d'EuAndreh" blog_url: en: "en/index.md" pt: "pt/index.md" diff --git a/_layouts/default.html b/_layouts/default.html index 458e675..5eac517 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,7 @@ {% if page.description %} {{ page.description }} {% else %} - {{ site.description }} + {{ site.t.description[page.lang] }} {% endif %} {% endcapture %} {% assign description = raw_description | strip_html | strip %} |