Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on serving the site #63

Open
palash25 opened this issue Feb 4, 2018 · 4 comments
Open

Error on serving the site #63

palash25 opened this issue Feb 4, 2018 · 4 comments

Comments

@palash25
Copy link

palash25 commented Feb 4, 2018

 palash25@Lenovo-G50  ~/Dev/Projects/palash25.gtihub.io   master ●✚  hugo server -D                                               
ERROR: 2018/02/04 18:28:39 template.go:350: template: theme/partials/sidemenu.html:25: function "safeHTMLAttr" not defined
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
0 draft content
0 future content
6 pages created
0 non-page files copied
1 paginator pages created
6 tags created
0 topics created
in 72 ms
Watching for changes in /home/palash25/Dev/Projects/palash25.gtihub.io/{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

@HorribleGeek
Copy link
Contributor

Something is missing.. Can you please give your repo url?

@palash25
Copy link
Author

palash25 commented Feb 8, 2018

I was testing it locally I haven't pushed it to github yet

@HorribleGeek
Copy link
Contributor

The issue is with sidemenu.html file, try replacing it with the one from this repo.

Also share your sidemenu.html file and I'll look into it. Upload it on Firefox Send

@christopher-kleine
Copy link

I had the same error. I tried a different theme and it's error messages were a bit more usefull.
The error was the hugo version. It was way too old.
After I upgraded it to the newest version both themes compiled perfectly. And now I'm using blackburn again.

Hope this helps a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants