Skip to content

Commit 8ecc2c1

Browse files
committed
[ admin ] Patchwork solution to get website building
No clue what is going on with neither Hugo nor the HugoBlox theme, but they seem to be fighting somewhat again. Although it really pains me, this yet again cements that I should write my own theme (or move to a more stable / well-established static site generator...)
1 parent b55e958 commit 8ecc2c1

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

config/_default/hugo.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ enableGitInfo: true
6565
summaryLength: 30
6666

6767
# #items per page in paginated lists
68-
paginate: 10
68+
#paginate: 10
69+
pagination:
70+
pagerSize: 10
6971

7072
enableEmoji: true
7173
enableRobotsTXT: true
@@ -80,12 +82,13 @@ permalinks:
8082
disableAliases: true
8183

8284
outputs:
83-
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
85+
### home: [HTML, RSS, headers, redirects, backlinks]
86+
home: [HTML, RSS]
8487
section: [HTML, RSS]
8588

8689
imaging:
8790
resampleFilter: lanczos
88-
quality: 75
91+
quality: 80
8992
anchor: smart
9093

9194
timeout: 600000
@@ -100,6 +103,7 @@ markup:
100103
_merge: deep
101104

102105
related:
106+
lineNos: false
103107
threshold: 80
104108
includeNewer: true
105109
toLower: true

config/_default/module.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,16 @@ imports:
88
## - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
99
## - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal
1010
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5
11+
### - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind
12+
13+
14+
### # Install any Hugo Blox within the `hugo-blox/blox/` folder
15+
### mounts:
16+
### - source: hugo-blox/blox/all-access
17+
### target: layouts/partials/blox/
18+
### includeFiles: '**.html'
19+
### - source: layouts
20+
### target: layouts
21+
### - source: assets
22+
### target: assets
23+

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/CodingCellist/personal-website
22

3-
go 1.16
3+
go 1.19
44

55
require (
66
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7

0 commit comments

Comments
 (0)