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"
This commit is contained in:
George Cushen committed 2021-02-09 21:19:42 +00:00
1 parent 50d3d41e9e
commit 60d36e66d2
14 files changed
+87 -79

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ node_modules/
# Hugo
resources/
public/
# Mac
.DS_Store