aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-18 02:05:52 -0300
committerEuAndreh <eu@euandre.org>2020-09-18 02:07:20 -0300
commit7707874ad706f17e318c488363ab7cac58fc18b3 (patch)
tree21c89873d6f784a40c203a7714f2ae00ca3c35e0
parentstyles.css: Add horizontal scrollbar on long code blocks (diff)
downloadeuandre.org-7707874ad706f17e318c488363ab7cac58fc18b3.tar.gz
euandre.org-7707874ad706f17e318c488363ab7cac58fc18b3.tar.xz
Fix missing website description
-rw-r--r--_config.yml4
-rw-r--r--_layouts/default.html2
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 %}