From f6817eb9539539c38afdf5dc9a2acaa689e5cc1e Mon Sep 17 00:00:00 2001 From: caiowakamatsu Date: Mon, 10 Nov 2025 03:51:05 -0300 Subject: [PATCH] home page? --- content/en/posts/hello.md | 6 ------ hugo.toml | 4 ++++ i18n/en.toml | 6 ++++++ i18n/pt.toml | 6 ++++++ 4 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 content/en/posts/hello.md create mode 100644 i18n/en.toml create mode 100644 i18n/pt.toml diff --git a/content/en/posts/hello.md b/content/en/posts/hello.md deleted file mode 100644 index 7bfa1e5..0000000 --- a/content/en/posts/hello.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -date = '2025-11-10T01:34:11-03:00' -draft = true -title = 'Hello' -+++ -hello this is a test diff --git a/hugo.toml b/hugo.toml index 8ab26ee..337ae16 100644 --- a/hugo.toml +++ b/hugo.toml @@ -14,3 +14,7 @@ defaultContentLanguageInSubdir = true [languages.pt] languageName = "Português" weight = 2 + +[params.homeInfoParams] + Title = "{{ i18n `homeTitle` }}" + Content = "{{ i18n `homeContent` }}" diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..93eb721 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,6 @@ +[homeTitle] +other = "Hey, I'm Caio" + +[homeContent] +other = "I build things, break them, and sometimes... write about it" + diff --git a/i18n/pt.toml b/i18n/pt.toml new file mode 100644 index 0000000..cdd5336 --- /dev/null +++ b/i18n/pt.toml @@ -0,0 +1,6 @@ +[homeTitle] +other = "Oi, sou o Caio" + +[homeContent] +other = "Construo coisas, quebro coisas, e algumas vezes, escrevo sobre isso" +