1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-06-26 16:13:45 +02:00
hugo-theme-bootstrap4-blog/layouts
Alan Orth d214834089
Allow configuration of recent posts on sidebar
By default it shows the latest five posts, but you can set this
property in your config to override it:

  [params.sidebar]
    num_recent_posts = 7

Still no way to disable it, as I don't understand golang's HTML
templating stuff yet. The Hugo docs are a bit confusing, but it
seems like conditionals are a bit tricky because both false and
0 return a boolean false... hmm.

See: https://gohugo.io/templates/go-templates/
2016-09-07 23:54:55 +03:00
..
_default Allow site description to be Markdown 2016-09-07 16:47:59 +03:00
partials Allow configuration of recent posts on sidebar 2016-09-07 23:54:55 +03:00
404.html First commit with initial theme 2016-08-28 16:22:32 +03:00