nraboy / hugo-phlat-theme Goto Github PK
View Code? Open in Web Editor NEWA flat theme for the Hugo static template engine
License: MIT License
A flat theme for the Hugo static template engine
License: MIT License
Hi,
Thanks for creating this theme. I am trying to build a blog in Chinese. It looks pretty good except line spacing is too small. Can I please point out where should I go if I want to increase the line spacing?
Apparently a scammer has registered the default base url genreated by hugo ("http://replace-this-with-your-hugo-site.com") and has some malware, ads, etc on it. See: gohugoio/hugoThemes#171.
To avoid such abuse in the future I would recommend to switch to a base url like "https://www.example.com".
Thanks
I was following your instructions about creating a new site, however there are a few things missing in the Readme.md.
hugo new page/about.md
2)For the first post must include at least 1 categories because hugo will have an error serving:
template: theme/_default/single.content.html:5:54: executing "theme/_default/single.content.html" at <len>: wrong number of args for len: want 1 got 0 in theme/_default/single.content.html
The number two I think could be considered as a bug.
By the way your template is awesome, amazing job!
Hello!
$subj, when trying to run this theme against my blog source I get following (and main page won't render, only part of posts pages):
Building sites … ERROR 2018/03/20 16:00:33 in .Render: Failed to execute template "theme/_default/single.content.html": template: theme/_default/single.content.html:5:54: executing "theme/_default/single.content.html" at <len>: wrong number of args for len: want 1 got 0
ERROR 2018/03/20 16:00:33 Error while rendering "page" in "": template: theme/_default/single.html:3:7: executing "theme/_default/single.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "page" in "post/": template: theme/_default/single.html:3:7: executing "theme/_default/single.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "taxonomy" in "": template: theme/_default/list.html:3:7: executing "theme/_default/list.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "home" in "": template: theme/index.html:3:7: executing "theme/index.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "taxonomyTerm" in "": template: theme/_default/terms.html:3:7: executing "theme/_default/terms.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "section" in "": template: theme/_default/list.html:3:7: executing "theme/_default/list.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
ERROR 2018/03/20 16:00:33 Error while rendering "404" in "": template: theme/404.html:3:7: executing "theme/404.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:16:90: executing "theme/partials/head.html" at <delimit .Site.Params...>: error calling delimit: can't iterate over <nil>
The reason is likely some absent .Site.
parameter but you can't tell it from error message, I guess input parameters handling could be improved.
cboettig/hugo-now-ui#9 is a good reference point for solving this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.