Code Monkey home page Code Monkey logo

Comments (8)

bep avatar bep commented on June 15, 2024 17

Is this by design?

Yes. Rename the home page content file to "_index.md" and this should work. You may have to add layout = single or something.

from hugo-material-docs.

settermjd avatar settermjd commented on June 15, 2024 1

Thanks for the suggestion/solution @bep. I only had to rename the home page content file to "_index.md" and that sorted out the issue for me (I'm using v0.37 darwin/amd64).

from hugo-material-docs.

ilyasotkov avatar ilyasotkov commented on June 15, 2024

The problem is not anyhow related to macOS, and appears only on Hugo v0.32 and higher.

0.31 and lower works just fine.

from hugo-material-docs.

dbdevtop avatar dbdevtop commented on June 15, 2024

Same errors on Win64 with Hugo v34.

29-01-_2018_08-12-30

from hugo-material-docs.

moorereason avatar moorereason commented on June 15, 2024

@bep,
It appears that content/index.md is gobbling up all regular pages (the "page" partition cache contains one item: index.md) so that shortcodes like {{< ref "getting-started/index.md" >}} no longer work. Delete content/index.md, and the ref calls work (and the cache contains all md files).

Is this by design?

from hugo-material-docs.

Hawker65 avatar Hawker65 commented on June 15, 2024

I have a similar issue :
If I copy the get-started to my test site, it works fine, but if I modify the content, it just 404.
I'm on Hugo 0.34.

from hugo-material-docs.

alexivkin avatar alexivkin commented on June 15, 2024

+1 please accept #92

from hugo-material-docs.

awrog avatar awrog commented on June 15, 2024

I'd love to try and use this theme!
Could you please make it work with Hugo 0.49? #92

from hugo-material-docs.

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.