Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-15 | Add --printUnusedTemplates | Bjørn Erik Pedersen | |
Fixes #9502 | |||
2022-02-15 | commands: Rename --i18n-warnings to printI18nWarnings | Bjørn Erik Pedersen | |
To get it in line with the others. | |||
2022-02-15 | commands: Rename --path-warnings, --print-men to --printPathWarnings, ↵ | Bjørn Erik Pedersen | |
--printMemoryUsage To get it in line with the others. | |||
2022-02-15 | deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0 | Bjørn Erik Pedersen | |
2022-02-14 | Merge commit '230a495941b191af0bdaa7e2fc8c61607cb38207' | Bjørn Erik Pedersen | |
2022-02-10 | Fix validation of Page Kind in cascade target map | Joe Mooring | |
Fixes #8888 | |||
2022-02-10 | Remove the "check" command | Joe Mooring | |
Closes #9454 | |||
2022-02-01 | Remove hugo gen autocomplete | Joe Mooring | |
Closes #8862 | |||
2022-01-12 | docs: Regenerate docshelper | Bjørn Erik Pedersen | |
2022-01-12 | Merge commit 'a8e9fc699a6ff7d578f97a7c553ce844efad8fdb' | Bjørn Erik Pedersen | |
2022-01-11 | docs: Add dependency table to maintainance page | Bjørn Erik Pedersen | |
See #8949 | |||
2022-01-11 | Add hugo.Deps | Bjørn Erik Pedersen | |
Fixes #8949 | |||
2022-01-07 | docs. Regen CLI docs | Bjørn Erik Pedersen | |
Closes #9363 | |||
2022-01-04 | docs: Regenerate CLI docs | 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-13 | Merge commit '45e6fdb315d113ba13e20a633ed0c67e3f25170d' | Bjørn Erik Pedersen | |
2021-12-08 | docs: Regenerate docs helper | Bjørn Erik Pedersen | |
2021-12-08 | Merge commit '8d9511a08f14260cbfb73119e4afae50e5a9966d' | Bjørn Erik Pedersen | |
2021-12-07 | Add custom font support to images.Text | Bjørn Erik Pedersen | |
Fixes #9253 | |||
2021-12-07 | images: Text filter that draws text with the given options (#9239) | Paul van Brouwershaven | |
Fixes #9238 | |||
2021-12-07 | tpl/transform: Optional options for highlight func | Joe Mooring | |
Closes #9249 Fixes gohugoio/hugoDocs#63 | |||
2021-12-02 | Implement XML data support | Paul van Brouwershaven | |
Example: ``` {{ with resources.Get "https://example.com/rss.xml" | transform.Unmarshal }} {{ range .channel.item }} <strong>{{ .title | plainify | htmlUnescape }}</strong><br /> <p>{{ .description | plainify | htmlUnescape }}</p> {{ $link := .link | plainify | htmlUnescape }} <a href="{{ $link }}">{{ $link }}</a><br /> <hr> {{ end }} {{ end }} ``` Closes #4470 | |||
2021-12-02 | Make resources.Get use a file cache for remote resources | Paul van Brouwershaven | |
Closes #9228 | |||
2021-11-30 | Add remote support to resources.Get | Paul van Brouwershaven | |
Closes #5255 Supports #9044 | |||
2021-11-17 | releaser: Add release notes to /docs for release of 0.89.4v0.89.4 | hugoreleaser | |
[ci skip] | |||
2021-11-15 | releaser: Add release notes to /docs for release of 0.89.3v0.89.3 | hugoreleaser | |
[ci skip] | |||
2021-11-08 | releaser: Add release notes to /docs for release of 0.89.2v0.89.2 | hugoreleaser | |
[ci skip] | |||
2021-11-05 | releaser: Add release notes to /docs for release of 0.89.1v0.89.1 | hugoreleaser | |
[ci skip] | |||
2021-11-02 | releaser: Add release notes to /docs for release of 0.89.0v0.89.0 | hugoreleaser | |
[ci skip] | |||
2021-11-02 | docs: Regen CLI docs | 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-11-01 | Update Twitter shortcode oEmbed endpoint | Joe Mooring | |
The existing endpoint will be retired and removed on November 23, 2021. References: - https://twittercommunity.com/t/consolidating-the-oembed-functionality/154690 - https://developer.twitter.com/en/docs/twitter-for-websites/oembed-api#Embedded This is a backward compatible change. The existing endpoint requires a single parameter: the id of the tweet. The new endpoint requires two parameters: the id of the tweet, and the user with whom it is associated. For the moment, if you supply the wrong user, the request will be redirected (with a small delay) to the correct user/id pair. This behavior is undocumented, but we will take advantage of it as Hugo site authors transition to the new syntax. {{< tweet 1453110110599868418 >}} --> works, throws warning, deprecate at some point {{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} --> new syntax Fixes #8130 | |||
2021-10-31 | Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e' | Bjørn Erik Pedersen | |
2021-10-20 | hugofs: Add includeFiles and excludeFiles to mount configuration | Bjørn Erik Pedersen | |
Fixes #9042 | |||
2021-10-10 | Allow multiple plugins in the PostCSS options map | Joe Mooring | |
Usage: {{ $options := dict "use" "autoprefixer postcss-color-alpha" }} {{ $style := resources.Get "main.css" | resources.PostCSS $options }} Fixes #9015 | |||
2021-10-09 | docs: Create path.Clean documentation | Joe Mooring | |
Related to #9005 | |||
2021-09-04 | releaser: Add release notes to /docs for release of 0.88.1v0.88.1 | hugoreleaser | |
[ci skip] | |||
2021-09-02 | releaser: Add release notes to /docs for release of 0.88.0v0.88.0 | hugoreleaser | |
[ci skip] | |||
2021-08-21 | highlight: Remove some pygments references | Helder Pereira | |
2021-08-03 | releaser: Add release notes to /docs for release of 0.87.0v0.87.0 | hugoreleaser | |
[ci skip] | |||
2021-08-03 | docs: Adjust config docs | Bjørn Erik Pedersen | |
2021-08-03 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2021-08-03 | docs: Regen docs helper | Bjørn Erik Pedersen | |
2021-08-03 | Merge commit 'bd77f6e1c99e04a476f0b1bb4e44569134e02399' into release-0.87.0 | Bjørn Erik Pedersen | |
2021-08-03 | docs: Adjust time zone docs | Bjørn Erik Pedersen | |
2021-07-30 | Merge branch 'release-0.86.1' | Bjørn Erik Pedersen | |