Closed weqwer19 closed 6 years ago
What hugo version are you using (command: hugo env
)?
Have you installed it using a package manager like apt or dnf? In that case it may be very outdated and doesnt now the function default
yet.
You can get the newest version of hugo here.
I installed via apt and it was so very outdated (0.16). You are right. Installed now with snap and all are good.
Thank you so much!
It seems that I encounter a problem. Since I am a newbie and this is my first hugo installation, I really don't know what to do.
The page is loading without css.
ERROR: 2018/08/08 23:05:42 template.go:350: template: theme/_default/list.html:4: function "default" not defined ERROR: 2018/08/08 23:05:42 template.go:350: template: theme/gallery/list.html:3: function "default" not defined ERROR: 2018/08/08 23:05:42 template.go:350: template: theme/partials/head.html:12: function "default" not defined ERROR: 2018/08/08 23:05:42 template.go:350: template: theme/posts/single.html:1: function "default" not defined ERROR: 2018/08/08 23:05:42 template.go:119: html/template: "theme/partials/head.html" is an incomplete template in theme/partials/head.html 0 draft content 0 future content 0 pages created 1 non-page files copied 0 paginator pages created 0 tags created 0 categories created in 6 ms
Any thoughts?