diff --git a/CHANGELOG.md b/CHANGELOG.md
index 788f4075a..50f88c417 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file.
+## [0.5.2-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/25) - 08 sep 2021
+
+- Fix gitalk (really does not work on previous version) ([#504](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/504) and [#507](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/507)) (thank you @duval1024)
+- Replace Google+ with Linkedin as default in exampleSite ([#489](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/489)) (thank you @stiliajohny)
+- Fix i18n files (missing keys or wrong key names) and aria-label translation ([#479](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/479) and [#503](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/503))
+- Add Finnish lang ([#500](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/500)) (thank you @ronjakoi)
+- Support gallery title with spaces ([#292](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/292))
+- Properly handle relative URLs ([#333](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/333)) (thank you @sascha-wolf)
+- Fix small visual bug on Firefox ([#322](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/322))
+- Remove dom element `
Data science blog
+> Data science blog
[![Namshik Kim's blog](https://i.imgur.com/oQ8i7k7m.png)](https://physhik.com/)
diff --git a/i18n/de-de.yaml b/i18n/de-de.yaml
index 0c1991f53..9833b2b94 100644
--- a/i18n/de-de.yaml
+++ b/i18n/de-de.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Öffnen Sie den Beitrag"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "kein Beitrag gefunden"
diff --git a/i18n/en-us.yaml b/i18n/en-us.yaml
index b69065130..c82d08d46 100644
--- a/i18n/en-us.yaml
+++ b/i18n/en-us.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Open the post"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "no post found"
diff --git a/i18n/fi-fi.yaml b/i18n/fi-fi.yaml
new file mode 100644
index 000000000..fbd4bbc2d
--- /dev/null
+++ b/i18n/fi-fi.yaml
@@ -0,0 +1,192 @@
+## GLOBAL ##
+- id: "global.home"
+ translation: "Koti"
+
+- id: "global.categories"
+ translation: "Luokat"
+
+- id: "global.category"
+ translation: "Luokka"
+
+- id: "global.tags"
+ translation: "Tagit"
+
+- id: "global.tag"
+ translation: "Tagi"
+
+- id: "global.archives"
+ translation: "Arkistot"
+
+- id: "global.search"
+ translation: "Haku"
+
+- id: "global.about"
+ translation: "Tietoja"
+
+- id: "global.author_picture"
+ translation: "Kirjoittajan kuva"
+
+- id: "global.share_on"
+ translation: "Jaa palvelussa %s"
+
+- id: "global.mail"
+ translation: "Sähköposti"
+
+- id: "global.rss"
+ translation: "RSS"
+
+- id: "global.search_category"
+ translation: "Hae luokkaa"
+
+- id: "global.search_tag"
+ translation: "Hae tagia"
+
+- id: "global.search_date"
+ translation: "Hae päivämäärää (VVVV/KK/PP)"
+
+- id: "global.read_more_about_author"
+ translation: "Lue lisää kirjoittajasta"
+
+- id: "global.zoom_in_on_picture"
+ translation: "Suurenna kuvaa"
+
+- id: "global.go_to_homepage"
+ translation: "Siirry kotisivulle"
+
+- id: "global.open_link"
+ translation: "Avaa linkki"
+
+- id: "global.open_post"
+ translation: "Avaa julkaisu"
+
+## GLOBAL.POSTS_FOUND ##
+- id: "global.posts_found.zero"
+ translation: "julkaisuja ei löytynyt"
+
+- id: "global.posts_found.one"
+ translation: "1 julkaisu löytyi"
+
+- id: "global.posts_found.other"
+ translation: "{n} julkaisua löytyi"
+
+## GLOBAL.CATEGORIES_FOUND ##
+- id: "global.categories_found.zero"
+ translation: "luokkia ei löytynyt"
+
+- id: "global.categories_found.one"
+ translation: "1 luokka löytyi"
+
+- id: "global.categories_found.other"
+ translation: "{n} luokkaa löytyi"
+
+## GLOBAL.TAGS_FOUND ##
+- id: "global.tags_found.zero"
+ translation: "tageja ei löytynyt"
+
+- id: "global.tags_found.one"
+ translation: "1 tagi löytyi"
+
+- id: "global.tags_found.other"
+ translation: "{n} tagia löytyi"
+
+## PAGINATION ##
+- id: "pagination.page"
+ translation: "sivu {{ .Paginator.PageNumber }}"
+
+- id: "pagination.of"
+ translation: "/{{ .Paginator.TotalPages }}"
+
+- id: "pagination.newer_posts"
+ translation: "UUDEMMAT JULKAISUT"
+
+- id: "pagination.older_posts"
+ translation: "VANHEMMAT JULKAISUT"
+
+- id: "pagination.previous"
+ translation: "EDELLINEN"
+
+- id: "pagination.next"
+ translation: "SEURAAVA"
+
+## POST ##
+- id: "post.no_title"
+ translation: "ei otsikkoa"
+
+- id: "post.categorized_in"
+ translation: "luokassa"
+
+- id: "post.tagged_in"
+ translation: "TAGIT"
+
+- id: "post.toc"
+ translation: "Sisällysluettelo"
+
+- id: "post.read_more"
+ translation: "Lue lisää"
+
+- id: "post.go_to_website"
+ translation: "Siirry web-sivulle"
+
+- id: "post.comment_and_share"
+ translation: "Kommentoi ja jaa"
+
+- id: "post.comment"
+ translation: "Kommentoi"
+
+- id: "post.back_to_top"
+ translation: "Takaisin ylös"
+
+- id: "post.share"
+ translation: "Jaa tämä julkaisu"
+
+- id: "post.gallery"
+ translation: "Galleria"
+
+## POST.IMAGE ##
+
+- id: "post.image.one"
+ translation: "kuva"
+
+- id: "post.image.other"
+ translation: "{n} kuvaa"
+
+## FOOTER ##
+- id: "footer.all_rights_reserved"
+ translation: "Kaikki oikeudet pidätetään"
+
+## DATE ##
+- id: "date.month.january"
+ translation: "tammikuuta"
+
+- id: "date.month.february"
+ translation: "helmikuuta"
+
+- id: "date.month.march"
+ translation: "maaliskuuta"
+
+- id: "date.month.april"
+ translation: "huhtikuuta"
+
+- id: "date.month.may"
+ translation: "toukokuuta"
+
+- id: "date.month.june"
+ translation: "kesäkuuta"
+
+- id: "date.month.july"
+ translation: "heinäkuuta"
+
+- id: "date.month.august"
+ translation: "elokuuta"
+
+- id: "date.month.september"
+ translation: "syyskuuta"
+
+- id: "date.month.october"
+ translation: "lokakuuta"
+
+- id: "date.month.november"
+ translation: "marraskuuta"
+
+- id: "date.month.december"
+ translation: "joulukuuta"
diff --git a/i18n/fr-fr.yaml b/i18n/fr-fr.yaml
index 41e8a5617..6795724d0 100644
--- a/i18n/fr-fr.yaml
+++ b/i18n/fr-fr.yaml
@@ -5,9 +5,15 @@
- id: "global.categories"
translation: "Catégories"
+- id: "global.category"
+ translation: "Catégorie"
+
- id: "global.tags"
translation: "Tags"
+- id: "global.tag"
+ translation: "Tag"
+
- id: "global.archives"
translation: "Archive"
diff --git a/i18n/it-it.yaml b/i18n/it-it.yaml
index 8bcf5ecf7..b6187b2d4 100644
--- a/i18n/it-it.yaml
+++ b/i18n/it-it.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Apri il post"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "nessun post trovato"
diff --git a/i18n/ja.yaml b/i18n/ja.yaml
index a4165204e..f3d1fb166 100644
--- a/i18n/ja.yaml
+++ b/i18n/ja.yaml
@@ -59,14 +59,14 @@
- id: "global.open_post"
translation: "投稿を開く"
-## GLOBAL.POST_FOUND ##
-- id: "global.post_found.zero"
+## GLOBAL.POSTS_FOUND ##
+- id: "global.posts_found.zero"
translation: "見つかりませんでした。"
-- id: "global.post_found.one"
+- id: "global.posts_found.one"
translation: "1件見つかりました。"
-- id: "global.post_found.other"
+- id: "global.posts_found.other"
translation: "{n} 件見つかりました。"
## GLOBAL.CATEGORIES_FOUND ##
@@ -80,13 +80,13 @@
translation: "{n} 件のカテゴリーが見つかりました。"
## GLOBAL.TAGS_FOUND ##
-- id: "globa.tags_found.zero"
+- id: "global.tags_found.zero"
translation: "見つかりませんでした。"
-- id: "globa.tags_found.one"
+- id: "global.tags_found.one"
translation: "1件のタグが見つかりました。"
-- id: "globa.tags_found.other"
+- id: "global.tags_found.other"
translation: "{n} 件のタグが見つかりました。"
## PAGINATION ##
diff --git a/i18n/nl-nl.yaml b/i18n/nl-nl.yaml
index f7f5e9724..274e8ac7e 100644
--- a/i18n/nl-nl.yaml
+++ b/i18n/nl-nl.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Open het bericht"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "Geen posts gevonden"
diff --git a/i18n/pl.yaml b/i18n/pl.yaml
index 113e4cbfd..217708793 100644
--- a/i18n/pl.yaml
+++ b/i18n/pl.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Otwórz post"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "nie znaleziono wpisów"
diff --git a/i18n/pt-br.yaml b/i18n/pt-br.yaml
index 1df0ec98d..8c19c3c7d 100644
--- a/i18n/pt-br.yaml
+++ b/i18n/pt-br.yaml
@@ -35,15 +35,6 @@
- id: "global.rss"
translation: "RSS"
-- id: "global.share_on_google_plus"
- translation: "Compartilhar no Google+"
-
-- id: "global.share_on_facebook"
- translation: "Compartilhar no Facebook"
-
-- id: "global.share_on_twitter"
- translation: "Compartilhar no Twitter"
-
- id: "global.search_category"
translation: "Pesquisar categoria"
@@ -68,14 +59,14 @@
- id: "global.open_post"
translation: "Abra o post"
-## GLOBAL.POST_FOUND ##
-- id: "global.post_found.zero"
+## GLOBAL.POSTS_FOUND ##
+- id: "global.posts_found.zero"
translation: "não foram encontrados artigos"
-- id: "global.post_found.one"
+- id: "global.posts_found.one"
translation: "1 artigo encontrado"
-- id: "global.post_found.other"
+- id: "global.posts_found.other"
translation: "{n} artigos encontrados"
## GLOBAL.CATEGORIES_FOUND ##
diff --git a/i18n/ru.yaml b/i18n/ru.yaml
index a9407d257..9b5d0c18f 100644
--- a/i18n/ru.yaml
+++ b/i18n/ru.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "открой пост"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "Статей не найдено"
diff --git a/i18n/sv-se.yaml b/i18n/sv-se.yaml
index 7b8512a2f..a0a510bf0 100644
--- a/i18n/sv-se.yaml
+++ b/i18n/sv-se.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Öppna inlägget"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "inga inlägg hittades"
diff --git a/i18n/vi.yaml b/i18n/vi.yaml
index 079e068ab..56a14ac68 100644
--- a/i18n/vi.yaml
+++ b/i18n/vi.yaml
@@ -59,7 +59,7 @@
- id: "global.open_post"
translation: "Mở bài"
-## GLOBAL.POST_FOUND ##
+## GLOBAL.POSTS_FOUND ##
- id: "global.posts_found.zero"
translation: "không tìm thấy kết quả"
diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml
index 692c6647b..309fcb9fe 100644
--- a/i18n/zh-cn.yaml
+++ b/i18n/zh-cn.yaml
@@ -59,14 +59,14 @@
- id: "global.open_post"
translation: "打开帖子"
-## GLOBAL.POST_FOUND ##
-- id: "global.post_found.zero"
+## GLOBAL.POSTS_FOUND ##
+- id: "global.posts_found.zero"
translation: "没有找到文章"
-- id: "global.post_found.one"
+- id: "global.posts_found.one"
translation: "找到 1 篇文章"
-- id: "global.post_found.other"
+- id: "global.posts_found.other"
translation: "找到 {n} 篇文章"
## GLOBAL.CATEGORIES_FOUND ##
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index d00724c83..350f98a0b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,7 +8,7 @@
class="{{ with .Params.coverimage }}hasCover{{ end }}
{{ if eq .Params.covermeta "out" }}hasCoverMetaOut{{ else }}hasCoverMetaIn{{ end }}
{{ with .Params.coverCaption }}hasCoverCaption{{ end }}">
-
+
{{ with .Params.covercaption }}
{{ end }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 1981b67fb..679f5074a 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -10,8 +10,12 @@
{{ end }}
{{ end }}
{{ else }}
- {{ if .Params.coverimage }}
- {{ .Scratch.Set "thumbnailImage" (.Params.coverimage | absURL) }}
+ {{ if .Params.coverImage }}
+ {{ if (findRE "^/" .Params.coverImage 1) }}
+ {{ .Scratch.Set "thumbnailImage" (.Params.coverImage | absURL) }}
+ {{ else }}
+ {{ .Scratch.Set "thumbnailImage" (path.Join .RelPermalink .Params.coverImage) }}
+ {{ end }}
{{ end }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html
index 8f808aa66..24d16d7ca 100644
--- a/layouts/partials/cover.html
+++ b/layouts/partials/cover.html
@@ -3,7 +3,7 @@
{{ else }}
{{ if (fileExists (printf "static/images/%s" .)) }}
- {{ $cover := (printf "images/%s" .) }}
+ {{ $cover := (printf "/images/%s" .) }}
{{ else }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5751cd293..941368235 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -48,7 +48,7 @@
{{ end }}
-
+
{{ range .Site.Params.customCSS }}
{{ if isset . "href" }}
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 2ba979700..36fca1f32 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -1,6 +1,6 @@
{{ range .menu }}