Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-16 | Create a struct with all of Hugo's config options | Bjørn Erik Pedersen | |
Primary motivation is documentation, but it will also hopefully simplify the code. Also, * Lower case the default output format names; this is in line with the custom ones (map keys) and how it's treated all the places. This avoids doing `stringds.EqualFold` everywhere. Closes #10896 Closes #10620 | |||
2022-06-07 | Fix raw TOML dates in where/eq | Bjørn Erik Pedersen | |
Note that this has only been a problem with "raw dates" in TOML files in /data and similar. The predefined front matter dates `.Date` etc. are converted to a Go Time and has worked fine even after upgrading to v2 of the go-toml lib. Fixes #9979 | |||
2021-08-01 | Fix error handling for the time func alias | Bjørn Erik Pedersen | |
Fixes #8835 | |||
2021-08-01 | Fail on invalid time zone | Bjørn Erik Pedersen | |
Fixes #8832 | |||
2021-07-28 | Handle toml.LocalDate and toml.LocalDateTime in front matter | Bjørn Erik Pedersen | |
See #8801 | |||
2021-07-27 | Add timezone support for front matter dates without one | Bjørn Erik Pedersen | |
Fixes #8810 | |||
2021-07-27 | Localize time.Format | Bjørn Erik Pedersen | |
Fixes #8797 |