Template for shortcode "blocks/cover" not found
Closed this issue · 1 comments
DavitTec commented
Current Behavior
After fresh forked install using
Running the Site Locally With Golang
encounters the first error "Template for shortcode "blocks/cover" not found"
$ go version
go version go1.22.1 linux/amd64
$ make site
Checking if Go is installed...
Go is installed.
hugo server -D -F
Start building sites …
hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
Error: Error building site: "$HOME/layer5io-docs/content/en/_index.md:7:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
Built in 79 ms
make: *** [Makefile:24: site] Error 255
Expected Behavior
Assumed this would run out of the box
Environment
- Host OS: Linux Mint 21.1
DavitTec commented
Check Hugo Version
$ hugo version
hugo 0.92.2-1ubuntu0.1
Purge installed hugo
$ apt purge hugo
...
...
Removing hugo (0.92.2-1ubuntu0.1) ...
...
Prerequisites to build Hugo from source:
Standard edition: Go 1.20 or later
Extended edition: Go 1.20 or later, and GCC
$ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
Check Hugo version again
$ hugo version
hugo v0.123.8+extended linux/amd64 BuildDate=unknown
Lets try again
$ make site
Success!