zu implementieren Ich bin mit Ubuntu 16.04 und ich installierte Hugo mit:'Funktion "jsonify" nicht definiert' Fehler beim Versuch, in hugo
sudo apt-get install hugo
Meine hugo Version:
Hugo Static Site Generator v0.16-DEV BuildDate: 2016-02-06T12:14:17-05:00
Ich habe versucht, hugo-theme-düster wie die Quick start tutorial in Hugo-Website zu implementieren.
Nach dem Thema Klonen mit
git clone https://github.com/Zenithar/hugo-theme-bleak.git
ich versucht mit hugo Server folgenden Befehl:
hugo server --theme=hugo-theme-bleak --buildDrafts
Aber ich die folgende Fehlermeldung erhalten, und die Seite nicht richtig generiert.
ERROR: 2017/07/15 12:40:28 server.go:121: port 1313 already in use,
attempting to use an available port
ERROR: 2017/07/15 12:40:28 template.go:350: template: theme/partials
/header.html:112: function "jsonify" not defined
ERROR: 2017/07/15 12:40:28 template.go:350: template: theme/partials
/pagination.html:4: function "slice" not defined
ERROR: 2017/07/15 12:40:28 template.go:119: html/template:
"theme/partials/header.html" is an incomplete template in theme/partials
/header.html
ERROR: 2017/07/15 12:40:28 template.go:119: html/template:
"theme/partials/pagination.html" is an incomplete template in
theme/partials/pagination.html
ERROR: 2017/07/15 12:40:28 template.go:119: html/template:
"theme/partials/header.html" is an incomplete template in theme/partials
/header.html
ERROR: 2017/07/15 12:40:28 template.go:119: html/template:
"theme/partials/header.html" is an incomplete template in theme/partials
/header.html
ERROR: 2017/07/15 12:40:28 template.go:119: html/template:
"theme/partials/pagination.html" is an incomplete template in
theme/partials/pagination.html
1 of 1 draft rendered
0 future content
1 pages created
0 non-page files copied
2 paginator pages created
0 categories created
0 tags created
in 15 ms
Die gleiche Art auch ‚Funktion nicht definiert‘ Fehler mit einigen anderen Themen auftauchen, die ich versuchte.
Irgendwelche Ideen zur Behebung?
Vielen Dank für Ihre Hilfe!