Comments (9)
That shouldn't be the case. I'll test it and let you know.
from kiss.
I found that even I copy it to /data,
I still can't access those variable...
Checking my config....
from kiss.
and FYI:
Hugo Static Site Generator v0.30.2 linux/amd64 BuildDate: 2017-10-22T12:02:52+08:00
Linux fedora 4.13.12-300.fc27.x86_64 #1 SMP Wed Nov 8 16:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
from kiss.
don't know what happened, I can't access .toml in /data
but I could access .yml in /data
.
from kiss.
it works after I add a theme.yml
into /themes/kiss/data
social:
base:
codepen: "https://codepen.io/"
email: "mailto:"
facebook: "https://facebook.com/"
github: "https://github.com/"
instagram: "https://instagram.com/"
linkedin: "https://linkedin.com/in/"
twitter: "https://twitter.com/"
from kiss.
I just tested it locally and everything works as expected.
If your site's repo is publicly available, I can test it with your repo then.
from kiss.
here is the repo for my blog: https://github.com/wildskyf/blog.wildsky.cc
simply comment themes/kiss/layouts/partials/nav.html L10 - L20 and site would work
thank you. :)
from kiss.
I found it worked after my mis-deploy... https://blog.wildsky.cc/
Hugo Static Site Generator v0.30.2 linux/amd64 BuildDate: 0001-01-01T00:00:00Z
but it would still give me error message at my local...
ERROR 2017/11/24 12:55:14 Error while rendering "page": template: theme/_default/single.html:2:3: executing "theme/_default/single.html" at <partial "nav" .>: error calling partial: template: theme/partials/nav.html:11:51: executing "theme/partials/nav.html" at <index $.Site.Data.th...>: error calling index: index of untyped nil
ERROR 2017/11/24 12:55:14 Error while rendering "taxonomy": template: theme/index.html:2:3: executing "theme/index.html" at <partial "nav" .>: error calling partial: template: theme/partials/nav.html:11:51: executing "theme/partials/nav.html" at <index $.Site.Data.th...>: error calling index: index of untyped nil
ERROR 2017/11/24 12:55:14 Error while rendering "section": template: theme/index.html:2:3: executing "theme/index.html" at <partial "nav" .>: error calling partial: template: theme/partials/nav.html:11:51: executing "theme/partials/nav.html" at <index $.Site.Data.th...>: error calling index: index of untyped nil
ERROR 2017/11/24 12:55:14 Error while rendering "home": template: theme/index.html:2:3: executing "theme/index.html" at <partial "nav" .>: error calling partial: template: theme/partials/nav.html:11:51: executing "theme/partials/nav.html" at <index $.Site.Data.th...>: error calling index: index of untyped nil
from kiss.
I update my hugo to 0.31 and it works now!
Thank you. :)
from kiss.
Related Issues (20)
- Render of taxonomyTerm failed HOT 3
- Pagination Not Respected for Pages Listed by Tag HOT 1
- Netlify deploy failed: can't evaluate field RegularPages HOT 3
- Custom Social Media Icon not working HOT 4
- Feed Validation HOT 1
- since hugo 0.65.0, tag page isn't showing
- How does hrefTargetBlank work? HOT 2
- Recommend submodule instead of normal git clone HOT 2
- Provide config option to read and use description from frontmatter / post config HOT 1
- Do not use target="_blank" for social media links HOT 2
- Use text-decoration: underline instead of border-bottom HOT 1
- Set font-size on html, body only and use rem
- Wrong headings
- Misplaced / wrong else in opengraph partial
- Missing meta description
- link and meta tags are not self-closing HOT 2
- Add archives support
- Add support for Dark Mode HOT 2
- Add support for Google Analytics V4 HOT 1
- Site.RSSLink is deprecated
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 kiss.