From 9a2d330cdfe07ae1f1767bf6d15abcdf5a690cfc Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 15 Jun 2026 20:15:07 +0200 Subject: [PATCH] Make proper use of Go workspace. --- config/development/hugo.yaml | 1 - config/development/module.yaml | 2 ++ go.mod | 2 +- i18n/en.yaml | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 config/development/module.yaml create mode 100644 i18n/en.yaml diff --git a/config/development/hugo.yaml b/config/development/hugo.yaml index 338a618..70521c0 100644 --- a/config/development/hugo.yaml +++ b/config/development/hugo.yaml @@ -1,2 +1 @@ baseURL: 'http://localhost:1313/' -workspace: hugo.work diff --git a/config/development/module.yaml b/config/development/module.yaml new file mode 100644 index 0000000..a629813 --- /dev/null +++ b/config/development/module.yaml @@ -0,0 +1,2 @@ +workspace: hugo.work + diff --git a/go.mod b/go.mod index 372563a..34a027d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.bovender.de/daniel/blog -go 1.26.4 +go 1.22 require ( git.bovender.de/daniel/hugo_cookie_consent v0.0.2 // indirect diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..50ba2a4 --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1,3 @@ +notFound: Page not found +home: Home +archives: Archives