From f2da72122a44a59fd30338e90743b2f6ecc360ca Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Sat, 30 Mar 2024 20:38:32 +0100 Subject: [PATCH] estado de proyecto / evento --- i18n/en.toml | 4 ++++ i18n/es.toml | 3 +++ layouts/projects/list.html | 1 + 3 files changed, 8 insertions(+) diff --git a/i18n/en.toml b/i18n/en.toml index c01e683..cf7cee0 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,2 +1,6 @@ # Header motto = "Free your source, free your mind" + +# Project +finished = "Finished" +unfinished = "Ongoing" diff --git a/i18n/es.toml b/i18n/es.toml index 734a31a..929a4f1 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -1 +1,4 @@ motto = "Libera tu código, libera tu mente" + +finished = "Finalizado" +unfinished = "En progreso" diff --git a/layouts/projects/list.html b/layouts/projects/list.html index 99fa1a9..465668f 100644 --- a/layouts/projects/list.html +++ b/layouts/projects/list.html @@ -12,6 +12,7 @@

{{ .Description }}

📅: {{ partial "time.html" . }}

📍: {{ .Params.place }}

+

{{ T (cond (eq (.Params.finished) true) "finished" "unfinished") }}

Info