When I tried to deploy my site today, I received errors that prompted me to upgrade gohugo-theme-ananke
that hasnβt resolved the issue of the title and Iβm unsure how to resolve it.
Hugo humbles me
I had go.mod
:
module {my-repo}
go 1.19
require (
github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20230203204610-a1a99cf12681 // indirect
)
When I tried to deploy the site or just hugo server -D
, I received errors:
Start building sites β¦
hugo v0.132.0-DEV-e42263529c35d966b752690ad1bcb461b90b470d+extended linux/amd64 BuildDate=2024-08-11T18:57:15Z VendorInfo=snap:0.131.0+git23.e42263529
WARN deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in a future release. Use .Site.Params instead.
ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.133.0. Use .Site.Config.Services.Disqus.Shortname instead.
Curiously the (breaking) ERROR
is βwill be removed in Hugo 0.133.0β but Iβm running Hugo 0.132.0
My Hugo site content (ex-theme) does not reference .Site.Social
nor .Site.DisqusShortname
and so I assume the error results from the combination with the gohugo-theme-ananke
.
I realized Iβm using an outdated gohugo-theme-ananke
and bumped it:
go get github.com/theNewDynamic/gohugo-theme-ananke@latest
This resulted in other errors which Iβve avoided by deleting the content from my local layouts/_default/baseof.html
becauseβ¦
However, the .Site.Social
and .Site.DisqusShortname
errors persist.
I cloned gohugo-theme-ananke
repo and used the same hugo
instance to run its exampleSite
which works without issue.
So, my questions are:
- What can I do to resolve this error?
- Why is
hugo
bailing on a futureERROR
(v0.133.0
vsv0.132.0
)? - Why does
exampleSite
serve (no.Site.DisqusShortname
error) when my site (that doesnβt reference.Site.DisqusShortname
doesnβt?
Thanks!
tree
:
.
βββ archetypes
β βββ default.md
βββ content
β βββ posts
β βββ {various}
βββ data
βββ deploy.sh
βββ go.mod
βββ go.sum
βββ hugo.toml
βββ layouts
β βββ _default
β β βββ baseof.html
β β βββ _markup
β β βββ render-link.html
β βββ partials
β βββ analytics.html
βββ public
β βββ 404.html
β βββ ananke
β β βββ css
β βββ categories
β β βββ index.html
β β βββ index.xml
β βββ CNAME
β βββ dist
β β βββ css
β β βββ js
β βββ images
β β βββ {various}
β βββ index.html
β βββ index.xml
β βββ posts
β β βββ index.html
β β βββ index.xml
β β βββ page
β βββ README.md
β βββ robots.txt
β βββ sitemap.xml
β βββ tags
β βββ {various}
β βββ index.html
β βββ index.xml
βββ README.md
βββ resources
β βββ _gen
β βββ assets
β β βββ ananke
β β β βββ css
β β β βββ {several .content|.json}
β β βββ css
β β βββ ananke
β β βββ css
β β βββ {several .content|.json}
β βββ images
βββ static
β βββ images
β βββ ...
βββ themes