Commit Graph
4 Commits
Author SHA1 Message Date
Arho Huttunen 3cf9f6cdee fix: comment provider not found (#2165)
Hugo v0.80.0 `Exists` function requires file extension unlike Hugo's Partial statement
2021-02-15 22:41:17 +00: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 fa8e64327e fix: don't require site.Params.comments
Enable `comments` to be removed from `params.toml` for a site that doesn't use comments
2020-10-24 19:47:55 +01:00
George Cushen 86da39719c refactor: hugo-academic to wowchemy sub-module 2020-09-02 20:59:27 +01:00