Commit Graph
5 Commits
Author SHA1 Message Date
George Cushen 81ba175229 fix: 404 "latest" don't list pages which Hugo doesn't render
where

_build:
  render: never
2021-05-26 23:38:49 +01:00
George Cushen f2a5331af0 fix: 404 "latest" order when some pages contain weights
Revert addition of homepage in latest - from prev commit
2021-05-26 23:20:38 +01:00
George Cushen 079a61ab10 fix: 404 "latest" order when some pages contain weights
Prevent Hugo ordering weighted pages higher in the "latest" content list.

Also include course/docs index pages (Hugo "sections") and remove private pages (although Hugo render option is preferred equiv to "private:true")
2021-05-26 23:09:50 +01:00
George Cushen 60d36e66d2 refactor: rename options for maps, search, and comments
Use provider names rather than integers.

BREAKING CHANGE:

- Rename `site.Params.comments.engine` to `site.Params.comments.provider`
- Rename `site.Params.search.engine` to `site.Params.search.provider`
- Rename `site.Params.map.engine` to `site.Params.map.provider`
- Use provider name (string) rather than integer
- For built-in search, provider is "wowchemy"
- For leaflet maps, the provider is "mapnik" or "mapbox"
2021-02-09 21:19:42 +00:00
George Cushen 86da39719c refactor: hugo-academic to wowchemy sub-module 2020-09-02 20:59:27 +01:00