Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-09 | cache: Hide IsResourceDir from the exported config | Bjørn Erik Pedersen | |
2023-08-08 | docs: Replace docs.json with docs.yaml | Bjørn Erik Pedersen | |
Updates #11345 | |||
2023-08-07 | Add all config to docshelper.json | Bjørn Erik Pedersen | |
Also consolidate so the mediaTypes and outputFormats are listed once only. Fixes #11328 | |||
2023-07-08 | docs: Refresh docs.json | Joe Mooring | |
2023-07-03 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2023-06-19 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2023-05-22 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2023-03-01 | cods: Regen docs helper | Bjørn Erik Pedersen | |
2023-01-17 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2022-12-23 | docs: Regen docs helper JSON | Bjørn Erik Pedersen | |
2022-12-05 | docs: Add basic doc for wrapStandAloneImageWithinParagraph etc. | Bjørn Erik Pedersen | |
See #10492 | |||
2022-11-24 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2022-11-17 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2022-11-17 | Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' | Bjørn Erik Pedersen | |
2022-09-22 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2022-09-19 | config/security: Allow proxy variables in subcommands | Mathieu Parent | |
In particular for go get | |||
2022-06-16 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2022-05-31 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2022-04-28 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2022-04-08 | deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0 | Joe Mooring | |
Fixes #9713 Fixes #9740 Adds support for minify.tdewolff.svg.keepComments (bool) | |||
2022-03-26 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2022-03-10 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2022-03-09 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2022-03-08 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2022-02-28 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2022-02-15 | deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0 | Bjørn Erik Pedersen | |
2022-01-12 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2022-01-04 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2021-12-23 | Revert "config/security: Add HOME to default exec env var whitelist" | Bjørn Erik Pedersen | |
There have been one report in the wild suggesting that this needs to be tested better before doing: https://discourse.gohugo.io/t/hugo-mod-failing-in-v0-91-1-but-works-in-v0-91-0/36180/5 This reverts commit fca266ebbb81af3d4479873a7a79759033c7ce25. | |||
2021-12-22 | config/security: Add HOME to default exec env var whitelist | Bjørn Erik Pedersen | |
See #9309 | |||
2021-12-17 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2021-12-16 | Add some basic security policies with sensible defaults | Bjørn Erik Pedersen | |
This ommmit contains some security hardening measures for the Hugo build runtime. There are some rarely used features in Hugo that would be good to have disabled by default. One example would be the "external helpers". For `asciidoctor` and some others we use Go's `os/exec` package to start a new process. These are a predefined set of binary names, all loaded from `PATH` and with a predefined set of arguments. Still, if you don't use `asciidoctor` in your project, you might as well have it turned off. You can configure your own in the new `security` configuration section, but the defaults are configured to create a minimal amount of site breakage. And if that do happen, you will get clear instructions in the loa about what to do. The default configuration is listed below. Note that almost all of these options are regular expression _whitelists_ (a string or a slice); the value `none` will block all. ```toml [security] enableInlineShortcodes = false [security.exec] allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$'] osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$'] [security.funcs] getenv = ['^HUGO_'] [security.http] methods = ['(?i)GET|POST'] urls = ['.*'] ``` | |||
2021-12-08 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-11-01 | Fix description of lang.FormatNumberCustom | Joe Mooring | |
It currently refers to itself as a simple alternative, when it should refer to lang.FormatNumber. | |||
2021-10-31 | Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e' | Bjørn Erik Pedersen | |
2021-08-03 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2021-07-29 | tpl/lang: Add new localized versions of lang.FormatNumber etc. | Bjørn Erik Pedersen | |
Fixes #8820 | |||
2021-06-18 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-06-18 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2021-06-14 | Misc config loading fixes | Bjørn Erik Pedersen | |
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster: ``` BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op ``` Fixes #8633 Fixes #8618 Fixes #8630 Updates #8591 Closes #6680 Closes #5192 | |||
2021-06-08 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-05-01 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-04-20 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2021-04-20 | Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe' | Bjørn Erik Pedersen | |
2021-03-21 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-02-18 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2021-02-08 | markup/goldmark: Add attributes support for blocks (tables etc.) | Bjørn Erik Pedersen | |
E.g.: ``` > foo > bar {.myclass} ``` There are some current limitations: For tables you can currently only apply it to the full table, and for lists the ul/ol-nodes only, e.g.: ``` * Fruit * Apple * Orange * Banana {.fruits} * Dairy * Milk * Cheese {.dairies} {.list} ``` Fixes #7548 | |||
2020-11-24 | docs: Regen docshelper | Bjørn Erik Pedersen | |
2020-11-21 | Revert "docs: Regenerate docshelper" | Bjørn Erik Pedersen | |
This reverts commit caf16c20853947138883f6460682e19733895f52. Closes #7972 | |||
2020-11-20 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |