Hugo 0.18 Released: Everything Now a Page, and Twice as Fast!

Go upvote it:

https://news.ycombinator.com/item?id=13214573

8 Likes

Woohoo!

So question for you @bep. Looking through the source organization section of the docs, what is the difference between creating an index.md and an _index.md. Working with this on a site I’m currently developing, it seems that index.md renders the single.html layout but still is routed as the index page, so _index.md will look first to the section/sectionname.html layout first, correct?

index.md or foo.md is content and metadata for the single pages, _index.md of content and metadata for the “node” pages – aka the list pages (if you include the home page in that definition).

Just look at one of the use cases: Custom titles for taxonomies, sections etc.

1 Like

This is perhaps a moronic question, but does anyone know when 0.18 will be released on Homebrew? (or is it already and my brew out of whack?)

Brew (and some other update channels) are maintained by “someone else”, so I have no clue. Better to ask on the brew repo, maybe.

Thanks will do

@hafeez3000 created https://github.com/Homebrew/homebrew-core/pull/8070 for the brew update

Thanks @michael_henderson! Your hugo brew guide was really helpful when I installed the last version :slightly_smiling:

1 Like