From 6b28434d42cd911027b0c60dd1363c69931b9001 Mon Sep 17 00:00:00 2001 From: irl Date: Mon, 13 Apr 2026 15:29:06 +0200 Subject: [PATCH 1/3] Added translation using Weblate (Romanian) --- i18n/ro.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 i18n/ro.toml diff --git a/i18n/ro.toml b/i18n/ro.toml new file mode 100644 index 0000000..d840775 --- /dev/null +++ b/i18n/ro.toml @@ -0,0 +1,10 @@ +Published = "" +Updated = "" +By = "" +'Show larger map' = "" +Telephone = "" +Email = "" +Fax = "" +'Address' = "" +'Our Team' = "" +'Contact Us' = "" From 2fa452c8b4ef731ec67b627bcd4c795528d369d4 Mon Sep 17 00:00:00 2001 From: irl Date: Thu, 16 Apr 2026 10:00:26 +0100 Subject: [PATCH 2/3] feat: better styles for figure img <100% width --- assets/css/main.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/main.scss b/assets/css/main.scss index 28bb588..1783172 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -129,10 +129,12 @@ figure { background-color: v.$color_hr; border: 1px solid v.$color_tertiary; padding: 4px; + text-align: center; } figure img { max-width: 100%; + border: 1px solid v.$color_tertiary; } figcaption p { From 596b4e4810ed300bc8bc84d8b0cf2c8cde8a8582 Mon Sep 17 00:00:00 2001 From: irl Date: Thu, 16 Apr 2026 10:00:46 +0100 Subject: [PATCH 3/3] feat: add dates and summaries to default section and term pages --- layouts/section.html | 19 +++++++++++-------- layouts/term.html | 16 +++++++++++----- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/layouts/section.html b/layouts/section.html index 748f2f5..bfc5202 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -1,10 +1,13 @@ {{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -
-

{{ .LinkTitle }}

- {{ .Summary }} -
- {{ end }} +

{{ .Title }}

+{{ .Content }} +{{ range .Pages }} +{{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }} +{{ $dateHumanP := .PublishDate | time.Format ":date_long" }} +
+

{{ .LinkTitle }}

+

+ {{ .Summary }} +
+{{ end }} {{ end }} diff --git a/layouts/term.html b/layouts/term.html index c2e7875..bfc5202 100644 --- a/layouts/term.html +++ b/layouts/term.html @@ -1,7 +1,13 @@ {{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} +

{{ .Title }}

+{{ .Content }} +{{ range .Pages }} +{{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }} +{{ $dateHumanP := .PublishDate | time.Format ":date_long" }} +
+

{{ .LinkTitle }}

+

+ {{ .Summary }} +
+{{ end }} {{ end }}