Skip to content

Commit

Permalink
⬆️ update deps
Browse files Browse the repository at this point in the history
BREAKING CHANGE: require hugo version 0.134.2
  • Loading branch information
canstand committed Sep 19, 2024
1 parent 2b6813b commit 8b7ce99
Show file tree
Hide file tree
Showing 13 changed files with 147 additions and 134 deletions.
2 changes: 1 addition & 1 deletion config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[hugoVersion]
extended = false
min = "0.116.0"
min = "0.134.2"
[[mounts]]
source = 'content'
target = 'content'
Expand Down
4 changes: 2 additions & 2 deletions exampleSite/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/canstand/compost/exampleSite

go 1.20
go 1.22

require (
github.com/canstand/compost v0.6.0 // indirect
github.com/canstand/compost v0.7.0 // indirect
)

replace github.com/canstand/compost => ../
6 changes: 5 additions & 1 deletion exampleSite/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ defaultContentLanguage = "en"
title = "Compost"
enableEmoji = true
enableRobotsTXT = true
paginate = 5

# ignoreErrors = [ "error-remote-getjson", ]

# required
[build]
Expand Down Expand Up @@ -65,6 +66,9 @@ paginate = 5
series = "series"
tag = "tags"

[pagination]
pagerSize = 5

[params]
colorScheme = "auto"

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/canstand/compost

go 1.20
go 1.22
2 changes: 1 addition & 1 deletion layouts/partials/analytics.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if not .Site.IsServer -}}
{{ if not hugo.IsServer -}}
{{ with .Site.Params.fathomAnalytics.site -}}
{{ if isset $.Site.Params.fathomanalytics "domain" -}}
<script
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/css.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $mainCSS := resources.Get "css/main.css" }}
{{ $mainCSS = $mainCSS | resources.PostCSS (dict "inlineImports" true) }}
{{ $mainCSS = $mainCSS | css.PostCSS (dict "inlineImports" true) }}
{{ if hugo.IsProduction -}}
{{ $mainCSS = $mainCSS | minify | fingerprint | resources.PostProcess }}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/dev-parameters.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<div class="container mx-auto h-60 max-w-7xl overflow-y-auto p-4 lg:px-8 xl:px-12">
<table class="table-collapse w-full table-auto text-left">
<caption class="caption-top pb-2">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/dev-size-indicator.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<div
class="fixed right-0 top-0 z-30 mr-8 mt-12 flex h-8 w-8 items-center justify-center rounded-full bg-yellow-200 uppercase text-gray-700"
>
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ publish = "exampleSite/public"
command = "hugo --gc -s ./exampleSite --minify --baseURL $URL"

[build.environment]
HUGO_VERSION = "0.121.1"
HUGO_VERSION = "0.134.2"
HUGO_THEMESDIR = "../.."
HUGO_THEME = "repo"

Expand Down
Loading

0 comments on commit 8b7ce99

Please sign in to comment.