diff --git a/themes/patek/i18n/cs.toml b/themes/patek/i18n/cs.toml index 266d264..7dd23b0 100644 --- a/themes/patek/i18n/cs.toml +++ b/themes/patek/i18n/cs.toml @@ -36,4 +36,7 @@ other = "Nadcházející a proběhlé Talky" other = "Tagy" [posts_with_tag] -other = "Přízpěvky s tagem" \ No newline at end of file +other = "Přízpěvky s tagem" + +[logo-alt] +other = "Logo Pátku" \ No newline at end of file diff --git a/themes/patek/i18n/en.toml b/themes/patek/i18n/en.toml index c5ccf30..edb55e0 100644 --- a/themes/patek/i18n/en.toml +++ b/themes/patek/i18n/en.toml @@ -31,4 +31,7 @@ other = "Upcoming and past Talks" other = "Tags" [posts_with_tag] -other = "Posts with tag" \ No newline at end of file +other = "Posts with tag" + +[logo-alt] +other = "Logo of Pátek" \ No newline at end of file diff --git a/themes/patek/layouts/_default/baseof.html b/themes/patek/layouts/_default/baseof.html index 727aac2..38c5ee7 100644 --- a/themes/patek/layouts/_default/baseof.html +++ b/themes/patek/layouts/_default/baseof.html @@ -11,6 +11,44 @@ {{ partial "sass.html" "css/main.scss" }} {{- end }} + {{ block "og" . -}} + {{ $favicon := resources.Get "img/favicon.ico" }} + {{ if eq .IsPage true }} + + + + + + + + + {{ range .Translations }} + + {{ end }} + + {{ range .Params.authors }} + + {{ end }} + {{ range .Params.tags }} + + {{ end }} + + {{ end }} + {{ if eq .IsHome true }} + + + + + + + + + {{ range .Translations }} + + {{ end }} + {{ end }} + {{ end -}} + {{ block "js" . -}} {{ partial "js.html" "js/header-link.js" }} {{ partial "js.html" "js/patek-logo-custom-element/patek-logo.js" }}