Commit ff45a682 authored by Greenscreener's avatar Greenscreener

Added data for language codes.

parent 8405d19e
Pipeline #100982593 passed with stages
in 2 minutes and 13 seconds
{
"cs": "cs_CZ",
"en": "en_GB"
}
\ No newline at end of file
......@@ -20,10 +20,10 @@
<meta property="og:image:alt" content="{{ T "logo-alt" }}" />
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:description" content="{{ .Summary | truncate 120 }}">
<meta property="og:locale" content="{{ .Language.Lang }}">
<meta property="og:locale" content="{{ index .Site.Data.languages .Language.Lang }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
{{ range .Translations }}
<meta property="og:locale:alternative" content="{{ .Lang }}">
<meta property="og:locale:alternative" content="{{ index .Site.Data.languages .Lang }}">
{{ end }}
<meta property="og:article:published_date" content="{{ .PublishDate }}">
{{ range .Params.authors }}
......@@ -41,10 +41,10 @@
<meta property="og:image:alt" content="{{ T "logo-alt" }}" />
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:description" content="{{ .Summary }}">
<meta property="og:locale" content="{{ .Language.Lang }}">
<meta property="og:locale" content="{{ index .Site.Data.languages .Language.Lang }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
{{ range .Translations }}
<meta property="og:locale:alternative" content="{{ .Lang }}">
<meta property="og:locale:alternative" content="{{ index .Site.Data.languages .Lang }}">
{{ end }}
{{ end }}
{{ end -}}
......@@ -54,7 +54,7 @@
{{ partial "js.html" "js/patek-logo-custom-element/patek-logo.js" }}
{{ partial "js.html" "js/dark-mode.js" }}
{{ end }}
<body>
<body>
{{ block "body" . }}
{{- partial "header.html" . -}}
<div id="content">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment