GithubHelp home page GithubHelp logo

Comments (9)

ribice avatar ribice commented on July 19, 2024 1

That shouldn't be the case. I'll test it and let you know.

from kiss.

wildskyf avatar wildskyf commented on July 19, 2024

I found that even I copy it to /data,
I still can't access those variable...

Checking my config....

from kiss.

wildskyf avatar wildskyf commented on July 19, 2024

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.

wildskyf avatar wildskyf commented on July 19, 2024

don't know what happened, I can't access .toml in /data but I could access .yml in /data.

from kiss.

wildskyf avatar wildskyf commented on July 19, 2024

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.

ribice avatar ribice commented on July 19, 2024

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.

wildskyf avatar wildskyf commented on July 19, 2024

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.

wildskyf avatar wildskyf commented on July 19, 2024

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.

wildskyf avatar wildskyf commented on July 19, 2024

I update my hugo to 0.31 and it works now!
Thank you. :)

from kiss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.