66e4528a2b
7 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
66e4528a2b |
chore(deps): update dependency gohugoio/hugo to v0.84.1 (#6)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | patch | `v0.84.0` -> `v0.84.1` | --- ### Release Notes <details> <summary>gohugoio/hugo</summary> ### [`v0.84.1`](https://github.com/gohugoio/hugo/releases/v0.84.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.0...v0.84.1) This is a bug-fix release with a couple of important fixes. - Fix language menu config regression [093dacab]( |
|||
6d8ed508fa |
chore(deps): update dependency gohugoio/hugo to v0.84.0 (#5)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.83.1` -> `v0.84.0` | --- ### Release Notes <details> <summary>gohugoio/hugo</summary> ### [`v0.84.0`](https://github.com/gohugoio/hugo/releases/v0.84.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.83.1...v0.84.0) This release brings several configuration fixes and improvements that will be especially useful for themes. #### Deep merge of theme Params One of the most common complaint from Hugo theme owners/users has been about the configuration handling. Hugo has up until now only performed a shallow merge of theme `params` into the configuration. With that, given this example from a theme configuration: ```toml [params] [params.colours] blue="#​337DFF" green="#​68FF33" red="#FF3358" ``` If you would like to use the above theme, but want a different shade of red, you earlier had to copy the entire block, even the colours you're totally happy with. This was painful even the simplest setup. Now you can just override the `params` keys you want to change, e.g.: ```toml [params] [params.colours] red="#fc0f03" ``` For more information, and especially about the way you can opt out of the above behaviour, see [Merge Configuration from Themes](https://gohugo.io/getting-started/configuration/#merge-configuration-from-themes). #### Themes now support the config directory Now both the project and themes/modules can store its configuration in both the top level config file (e.g. `config.toml`) or in the `config` directory. See [Configuration Directory](https://gohugo.io/getting-started/configuration/#configuration-directory). #### HTTP headers in getJSON/getCSV `getJSON` now supports custom HTTP headers. This has been a big limitation in Hugo, especially considering the [Authorization](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) header. We have updated the internal Instagram shortcode to pass the access token in a header: {{ $hideCaption := cond (eq (.Get 1) "hidecaption") "1" "0" }} {{ $headers := dict "Authorization" (printf "Bearer %s" $accessToken) }} {{ with getJSON "https://graph.facebook.com/v8.0/instagram_oembed/?url=https://instagram.com/p/" $id "/&hidecaption=" $hideCaption $headers }} {{ .html | safeHTML }} {{ end }} Also see the discussion [this issue](https://github.com/gohugoio/hugo/issues/7879) about the access token above. #### New erroridf template func Sometime, especially when creating themes, it is useful to be able to let the user decide if an error situation is critical enough to fail the build. The new `erroridf` produces `ERROR` log statements that can be toggled off: ```html {{ erroridf "some-custom-id" "Some error message." }} ``` Will log: ERROR: Some error message. If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config: ignoreErrors = ["some-custom-id"] #### Stats This release represents **46 contributions by 11 contributors** to the main Hugo code base.[@​bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@​jmooring](https://github.com/jmooring), [@​satotake](https://github.com/satotake), and [@​Seirdy](https://github.com/Seirdy) for their ongoing contributions. And a big thanks to [@​digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the themes site in pristine condition. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **20 contributions by 10 contributors**. A special thanks to [@​salim-b](https://github.com/salim-b), [@​bep](https://github.com/bep), [@​thomasjsn](https://github.com/thomasjsn), and [@​lucasew](https://github.com/lucasew) for their work on the documentation site. Hugo now has: - 52487+ [stars](https://github.com/gohugoio/hugo/stargazers) - 432+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) - 370+ [themes](http://themes.gohugo.io/) #### Notes - We now do deep merging of `params` from theme config(s). That is you most likely what you want, but [Merge Configuration from Themes](https://gohugo.io/getting-started/configuration/#merge-configuration-from-themes) describes how you can get the old behaviour back. #### Enhancements ##### Templates - Rename err-missing-instagram-accesstoken => error-missing-instagram-accesstoken [9096842b]( |
|||
5a2451ca91 | chore(deps): update thegeeklab/alpine:latest docker digest | |||
5f1fca9675 | chore(deps): update thegeeklab/alpine:latest docker digest to 525dc4a | |||
e1fbc115d9 |
chore(deps): pin thegeeklab/alpine docker tag (#1)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | thegeeklab/alpine | final | pin | `latest` -> `latest` | 📌 **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset `:preserveSemverRanges` to your config if you instead don't wish to pin dependencies. --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻️ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: docker/hugo#1 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org> |
|||
22c0d82d5c
|
chore: set hugo env to prod by default | |||
7f78d0fb67
|
chore: initial commit |