1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-14 00:07:03 +01:00
hugo-theme-bootstrap4-blog/layouts/partials
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
..
cookie-consent.html layouts/_default/baseof.html: Allow disabling of SRI 2017-04-12 21:38:10 +03:00
head-custom.html Add ability to insert custom code into the global <head>. (#17) 2016-11-22 21:11:50 +02:00
head-meta.html Revert to using Hugo's own OpenGraph template 2017-02-21 16:14:13 +02:00
meta-terms.html layouts: retab after addition of modelines 2016-11-24 14:39:39 +02:00
recent.html Use .Site.Params.mainSections instead of hard coding "post" type 2018-03-09 17:50:03 +02:00
sharing-icons.html layouts/partials/sharing-icons.html: Icons are no longer configurable 2017-01-21 19:26:40 +02:00
sidebar.html layouts/partials/sidebar.html: Use margin class instead of offset 2017-08-13 11:41:35 +03:00