1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-18 02:07:05 +01:00
hugo-theme-bootstrap4-blog/layouts/_default
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
..
baseof.html Use .Site.Params.mainSections instead of hard coding "post" type 2018-03-09 17:50:03 +02:00
content.html Add option to control post truncation. 2017-04-04 12:45:11 +03:00
list.html Use .Site.Params.mainSections instead of hard coding "post" type 2018-03-09 17:50:03 +02:00
single.html Configurable keywords for blog posts. 2018-02-02 11:56:19 +01:00
summary.html Add Vim Modeline Comments to Files (#18) 2016-11-24 14:33:56 +02:00