From 9c6215d9a152f0a1facd916516c6d993fb51266e Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 20 Jul 2023 16:21:41 +0200 Subject: [PATCH] chore: bump hugo to v0.115.3 the hugo bump required updating some configuration fields, those are thus part of this change set --- .drone.yml | 10 ++++----- Dockerfile | 2 +- config.toml | 55 +++++++++++++++++++++++++--------------------- layouts/index.html | 2 +- 4 files changed, 37 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index 39fd68d..943ac93 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ trigger: steps: - name: alpine-hugo pull: always - image: docker.io/immawanderer/alpine-hugo:hugo-v0.105.0 + image: docker.io/immawanderer/alpine-hugo:hugo-v0.115.3 commands: - hugo version @@ -66,7 +66,7 @@ steps: - name: hugo-extended pull: always - image: docker.io/immawanderer/alpine-hugo:hugo-v0.105.0 + image: docker.io/immawanderer/alpine-hugo:hugo-v0.115.3 depends_on: [submodules] commands: - hugo version @@ -196,7 +196,7 @@ steps: - name: hugo-extended pull: always - image: docker.io/immawanderer/alpine-hugo:hugo-v0.105.0 + image: docker.io/immawanderer/alpine-hugo:hugo-v0.115.3 depends_on: [submodules] commands: - hugo version @@ -267,7 +267,7 @@ steps: - name: hugo-extended pull: always - image: docker.io/immawanderer/alpine-hugo:hugo-v0.105.0 + image: docker.io/immawanderer/alpine-hugo:hugo-v0.115.3 depends_on: [submodules] commands: - hugo version @@ -466,6 +466,6 @@ steps: --- kind: signature -hmac: 93c0e34716ff500781c62646dc417ea222ed43da5089c35ccaa1c96e662263d7 +hmac: bba585fcc25da54d977b4a233c988f5888f59ef91f51d893aeaefb7cb62c1379 ... diff --git a/Dockerfile b/Dockerfile index 93bad68..70a0619 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . . RUN git submodule init && \ git submodule update --recursive -FROM docker.io/immawanderer/alpine-hugo:hugo-v0.105.0 AS hugobuild +FROM docker.io/immawanderer/alpine-hugo:hugo-v0.115.3 AS hugobuild COPY --from=submodules /homepage/ /homepage/ diff --git a/config.toml b/config.toml index b89aa84..3a5a725 100644 --- a/config.toml +++ b/config.toml @@ -15,6 +15,9 @@ enableEmoji = true [taxonomies] tag = 'tags' +[permalinks] + posts = '/:year/:month/:title/' + [params] dateform = "02 Jan 2006" dateformShort = "02 Jan" @@ -57,36 +60,38 @@ enableEmoji = true alt = "dockerhub profile page" [languages] + [languages.logo.params.en] + logoText = "dotya.ml" + logoHomeLink = "/" + [languages.en] title = "dotya.ml" - subtitle = "" + + [languages.en.params] keywords = "homepage, development, git, programming" + subtitle = "hello friend. hello friend? that's lame. maybe I should give you a name." readOtherPosts = "" - [languages.en.params.logo] - logoText = "dotya.ml" - logoHomeLink = "/" - - # You can create a language based menu - [languages.en.menu] - [[languages.en.menu.main]] - identifier = "about" - name = "about" - url = "/about/" - alt = "dotya.ml status" - weight = 1 - [[languages.en.menu.main]] - identifier = "posts" - name = "posts" - url = "/posts/" - alt = "dotya.ml posts" - weight = 2 - [[languages.en.menu.main]] - identifier = "contact" - name = "contact" - url = "/contact/" - alt = "dotya.ml contact" - weight = 3 + # You can create a language based menu + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "about" + name = "about" + url = "/about/" + alt = "about dotya.ml" + weight = 1 + [[languages.en.menu.main]] + identifier = "posts" + name = "posts" + url = "/posts/" + alt = "dotya.ml posts" + weight = 2 + [[languages.en.menu.main]] + identifier = "contact" + name = "contact" + url = "/contact/" + alt = "dotya.ml contact" + weight = 3 [privacy] [privacy.disqus] diff --git a/layouts/index.html b/layouts/index.html index 816423c..e3d1097 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -33,7 +33,7 @@