Created by: NotWoods
For #28479
Adds a base layout used by most other layouts. Also adds a base "redirect" layout to avoid some duplication.
Biggest sticking point here is body_override
.
Seems like hugo doesn't like having an attribute defined like this:
<body {{ block "body_attribute" . }}{{ end }}>
Since this is used just for the class attribute, you could add a class override like this:
<body class="{{ block "body_class" . }}{{ end }}">
But then you have <body class="">
on most pages. The issue indicates that you may want to add a body class for most pages anyways, so if this is a preferable approach let me know.
Preview: https://deploy-preview-31608--twbs-bootstrap.netlify.app/
TODO:
-
Test release-zip-examples just in case