Skip to content

Commit a9c9b02

Browse files
johanrinclaude
andcommitted
Fix archetype, config, and CI issues
- Fix date template syntax in archetype (spaces in braces) - Add categories/tags and remove unused isStarred from archetype - Remove additionalScripts referencing non-existent JS files - Fix webmanifest name from placeholder to "Johan Rin" - Update Hugo version in CI workflow to 0.154.5 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fcb0bbb commit a9c9b02

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
DART_SASS_VERSION: 1.97.1
2222
GO_VERSION: 1.25.5
23-
HUGO_VERSION: 0.153.2
23+
HUGO_VERSION: 0.154.5
2424
NODE_VERSION: 24.12.0
2525
TZ: Europe/Oslo
2626
steps:

archetypes/default.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title:
3-
date: { { .Date } }
3+
date: {{ .Date }}
44
draft: true
55
description:
66
images: ['post-cover.png']
7-
isStarred: false
7+
categories: ['']
8+
tags: ['']
89
---

hugo.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ enableEmoji = true
99

1010
# Use git commit dates for .Lastmod (improves sitemap and structured data)
1111
enableGitInfo = true
12-
ignoreErrors = ["additional-script-loading-error"] # ignore error of loading additional scripts.
12+
ignoreErrors = ["additional-script-loading-error"]
1313

1414
# traditional way: theme component resides in directory 'themes'
1515
theme = "hugo-blog-awesome"
@@ -84,11 +84,6 @@ theme = "hugo-blog-awesome"
8484
toc = true # set to false to disable table of contents 'globally'
8585
tocOpen = false # set to true to open table of contents by default
8686
goToTop = true # set to false to disable 'go to top' button
87-
additionalScripts = ['js/custom.js', 'js/custom-2.js']
88-
# Will try to load 'assets/js/custom.js' and 'assets/js/custom-2.js'.
89-
# Your custom scripts will be concatenated to one file `custom.js`.
90-
# When building for production it will be minified.
91-
# The file `custom.js` is loaded on each page (before body tag ends).
9287
dateFormat = "" # date format used to show dates on various pages. If nothing is specified, then "2 Jan 2006" format is used.
9388
# See https://gohugo.io/functions/time/format/ for available date formats.
9489
rssFeedDescription = "full" # available options: 1) summary 2) full
@@ -105,8 +100,8 @@ theme = "hugo-blog-awesome"
105100

106101
# Allow to override webmanifest options
107102
[params.webmanifest]
108-
name = "sitename" # will use "params.sitename" or "title" by default
109-
short_name = "sitename" # same as name
103+
name = "Johan Rin"
104+
short_name = "Johan Rin"
110105
start_url = "/" # will use homepage url by default
111106
theme_color = "#434648" # default is "#434648" (base color of text). Also will override html `<meta name="theme-color" />`
112107
background_color = "#fff" # by default depend on "params.defaultColor" for "light" or "auto" will be set to "#fff" for dark will be "#131418" (color of dark mode background)

0 commit comments

Comments
 (0)