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 @@
- Wedding Header Image + Wedding Header Image

{{ .Title }}

- {{ .Params.event.date | time.Format .Site.Language.Lang | default "January 2, 2006" }} + {{ .Params.event.date | time | time.Format ":date_long" }}
@@ -104,10 +104,14 @@

📅 {{ i18n "event_title" }}

- {{ with .Params.event.ceremony_time }} -

{{ 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 @@
- {{ end }} diff --git a/public/categories/index.html b/public/categories/index.html index 4731747..7ae9506 100755 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -137,14 +137,14 @@ diff --git a/public/de/authors/index.html b/public/de/authors/index.html index 8192e84..89b7032 100755 --- a/public/de/authors/index.html +++ b/public/de/authors/index.html @@ -137,14 +137,14 @@ diff --git a/public/de/categories/index.html b/public/de/categories/index.html index 70f4e5f..3eadb95 100755 --- a/public/de/categories/index.html +++ b/public/de/categories/index.html @@ -137,14 +137,14 @@ diff --git a/public/de/heirat/index.html b/public/de/heirat/index.html new file mode 100755 index 0000000..f2bfa50 --- /dev/null +++ b/public/de/heirat/index.html @@ -0,0 +1,9 @@ + + + + http://localhost:1313/de/marriage/ + + + + + diff --git a/public/de/hochzeit/index.html b/public/de/hochzeit/index.html new file mode 100755 index 0000000..f2bfa50 --- /dev/null +++ b/public/de/hochzeit/index.html @@ -0,0 +1,9 @@ + + + + http://localhost:1313/de/marriage/ + + + + + diff --git a/public/de/mariia-und-stefan/index.html b/public/de/mariia-und-stefan/index.html new file mode 100755 index 0000000..f2bfa50 --- /dev/null +++ b/public/de/mariia-und-stefan/index.html @@ -0,0 +1,9 @@ + + + + http://localhost:1313/de/marriage/ + + + + + diff --git a/public/de/marriage/index.html b/public/de/marriage/index.html index d27f7c9..38745c6 100755 --- a/public/de/marriage/index.html +++ b/public/de/marriage/index.html @@ -216,14 +216,14 @@ Wir freuen uns darauf, Sie dort zu sehen!"> .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; } @@ -247,10 +247,10 @@ Wir freuen uns darauf, Sie dort zu sehen!">
- Wedding Header Image + Wedding Header Image

Hochzeit von Stefan und Mariia

- de + 15. August 2026
@@ -266,14 +266,18 @@ Wir freuen uns darauf, Sie dort zu sehen!">

📅 Veranstaltung

+ +

+ Zeremonie: + 15. August 2026, um 14:00 -

Zeremonie: 14:00

- - +

+ +

Empfang: 17:00

-

Ort: Helsinki, Finnland

+

Ort: München, Deutschland

@@ -281,7 +285,7 @@ Wir freuen uns darauf, Sie dort zu sehen!">

📍 Ort

- +
@@ -292,8 +296,6 @@ Wir freuen uns darauf, Sie dort zu sehen!">

Bitte antworten bis 30. Juni.

-

E-Mail: test@example.com

-

RSVP Formular

@@ -310,6 +312,13 @@ Wir freuen uns darauf, Sie dort zu sehen!"> -