1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-25 03:34:29 +01:00
hugo-theme-bootstrap4-blog/layouts
Alan Orth 1655b876a8
Use .Site.Params.mainSections instead of hard coding "post" type
Hugo 0.32 or so added the quasi-magical .Site.Params.mainSections slice
that returns a range over the section that has the most number of pages.

This way we don't need to hard code the "post" type, and instead simply
use the pages that the user has created. Hugo's quickstart, for example,
recommends users create "posts", which currently doesn't work with this
theme!

Closes #89
2018-03-09 17:50:03 +02:00
..
_default Use .Site.Params.mainSections instead of hard coding "post" type 2018-03-09 17:50:03 +02:00
partials Use .Site.Params.mainSections instead of hard coding "post" type 2018-03-09 17:50:03 +02:00
404.html layouts/404.html: Add minimal not found page 2018-01-14 05:49:55 +02:00
robots.txt Add robots.txt template 2016-09-21 22:37:39 +03:00