From f7c3af6195259367b1bc172cca4d411d72ca0fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Mon, 28 Aug 2023 19:28:35 +0200 Subject: [PATCH 01/12] Add default language, remove custom publish dir --- config.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.toml b/config.toml index d8c3228..001863c 100644 --- a/config.toml +++ b/config.toml @@ -1,10 +1,9 @@ baseURL = "https://files.hyteck.de" languageCode = "de" +defaultContentLanguage = 'de' title = "Gebühr.net" theme = "color-your-world" - -publishDir="../sws/files.hyteck.de/" relativeURLs=true From 10e27644f69e8f51d51d2c68cf7f23bf03933f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Mon, 28 Aug 2023 19:29:09 +0200 Subject: [PATCH 02/12] Content corrections --- config.toml | 4 ++-- content/_index.de.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 001863c..b3d7b04 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,7 @@ theme = "color-your-world" relativeURLs=true -copyright = "Copyright © Danial & Julian-Samuel Gebühr" +copyright = "Copyright © Daniel & Julian-Samuel Gebühr" [params] @@ -16,7 +16,7 @@ copyright = "Copyright © Danial & Julian-Samuel Gebühr" # Author author = "Julian-Samuel Gebühr" - authorDesc = "Medizininformatiker, Opem Source Entwickler" + authorDesc = "Medizininformatiker, Open Source Entwickler" # Footer text # Each value will become a paragraph diff --git a/content/_index.de.md b/content/_index.de.md index b03dc9e..ffe0c1f 100644 --- a/content/_index.de.md +++ b/content/_index.de.md @@ -1,7 +1,7 @@ --- -title : "Welcome" +title : "Wilkommen" disableTitleSeparator : true --- -Website der Familie Gebühr. Für Internetdienstleistungen gerne die Kontaktdaten nutzen. +Website der Familie Gebühr. Für Internetdienstleistungen gerne [Kontakt](/kontakt) aufnehmen. From df8e59b19ea8969ea1bae26e609a6d63af4690b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Mon, 28 Aug 2023 19:29:40 +0200 Subject: [PATCH 03/12] Specify language --- content/impressum/{index.md => index.de.md} | 0 content/kontakt/{index.md => index.de.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename content/impressum/{index.md => index.de.md} (100%) rename content/kontakt/{index.md => index.de.md} (100%) diff --git a/content/impressum/index.md b/content/impressum/index.de.md similarity index 100% rename from content/impressum/index.md rename to content/impressum/index.de.md diff --git a/content/kontakt/index.md b/content/kontakt/index.de.md similarity index 100% rename from content/kontakt/index.md rename to content/kontakt/index.de.md From 2d1be97ea55718601cc85f2de934a23ee75b9b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Mon, 28 Aug 2023 19:29:55 +0200 Subject: [PATCH 04/12] Add german language --- themes/color-your-world | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/color-your-world b/themes/color-your-world index 61d9137..57cfc5b 160000 --- a/themes/color-your-world +++ b/themes/color-your-world @@ -1 +1 @@ -Subproject commit 61d9137fa3bdfd909aad34fa96ce37aeffb7005e +Subproject commit 57cfc5bc482c6a31c9a68eeaeb6e4d0f175c7222 From 473572f1640de2f13c823c6718c74db5c367aeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Mon, 28 Aug 2023 19:30:20 +0200 Subject: [PATCH 05/12] Add readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..847529d --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Getting started + +* Clone the repository +* Clone the submodules (the theme) +```bash +git submodule update --init --recursive +``` +* Run the local hugo server with `hugo server` From adfbb243a1c6115f2f0b3bdb0d57c445f6d43a2f Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 10:24:20 +0200 Subject: [PATCH 06/12] Add CI --- .woodpecker.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..2947c00 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +--- + +pipeline: + build: + image: klakegg/hugo + commands: + - hugo + + deploy: + image: appleboy/drone-scp + settings: + strip_components: 1 + host: + from_secret: host + username: + from_secret: ssh_user + target: + from_secret: path + source: public/ + key: + from_secret: ssh_key From c5b642b2de3ba16f53cf40fd11e76f2d9d4cd7b9 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 10:24:39 +0200 Subject: [PATCH 07/12] Adjust to real domain --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index b3d7b04..08fe03d 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://files.hyteck.de" +baseURL = "https://gebuehr.net" languageCode = "de" defaultContentLanguage = 'de' title = "Gebühr.net" From d43255bf8b855a7496fb76c9a005379e5e06e9b1 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 10:39:05 +0200 Subject: [PATCH 08/12] Use own fork of theme --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index a7dbbc2..01c2143 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "themes/color-your-world"] path = themes/color-your-world - url = https://gitlab.com/rmaguiar/hugo-theme-color-your-world.git + url = https://gitlab.com/moanos/hugo-theme-color-your-world.git From 786a91216830538fc8938eb678d12083ec671f01 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 10:43:20 +0200 Subject: [PATCH 09/12] Use hugo image with extendedsupport, see https://gohugo.io/troubleshooting/faq/\#i-get--this-feature-is-not-available-in-your-current-hugo-version --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2947c00..34d5250 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,7 @@ pipeline: build: - image: klakegg/hugo + image: klakegg/hugo:ext commands: - hugo From f7c0f294beb0c50d5b5d369d9bb2014f898ffc1c Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 10:44:26 +0200 Subject: [PATCH 10/12] Add CI status badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 847529d..b1c42fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![status-badge](https://woodpecker.hyteck.de/api/badges/96/status.svg)](https://woodpecker.hyteck.de/repos/96) + # Getting started * Clone the repository From 735599819985f8907f165c80dd627d41f204369b Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 4 Oct 2023 19:34:41 +0200 Subject: [PATCH 11/12] Link to own theme fork --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 08fe03d..4d237b8 100644 --- a/config.toml +++ b/config.toml @@ -21,7 +21,7 @@ copyright = "Copyright © Daniel & Julian-Samuel Gebühr" # Footer text # Each value will become a paragraph # Keep it as an array - footerText = [ "Generated with [Hugo](https://gohugo.io) using the [Color Your World](https://gitlab.com/rmaguiar/hugo-theme-color-your-world) theme." ] + footerText = [ "Generated with [Hugo](https://gohugo.io) using the [Color Your World](https://gitlab.com/moanos/hugo-theme-color-your-world) theme." ] # Site cover, for Open Graph, Twitter Cards and Schema.org # It will be used if the current page doesn't have an image cover From cfebefb0d1583a8a5595b0a67932a310689890c5 Mon Sep 17 00:00:00 2001 From: moanos Date: Mon, 13 Nov 2023 15:14:35 +0100 Subject: [PATCH 12/12] feat: Improve description --- config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 4d237b8..eef1ba2 100644 --- a/config.toml +++ b/config.toml @@ -12,7 +12,7 @@ copyright = "Copyright © Daniel & Julian-Samuel Gebühr" [params] # Site description - description = "Eine sehr statische Seite" + description = "Website der Familie Gebühr" # Author author = "Julian-Samuel Gebühr" @@ -28,7 +28,7 @@ copyright = "Copyright © Daniel & Julian-Samuel Gebühr" # File will be picked from the "assets" directory # Comment the lines if you don't want to use it cover = "img/cover.jpg" - coverAlt = "A placeholder that doesn't deserve to be described." + coverAlt = "" # Shows a message in the footer about JavaScript being disabled # The default is false