{{ .Title }}
+ ++ {{ i18n "redirect_message" (dict + "Seconds" (.Params.redirect_delay | default 3) + "URL" .Params.redirect_url + ) }} +
+ + +diff --git a/config.toml b/config.toml index 8a608fd..6142d79 100755 --- a/config.toml +++ b/config.toml @@ -36,3 +36,7 @@ pagination.pagerSize = 5 identifier = "contact" name = "Contact" url = "/contact" + [[languages.en.menu.main]] + identifier = "imprint" + name = "Imprint" + url = "https://markinstefan.xyz/de/impressum" diff --git a/content/imprint.md b/content/imprint.md new file mode 100755 index 0000000..b7fdfdd --- /dev/null +++ b/content/imprint.md @@ -0,0 +1,7 @@ ++++ +date = '2026-06-23T06:50:43+02:00' +title = "Redirecting to Impressum" +layout = "redirect" +slug = "imprint" +redirect_url = "https://markinstefan.xyz/de/impressum/" ++++ diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..ff75e95 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,2 @@ +redirect_message = "Redirecting to {{ .URL }} in {{ .Seconds }} seconds..." +click_here_redirect = "Click here if you are not redirected" diff --git a/layouts/_default/redirect.html b/layouts/_default/redirect.html new file mode 100755 index 0000000..fa75457 --- /dev/null +++ b/layouts/_default/redirect.html @@ -0,0 +1,22 @@ +{{ define "main" }} +
+ {{ i18n "redirect_message" (dict + "Seconds" (.Params.redirect_delay | default 3) + "URL" .Params.redirect_url + ) }} +
+ + +