From dc1f56397374e9cf03b92d0c436f3c0e3080879f Mon Sep 17 00:00:00 2001
From: Huy-Ngo
Date: Tue, 12 Jan 2021 12:57:04 +0700
Subject: Remove current language and show text in appropriate language
---
_config.yml | 14 ++++++++++++--
_layouts/post.html | 9 ++++++++-
2 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/_config.yml b/_config.yml
index 432213d..bc3172d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -40,7 +40,6 @@ minima:
instance: fosstodon.org
github: Huy-Ngo
twitter: false
-show_excerpts: true
plugins:
- jekyll-feed
@@ -77,11 +76,22 @@ defaults:
path: ""
values:
lang: en
+ link-str: English
+ available: This post is also available in
base-url: "/"
-
scope:
path: fr
values:
lang: fr
+ link-str: français
+ available: Ce post est aussi disponible en
base-url: "/fr/"
-
+ -
+ scope:
+ path: de
+ values:
+ lang: de
+ link-str: Deutsch
+ available: Diese Artikel ist auch verfügbar auf
+ base-url: "/de/"
diff --git a/_layouts/post.html b/_layouts/post.html
index 4b7e5a6..e387299 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -33,10 +33,17 @@ layout: default
{%- endif -%}
+ {{ page.available }}:
--
cgit 1.4.1