Strata theme installation doesn't work anymore
Closed this issue · 5 comments
Folowing the README instruction I got this :
lsoave@basenode:~/Test/hugo-strata-site$ hugo server Started building sites ... ERROR: 2016/10/11 21:30:36 template.go:477: template: /home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html:7: function "block" not defined ERROR: 2016/10/11 21:30:36 general.go:212: Error while rendering homepage: template: "/home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html" is an incomplete or empty template; defined templates are: "_internal/shortcodes/relref.html", "_internal/shortcodes/figure.html", "_internal/shortcodes/ref.html", "_internal/opengraph.html", "_internal/shortcodes/test.html", "_internal/shortcodes/speakerdeck.html", "_internal/google_analytics.html", "_internal/pagination.html", "/home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html", "theme/_default/summary.html", "_internal/shortcodes/gist.html", "_internal/_default/sitemapindex.xml", "_internal/schema.html", "_internal/shortcodes/tweet.html", "_internal/_default/rss.xml", "_internal/_default/sitemap.xml", "_internal/disqus.html", "_internal/shortcodes/highlight.html", "main", "_internal/_default/robots.txt", "_internal/shortcodes/vimeo.html", "_internal/twitter_cards.html", "_internal/shortcodes/youtube.html", "_internal/google_news.html", "_internal/google_analytics_async.html"
My Hugo version is :
lsoave@basenode:~/Test/hugo-strata-site$ hugo version Hugo Static Site Generator v0.18-DEV BuildDate: 2016-10-11T21:20:45+02:00
Hello @lgs,
how did you set up your site? It's weird that the block
isn't defined since it's shipped with Go templates by default.
However, I created a new set up by following the instructions in the README:
- create a new Hugo site (implicitly)
- clone the latest version of the theme in the
themes
folder - copy everything from the
exampleSite
folder and replace files if necessary - run
hugo server
I used the latest commit to rebuild Hugo as I'm writing this. No error messages appear at my side. Maybe it helps to post the output of the hugo env
command.
@digitalcraftsman yes that what I did
... but is your stack different from my one ?
lsoave@basenode:~/Test/hugo-strata-site$ hugo env Hugo Static Site Generator v0.18-DEV BuildDate: 2016-10-11T21:20:45+02:00 GOOS="linux" GOARCH="amd64" GOVERSION="go1.5.1"
... but is your stack different from my one ?
I don't think so - I just use a newer version of Go. Hugo 0.17 is also compiled with Go 1.7 (or 1.7.1).
Hugo Static Site Generator v0.18-DEV BuildDate: 2016-10-11T17:46:26+02:00
GOOS="linux"
GOARCH="amd64"
Is the issue still present with Hugo v0.25.1?
Closing this issue due to inactivity.