1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-16 01:07:03 +01:00
hugo-theme-bootstrap4-blog/layouts/partials
Alan Orth 884713fc2a
layouts: Add theme support for categories and tags
Add categories/tags to front matter and they will be displayed on
summary and post pages, with links to taxonomy pages. Example:

  +++
  date = "2016-09-24T21:28:31+03:00"
  title = "Post title"
  categories = ["Nature"]
  tags = ["Wetland", "Oasis"]
  +++

For some reason if you add tags singularly, like:

  categories = "Nature"

you get index errors from Hugo. Not sure if I need to parse the
tags differently or just add more logic to test if the terms are
singular or not.
2016-09-26 08:32:46 +03:00
..
meta-terms.html layouts: Add theme support for categories and tags 2016-09-26 08:32:46 +03:00
metadata.html layouts: Add basic support for OpenGraph and Twitter card metadata 2016-09-17 18:05:22 +03:00
sharing-icons.html Add basic sharing icons to the bottom of posts 2016-09-18 17:11:08 +03:00
sidebar.html layouts/partials/sidebar.html: Use "Type" instead of "Section" 2016-09-17 16:56:27 +03:00