diff --git a/content/marriage.de.md b/content/marriage.de.md index 611f489..6ce5792 100755 --- a/content/marriage.de.md +++ b/content/marriage.de.md @@ -1,17 +1,23 @@ +++ title = "Hochzeit von Stefan und Mariia" layout = "wedding" +slug = "marriage" +aliases = [ + "/hochzeit/", + "/mariia-und-stefan/", + "/heirat/" +] [event] date = "2026-08-15" ceremony_time = "14:00" reception_time = "17:00" -venue = "Helsinki, Finnland" -map_embed = """""" +venue = "München, Deutschland" +map_embed = """""" [rsvp] deadline = "30. Juni" -email = "test@example.com" +# email = "markin.stefan@posteo.net" form = "https://example.com/rsvp-form" details = "Kleiderordnung: Smart casual. Bitte bringen Sie eine leichte Jacke mit, da es am Abend kühl werden könnte." diff --git a/content/marriage.md b/content/marriage.md index 62c314a..1030145 100755 --- a/content/marriage.md +++ b/content/marriage.md @@ -1,17 +1,22 @@ +++ title = "Marriage of Stefan and Mariia" layout = "wedding" +slug = "marriage" +aliases = [ + "/wedding/", + "/mariia-and-stefan/" +] [event] date = "2026-08-15" ceremony_time = "14:00" reception_time = "17:00" -venue = "Helsinki, Finland" -map_embed = """""" +venue = "Munich, Germany" +map_embed = """""" [rsvp] deadline = "June 30" -email = "test@example.com" +# email = "markin.stefan@posteo.net" form = "https://example.com/rsvp-form" details = "Dress code: Smart casual. Please bring a light jacket, as the evening might get chilly." diff --git a/content/marriage.ru.md b/content/marriage.ru.md index f31a520..e5afae9 100755 --- a/content/marriage.ru.md +++ b/content/marriage.ru.md @@ -1,17 +1,24 @@ +++ title = "Свадьба Стефана и Марии" layout = "wedding" +slug = "marriage" +aliases = [ + "/svadba/", + "/mariia-i-stefan/", + "/brak/" +] + [event] date = "2026-08-15" ceremony_time = "14:00" reception_time = "17:00" -venue = "Хельсинки, Финляндия" -map_embed = """""" +venue = "Мюнхен, Германия" +map_embed = """""" [rsvp] deadline = "30 июня" -email = "test@example.com" +# email = "markin.stefan@posteo.net" form = "https://example.com/rsvp-form" details = "Дресс-код: Smart casual. Пожалуйста, возьмите с собой легкую куртку, так как вечер может быть прохладным." diff --git a/i18n/de.toml b/i18n/de.toml index 5af9b32..b12ae60 100755 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -1,8 +1,13 @@ redirect_message = "Weiterleitung zu {{ .URL }} in {{ .Seconds }} Sekunden..." click_here_redirect = "Hier klicken, falls Sie nicht weitergeleitet werden" countdown_title = "Countdown zu unserer Hochzeit" +day = "T" +hour = "Std" +minute = "min" +second = "s" event_title = "Veranstaltung" ceremony = "Zeremonie" +ceremony_time = "um" reception = "Empfang" location = "Ort" rsvp_title = "RSVP" diff --git a/i18n/en.toml b/i18n/en.toml index 8dc9758..b8ad832 100755 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,8 +1,13 @@ redirect_message = "Redirecting to {{ .URL }} in {{ .Seconds }} seconds..." click_here_redirect = "Click here if you are not redirected" countdown_title = "Countdown to our Wedding" +day = "d" +hour = "h" +minute = "m" +second = "s" event_title = "Event" ceremony = "Ceremony" +ceremony_time = "at" reception = "Reception" location = "Location" rsvp_title = "RSVP" diff --git a/i18n/ru.toml b/i18n/ru.toml index 21b0b80..57831c2 100755 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -1,8 +1,13 @@ redirect_message = "Перенаправление на {{ .URL }} через {{ .Seconds }} секунд..." click_here_redirect = "Нажмите здесь, если перенаправление не произошло" countdown_title = "Обратный отсчет до нашей свадьбы" +day = "Д." +hour = "ч." +minute = "м" +second = "c" event_title = "Мероприятие" ceremony = "Церемония" +ceremony_time = "в" reception = "Прием" location = "Место" rsvp_title = "RSVP" diff --git a/layouts/_default/wedding.html b/layouts/_default/wedding.html index a607ffd..05308d3 100755 --- a/layouts/_default/wedding.html +++ b/layouts/_default/wedding.html @@ -56,14 +56,14 @@ .countdown { text-align: center; margin-bottom: 2rem; - font-size: 1.2rem; + font-size: 5rem; } .footer { text-align: center; margin-top: 3rem; color: #888; - font-size: 1rem; + font-size: 2rem; padding-top: 1rem; } @@ -87,10 +87,10 @@
+
{{ i18n "ceremony" }}: {{ . }}
+{{ with .Params.event.date }} ++ {{ i18n "ceremony" }}: + {{ . | time | time.Format ":date_long" }}{{ with $.Params.event.ceremony_time }}, {{ i18n "ceremony_time" }} {{ . }} {{ end }} - {{ with .Params.event.reception_time }} +
+{{ end }} +{{ with .Params.event.reception_time }}{{ i18n "reception" }}: {{ . }}
{{ end }} {{ with .Params.event.venue }} @@ -153,6 +157,13 @@
+
+ Zeremonie: + 15. August 2026, um 14:00 -
Zeremonie: 14:00
- - + + +Empfang: 17:00
-Ort: Helsinki, Finnland
+Ort: München, Deutschland
Bitte antworten bis 30. Juni.
-E-Mail: test@example.com
- @@ -310,6 +312,13 @@ Wir freuen uns darauf, Sie dort zu sehen!"> -