From 4517f2892e734921d2a3c8f3fd2d0b42b32b6e43 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Sat, 27 Sep 2025 20:56:47 +0200 Subject: [PATCH] init hugo with theme pickels --- .hugo_build.lock | 0 archetypes/default.md | 5 +++ content/posts/mastering-strudel.md | 8 +++++ hugo.toml | 54 ++++++++++++++++++++++++++++++ public/categories/index.xml | 11 ++++++ public/index.xml | 11 ++++++ public/sitemap.xml | 11 ++++++ public/tags/index.xml | 11 ++++++ themes/hugo_theme_pickles | 1 + 9 files changed, 112 insertions(+) create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 content/posts/mastering-strudel.md create mode 100644 hugo.toml create mode 100644 public/categories/index.xml create mode 100644 public/index.xml create mode 100644 public/sitemap.xml create mode 100644 public/tags/index.xml create mode 160000 themes/hugo_theme_pickles diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/content/posts/mastering-strudel.md b/content/posts/mastering-strudel.md new file mode 100644 index 0000000..d329d67 --- /dev/null +++ b/content/posts/mastering-strudel.md @@ -0,0 +1,8 @@ +--- +title: "Content Placeholder" +build: + render: never + list: never + publishResources: false +--- + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..e28a92d --- /dev/null +++ b/hugo.toml @@ -0,0 +1,54 @@ +baseURL = 'https://blog.librete.ch/' +languageCode = 'en-us' +title = 'LibreTECH' +copyright = '© Michał Czechowski' + +enableGitInfo = true + +theme = 'hugo_theme_pickles' + +publishDir = '/var/www/virtual/tengo/blog.librete.ch' +hugo_cache = '/home/tengo/tmp' + +[pagination] + pagerSize = 10 + +[params] + paginate = 10 + + #custom_css = ['/css/custom.css'] + + # Social (from site) + github = 'nextlevelshit' + linkedin = 'michael-werner-czechowski' + + author = 'Michał Czechowski' + authorwebsite = 'https://www.librete.ch' + #avatar = '/path/to/avatar' + contact = 'mailto:hello@librete.ch' + bio = 'IT-Architekt & Spezialist für Open Source Transformation' + subtitle = 'Thoughts on Open Source, Software Engineering & Technology' + #logo = '/path/to/logo' + #favicon = '/path/to/favicon' + +[[menu.main]] + name = 'Blog' + url = '/' + weight = 1 + +[[menu.main]] + name = 'Tags' + url = '/tags' + weight = 2 + +[related] + threshold = 80 + includeNewer = false + toLower = false + + [[related.indices]] + name = 'keywords' + weight = 150 + [[related.indices]] + name = 'tags' + weight = 100 diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..c7abb16 --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,11 @@ + + + + Categories on LibreTECH + https://blog.librete.ch/categories/ + Recent content in Categories on LibreTECH + Hugo + en-us + + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..6aa8293 --- /dev/null +++ b/public/index.xml @@ -0,0 +1,11 @@ + + + + LibreTECH + https://blog.librete.ch/ + Recent content on LibreTECH + Hugo + en-us + + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..149be8a --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,11 @@ + + + + https://blog.librete.ch/categories/ + + https://blog.librete.ch/ + + https://blog.librete.ch/tags/ + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..3ac3d12 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,11 @@ + + + + Tags on LibreTECH + https://blog.librete.ch/tags/ + Recent content in Tags on LibreTECH + Hugo + en-us + + + diff --git a/themes/hugo_theme_pickles b/themes/hugo_theme_pickles new file mode 160000 index 0000000..7836542 --- /dev/null +++ b/themes/hugo_theme_pickles @@ -0,0 +1 @@ +Subproject commit 7836542c6094897e5f9069cd5f53854fca7d3d51