Giter Site home page Giter Site logo

Comments (3)

adityatelange avatar adityatelange commented on June 27, 2024

Can't reproduce this issue. See generator meta tag https://adityatelange.github.io/hugo-PaperMod/

image

from hugo-papermod.

Cephra avatar Cephra commented on June 27, 2024

@adityatelange I've looked into the issue a bit more. It seems that the reason why the menu is rendering in the example site is this:

languages:
  en:
# ...
    menu:
      main:
        - name: Archive
          url: archives
          weight: 5
        - name: Search
          url: search/
          weight: 10
        - name: Tags
          url: tags/
          weight: 10
        - name: WiKi
          url: https://github.com/adityatelange/hugo-PaperMod/wiki/

I didn't put any translations in my toml and thus I'm relying on hugos internal menu generation.

Once I remove those translations in the exampleSite, I can reproduce the issue.

Now I wonder, is this actually an issue and if so, is it related to hugo or paperMod?

Maybe you can help!

Thanks,

Chris

from hugo-papermod.

Cephra avatar Cephra commented on June 27, 2024

Ah, I seem to have been wrong about how menus work in hugo.
I've figured it out now!

If anyone else comes across this, it seems that it was working before because of a bug in hugo which was fixed in https://github.com/gohugoio/hugo/pull/12349/files & https://github.com/gohugoio/hugo/pull/12403/files

Cheers!

from hugo-papermod.

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.