From 7707874ad706f17e318c488363ab7cac58fc18b3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 18 Sep 2020 02:05:52 -0300 Subject: Fix missing website description --- _config.yml | 4 ++++ _layouts/default.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 %} -- cgit v1.2.3