hackertours-theme/layouts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel F. Dickinson eb27a1e023
Add schema.org BreadcrumbList to JSON+LD (#87)
* Add schema.org BreadcrumbList to JSON+LD

This implementation  depends on .Page.Ancestors, which requires Hugo
version v0.109.0.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>

* Fix extraneous comma in schema

For blog posts we ended up with an extraneous comma due to it being
outside the condition for the breadcrumb
JSON+LD.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>

* Pretty print breadcrumb JSON+LD for schema

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>

* Make breadcrumbs opt-in on non-blogSections

Sections except blogSections (which is a configurable set which is
defaulted to sections 'blog' and 'post'), may be part of
`breadcrumbSections`. For the breadcrumb Sections, the section and any
pages under it will have the `breadcrumb` attribute (of type
`BreadcrumbList`) added to the JSON+LD for their schema.org structured
data.

Update documentation of `params` for example `config.yaml` in README.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>

---------

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2023-04-23 20:17:52 +02:00
..
_default Math partial can not be cached. 2023-04-18 15:18:31 +02:00
micro Add content to top of list templates if there are any. 2022-05-24 22:45:04 +02:00
partials Add schema.org BreadcrumbList to JSON+LD (#87) 2023-04-23 20:17:52 +02:00
podcast Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component. 2023-03-15 15:46:09 +01:00
shortcodes Add math render codeblock and math shortcode. 2023-04-13 16:09:09 +02:00
taxonomy Add taxonomy summary template without date but with count and description. 2023-02-01 10:33:48 +01:00
404.html Add empty 404 template. 2019-07-23 12:04:49 +02:00
home.searchindex.json Replace .Site.x and $.Site.x with site.x. 2022-01-24 08:03:42 +01:00
index.html New card template. Add settings to transpile sass with libsass or dartsass. Add setting to use internal pagination template. Wrap summary in p tags. 2023-02-01 10:33:48 +01:00