Skip to content

Commit

Permalink
upgrade theme to v1.5.0 (#6)
Browse files Browse the repository at this point in the history
* upgrade theme to v1.5.0
  • Loading branch information
dcorto authored Jan 27, 2025
1 parent a9fd596 commit 786d10b
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ all: help
start-hugo-dev:
hugo serve --disableFastRender --ignoreCache

update-modules:
hugo mod get -u

help:
cat Makefile

.PHONY: start-hugo-dev help
.PHONY: start-hugo-dev update-modules help
10 changes: 10 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module github.com/dcorto/dcorto.github.io

go 1.23.5

require (
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 // indirect
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
github.com/zetxek/adritian-free-hugo-theme v1.5.0 // indirect
)
13 changes: 13 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 h1:SmpwwN3DNzJWbV+IT8gaFu07ENUFpCvKou5BHYUKuVs=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200/go.mod h1:kx8MBj9T7SFR8ZClWvKZPmmUxBaltkoXvnWlZZcSnYA=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+yb0/t3/rau1j8XlAxLE4CyXns2fqQbyqWfs=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/zetxek/adritian-free-hugo-theme v1.4.26 h1:ZwaY96aN6kfc7PLJtnjs7f4DOBR3ZthFsfvh8/MZ3eY=
github.com/zetxek/adritian-free-hugo-theme v1.4.26/go.mod h1:oNhQDb9cx5XrF09gCzipkKSb3vAXjYsC/5CEqb1Z24g=
github.com/zetxek/adritian-free-hugo-theme v1.4.27-0.20250122132343-aa5ba1188349 h1:aXm6Niq/+9hTLklIKPodZL1pOqw1KN6Sgli8RlXex40=
github.com/zetxek/adritian-free-hugo-theme v1.4.27-0.20250122132343-aa5ba1188349/go.mod h1:rBaUp2A0XzOQn/DReVVdDnbIjA/kaigo1xBHdLAvx8w=
github.com/zetxek/adritian-free-hugo-theme v1.5.0 h1:N/g2BUgqnJW5Wn67noef5Lyki5esEHgriNV8es3p4/g=
github.com/zetxek/adritian-free-hugo-theme v1.5.0/go.mod h1:RZxMuUPx+AJwqABiHDQWSVEskypgZCqZ0MwOgCvA6o0=
7 changes: 6 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
baseURL = "https://davidcorto.es/"
languageCode = "en"
theme = "adritian-free-hugo-theme"
#theme = "adritian-free-hugo-theme" <- using modules, do not need this line

# https://gohugo.io/content-management/taxonomies/
disableKinds = ["taxonomy", "term", "rss"]
enableRobotsTXT = true

[module]
[[module.imports]]
path = "github.com/zetxek/adritian-free-hugo-theme"

[params]

# Open Graph
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
/>
</noscript>
{{- range .Site.Params.plugins.scss }}
{{/* no external scss processing - as they need to be processed by the theme */}}
{{- $scss := resources.Get .URL }}
{{- $style := $scss | css.Sass }}
{{- if hugo.IsProduction }}
Expand Down
Empty file added themes/.gitkeep
Empty file.

0 comments on commit 786d10b

Please sign in to comment.