Comments (7)
Thanks I will check that
from hugo-theme-casper.
Also got a build error.
ERROR: 2017/04/01 16:11:46 template.go:350: template: theme/partials/semantic.html:25: function "slice" not defined
ERROR: 2017/04/01 16:11:46 template.go:119: html/template: "theme/partials/semantic.html" is an incomplete template in theme/partials/semantic.html
panic: reflect: call of reflect.Value.Type on zero Value [recovered]
panic: reflect: call of reflect.Value.Type on zero Value [recovered]
panic: reflect: call of reflect.Value.Type on zero Value [recovered]
panic: reflect: call of reflect.Value.Type on zero Value
When I used your example config.toml, the site would build but also give these errors.
ERROR: 2017/04/01 16:16:41 template.go:350: template: theme/partials/semantic.html:25: function "slice" not defined
ERROR: 2017/04/01 16:16:41 template.go:119: html/template: "theme/partials/semantic.html" is an incomplete template in theme/partials/semantic.html
ERROR: 2017/04/01 16:16:41 template.go:119: html/template: "theme/partials/semantic.html" is an incomplete template in theme/partials/semantic.html
ERROR: 2017/04/01 16:16:41 template.go:119: html/template: "theme/partials/semantic.html" is an incomplete template in theme/partials/semantic.html
ERROR: 2017/04/01 16:16:41 template.go:119: html/template: "theme/partials/semantic.html" is an incomplete template in theme/partials/semantic.html
1 of 1 draft rendered
0 future content
1 pages created
0 non-page files copied
2 paginator pages created
0 tags created
0 categories created
in 29 ms
from hugo-theme-casper.
Hi, I am very new to Hugo and I love your theme. But have many errors when I try to build the sites.
My Hugo version is 0.20.2 windows/amd64
Started building sites ...
ERROR 2017/04/19 09:58:51 Error while rendering "home": template: theme/index.html:1:3: executing "theme/index.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at : wrong number of args for relURL: want 1 got 0
ERROR 2017/04/19 09:58:51 Error while rendering "section": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at : wrong number of args for relURL: want 1 got 0
ERROR 2017/04/19 09:58:51 Error while rendering "page": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:101:5: executing "theme/partials/header.html" at <partial "navigation....>: error calling partial: template: theme/partials/navigation.html:9:17: executing "theme/partials/navigation.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided
ERROR 2017/04/19 09:58:51 Error while rendering "page": template: theme/page/single.html:1:3: executing "theme/page/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:101:5: executing "theme/partials/header.html" at <partial "navigation....>: error calling partial: template: theme/partials/navigation.html:9:17: executing "theme/partials/navigation.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided
ERROR 2017/04/19 09:58:51 Error while rendering "404": template: theme/404.html:1:3: executing "theme/404.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at : wrong number of args for relURL: want 1 got 0
from hugo-theme-casper.
Hi,
I think I have a similar problem too :
4s@StylZ:~/Documents/Projects/4sStylZ-blog$ hugo version
Hugo Static Site Generator v0.20.2 linux/amd64 BuildDate: 2017-04-16T13:21:30+02:00
4s@StylZ:~/Documents/Projects/4sStylZ-blog$ hugo server --theme=casper --buildDraftsStarted building sites ...
ERROR 2017/04/21 15:30:10 Error while rendering "home": template: theme/index.html:1:3: executing "theme/index.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at <relURL>: wrong number of args for relURL: want 1 got 0
ERROR 2017/04/21 15:30:10 Error while rendering "page": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:101:5: executing "theme/partials/header.html" at <partial "navigation....>: error calling partial: template: theme/partials/navigation.html:9:17: executing "theme/partials/navigation.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided
ERROR 2017/04/21 15:30:10 Error while rendering "section": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at <relURL>: wrong number of args for relURL: want 1 got 0
ERROR 2017/04/21 15:30:10 Error while rendering "404": template: theme/404.html:1:3: executing "theme/404.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:8:7: executing "theme/partials/header.html" at <partial "twitter_car...>: error calling partial: template: theme/partials/twitter_card.html:11:64: executing "theme/partials/twitter_card.html" at <relURL>: wrong number of args for relURL: want 1 got 0
Built site for language en:
1 of 1 draft rendered
0 future content
0 expired content
1 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 5 ms
Watching for changes in /home/aschmitt/Documents/Projects/4sStylZ-blog/{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
New to Hugo too. Sorry if this is a stupid question.
from hugo-theme-casper.
Hello I'll have a look. Can you provide me the content you are trying to generate ?
from hugo-theme-casper.
I can not reproduce this issue, can you send me your content and config.toml ?
from hugo-theme-casper.
I had the same problem with the config.toml file that is downloaded by default. All I did to work around it was I copied the example config file values in the readme file.
from hugo-theme-casper.
Related Issues (20)
- How to limit the width of image HOT 1
- Issue with syntax (code) highlighting in markdown
- Publishing date on mobile
- Hugo > 0.32.4 Layouts Issue HOT 4
- Use Page Resources for post image
- 404 page not found
- Limit text preview HOT 1
- Set weight for menu when set it in file metadata HOT 1
- how to add an video and set a favicon? HOT 3
- about deploy the blog to the github HOT 2
- Justify text HOT 1
- Changes for Hugo 0.20 HOT 1
- 'if isset .Site.Params "paginatedSections"' in 'home-content' doesn't work. HOT 2
- Build Error HOT 1
- simplify authors management
- Codepen Link HOT 2
- Class icon-hugo
- Twitter card partial template throws error when cover image is not set
- Twitter card should include cover image when present HOT 2
- Embedding stackoverflow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-casper.