Commit Graph

114 Commits

Author SHA1 Message Date
56b99a3c3b chore(deps): update dependency gohugoio/hugo to v0.87.0 (#11)
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/tag Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.86.1` -> `v0.87.0` |

---

### Release Notes

<details>
<summary>gohugoio/hugo</summary>

### [`v0.87.0`](https://github.com/gohugoio/hugo/releases/v0.87.0)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.86.1...v0.87.0)

Hugo `0.87` brings two long sought-after features: Default time zone support (per language if needed) for dates without zone offset or location info, and localized time and dates and numbers (backed by [CLDR](https://en.wikipedia.org/wiki/Common_Locale_Data_Repository)).

For more information, see:

-   The [time zone config](https://gohugo.io/getting-started/configuration/#timezone) documentation.
-   The [time.Format](https://gohugo.io/functions/dateformat/) documentation. This function will now give you localized dates (with weekdays and months in the current language). It supports all of Go's layout syntax, but also some predefined constants, e.g. `{{ .Date | time.Format ":date_long" }}`.
-   A set of new [localized number formatting ](https://gohugo.io/functions/lang/)

Also in this release, we have switched to using [go-toml](https://github.com/pelletier/go-toml) for all things TOML in Hugo. A big thanks to [@&#8203;pelletier](https://github.com/pelletier) for his work on the `v2` version. It's both faster than what we had and [TOML v1.0.0](https://toml.io/en/v1.0.0) compliant.

This release represents **40 contributions by 4 contributors** to the main Hugo code base.[@&#8203;bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot), [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman), and [@&#8203;jmooring](https://github.com/jmooring) for their ongoing contributions.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **1 contributions by 1 contributors**.

Hugo now has:

-   53261+ [stars](https://github.com/gohugoio/hugo/stargazers)
-   430+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
-   395+ [themes](http://themes.gohugo.io/)

#### Notes

-   Deprecate Blackfriday and fix a potential deadlock in config [c7252224](c7252224c4) [@&#8203;bep](https://github.com/bep) [#&#8203;8792](https://github.com/gohugoio/hugo/issues/8792)[#&#8203;8791](https://github.com/gohugoio/hugo/issues/8791)

#### Enhancements

##### Templates

-   Adjust tests to handle matching local time zones [9ff17c33](9ff17c3324) [@&#8203;bep](https://github.com/bep) [#&#8203;8843](https://github.com/gohugoio/hugo/issues/8843)
-   Add new localized versions of lang.FormatNumber etc. [7907d24b](7907d24ba1) [@&#8203;bep](https://github.com/bep) [#&#8203;8820](https://github.com/gohugoio/hugo/issues/8820)

##### Other

-   Make sure module config loading errors have file positioning info [d70c4857](d70c485707) [@&#8203;bep](https://github.com/bep) [#&#8203;8845](https://github.com/gohugoio/hugo/issues/8845)
-   Remove superflous replace statement [7aaaf7e3](7aaaf7e33a) [@&#8203;bep](https://github.com/bep)
-   Reduce binary size vs locale, update to CLDR v36.1 [3a966555](3a96655592) [@&#8203;bep](https://github.com/bep) [#&#8203;8839](https://github.com/gohugoio/hugo/issues/8839)[#&#8203;8841](https://github.com/gohugoio/hugo/issues/8841)
-   Update github.com/tdewolff/minify/v2 v2.9.20 => v2.9.21 [9a7383ca](9a7383caf3) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8831](https://github.com/gohugoio/hugo/issues/8831)
-   Fail on invalid time zone [4d221ce4](4d221ce468) [@&#8203;bep](https://github.com/bep) [#&#8203;8832](https://github.com/gohugoio/hugo/issues/8832)
-   Improve handling of <nil> Params [e3dc5240](e3dc5240f0) [@&#8203;bep](https://github.com/bep) [#&#8203;8825](https://github.com/gohugoio/hugo/issues/8825)
-   Merge branch 'release-0.86.1' [268065cb](268065cb2d) [@&#8203;bep](https://github.com/bep)
-   bump github.com/evanw/esbuild from 0.12.16 to 0.12.17 [e90b3591](e90b3591a1) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/getkin/kin-openapi from 0.67.0 to 0.68.0 [4b7da6a9](4b7da6a9d7) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Go back to WARNING for Page deprecations [726fe9c3](726fe9c3c9) [@&#8203;bep](https://github.com/bep)
-   Handle toml.LocalDate and toml.LocalDateTime in front matter [b5de37ee](b5de37ee79) [@&#8203;bep](https://github.com/bep) [#&#8203;8801](https://github.com/gohugoio/hugo/issues/8801)
-   Upgrade github.com/pelletier/go-toml/v2 v2.0.0-beta.3 => v2.0.0-beta.3.0.20210727221244-fa0796069526 [bf301daf](bf301daf15) [@&#8203;bep](https://github.com/bep)
-   Switch to go-toml v2 [a3701e09](a3701e0931) [@&#8203;bep](https://github.com/bep) [#&#8203;8801](https://github.com/gohugoio/hugo/issues/8801)
-   bump github.com/tdewolff/minify/v2 from 2.9.19 to 2.9.20 [40b6016c](40b6016cf3) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Add a TOML front matter benchmark [7e130571](7e1305710f) [@&#8203;bep](https://github.com/bep)
-   Add timezone support for front matter dates without one [efa5760d](efa5760db5) [@&#8203;bep](https://github.com/bep) [#&#8203;8810](https://github.com/gohugoio/hugo/issues/8810)
-   Localize time.Format [a57dda85](a57dda854b) [@&#8203;bep](https://github.com/bep) [#&#8203;8797](https://github.com/gohugoio/hugo/issues/8797)
-   bump github.com/getkin/kin-openapi from 0.61.0 to 0.67.0 [f9afba93](f9afba9335) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/spf13/cast from 1.3.1 to 1.4.0 [a5d2ba42](a5d2ba429d) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump google.golang.org/api from 0.45.0 to 0.51.0 [31972f36](31972f3647) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/sanity-io/litter from 1.5.0 to 1.5.1 [2e58782f](2e58782f96) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13 [7b68f652](7b68f6524d) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/spf13/cobra from 1.1.3 to 1.2.1 [81265af2](81265af2cc) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.1 [c102c971](c102c9719b) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/google/go-cmp from 0.5.5 to 0.5.6 [7c0f904f](7c0f904f29) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/mitchellh/hashstructure from 1.0.0 to 1.1.0 [b2fbd4d1](b2fbd4d13a) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/gobuffalo/flect from 0.2.2 to 0.2.3 [90041d1b](90041d1b6d) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3 [05047096](05047096f5) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/aws/aws-sdk-go from 1.38.23 to 1.40.8 [a469156e](a469156ea4) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/tdewolff/minify/v2 from 2.9.18 to 2.9.19 [18fdd85b](18fdd85bcc) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Update github.com/evanw/esbuild v0.11.16 => v0.12.16 [aeb1935d](aeb1935d44) [@&#8203;bep](https://github.com/bep)
-   Update github.com/yuin/goldmark v1.3.9 => v1.4.0 [e09d7882](e09d7882c8) [@&#8203;bep](https://github.com/bep)
-   bump github.com/frankban/quicktest from 1.12.0 to 1.13.0 [15c0eed0](15c0eed048) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Bump all long-living deprecations to ERRORs [91cbb963](91cbb96302) [@&#8203;bep](https://github.com/bep)

#### Fixes

##### Other

-   Fix error handling for the time func alias [6c70e1f2](6c70e1f22f) [@&#8203;bep](https://github.com/bep) [#&#8203;8835](https://github.com/gohugoio/hugo/issues/8835)
-   Fix a potential deadlock in config reading [94b616bd](94b616bdfa) [@&#8203;bep](https://github.com/bep) [#&#8203;8791](https://github.com/gohugoio/hugo/issues/8791)
-   Fix theme count in release notes [a352d19d](a352d19d88) [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#11
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-08-05 21:36:27 +02:00
b0ef726597 chore(deps): update thegeeklab/alpine:latest docker digest
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-07-31 21:01:17 +00:00
2f941e6942 chore(deps): update dependency gohugoio/hugo to v0.86.1 (#9)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gohugoio/hugo](https://github.com/gohugoio/hugo) | patch | `v0.86.0` -> `v0.86.1` |

---

### Release Notes

<details>
<summary>gohugoio/hugo</summary>

### [`v0.86.1`](https://github.com/gohugoio/hugo/releases/v0.86.1)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.86.0...v0.86.1)

This is a bug-fix release with one important fix.

-   config: Fix a potential deadlock in config reading [94b616bd](94b616bdfa) [@&#8203;bep](https://github.com/bep) [#&#8203;8791](https://github.com/gohugoio/hugo/issues/8791)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#9
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-07-31 22:59:28 +02:00
a1d9219c1c chore(deps): update dependency gohugoio/hugo to v0.86.0 (#8)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.85.0` -> `v0.86.0` |

---

### Release Notes

<details>
<summary>gohugoio/hugo</summary>

### [`v0.86.0`](https://github.com/gohugoio/hugo/releases/v0.86.0)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.85.0...v0.86.0)

This is release is a set of smaller fixes and improvements. Some of the more noteable:

You can now have a top level [cascade](https://gohugo.io/content-management/front-matter#front-matter-cascade) (or one per language, if needed) section in your site configuration (e.g. `config.toml`). This way you can control default front matter values from outside of the content files.

Hugo's [Menu system](https://gohugo.io/content-management/menus/) works good, but hasn't been particulary easy to set the active menu state for section pages without a menu defintion. We have had the option [Section Menu for Lazy Bloggers](https://gohugo.io/templates/menu-templates/#section-menu-for-lazy-bloggers). That helped for the common case, but we have now made it behave more sensible out of the box: `$page.HasMenuCurrent $sectionMenuEntry` will now always return true for any descendant of that section. To support this for menu defintions in the site config, we have added a new `pageRef` option on [MenuEntry](https://gohugo.io/variables/menus/#menu-entry-variables):

```toml
[[menus.main]]
pageRef = "blog"
### When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found.
url = "/blog"
```

Set `pageRef` to a value that [site.GetPage](https://gohugo.io/functions/getpage/) understands, and the menu entry will be correctly connected to the page.

This release represents **14 contributions by 2 contributors** to the main Hugo code base.
Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **1 contributions by 1 contributors**.

Hugo now has:

-   53005+ [stars](https://github.com/gohugoio/hugo/stargazers)
-   431+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
-   370+ [themes](http://themes.gohugo.io/)

#### Enhancements

##### Other

-   Simplify "active menu" logic for section menus [d831d2fc](d831d2fce8) [@&#8203;bep](https://github.com/bep) [#&#8203;8776](https://github.com/gohugoio/hugo/issues/8776)
-   Make keepWhitespace = true default for HTML [c19f65f9](c19f65f956) [@&#8203;bep](https://github.com/bep) [#&#8203;8771](https://github.com/gohugoio/hugo/issues/8771)
-   Make FileMeta a struct [022c4795](022c479551) [@&#8203;bep](https://github.com/bep) [#&#8203;8749](https://github.com/gohugoio/hugo/issues/8749)
-   Add tabindex="0" to default <pre> wrapper [f27e5424](f27e542442) [@&#8203;rhymes](https://github.com/rhymes) [#&#8203;7194](https://github.com/gohugoio/hugo/issues/7194)
-   Rename/reorder the hook methods [80566481](805664818d) [@&#8203;bep](https://github.com/bep) [#&#8203;8755](https://github.com/gohugoio/hugo/issues/8755)
-   Support auto links in render hook [ee3d2bb1](ee3d2bb1d3) [@&#8203;bep](https://github.com/bep) [#&#8203;8755](https://github.com/gohugoio/hugo/issues/8755)
-   Adjust a test helper [eb2a5003](eb2a500367) [@&#8203;bep](https://github.com/bep)
-   Add config.cascade [5cb52c23](5cb52c2315) [@&#8203;bep](https://github.com/bep) [#&#8203;8741](https://github.com/gohugoio/hugo/issues/8741)
-   Regenerate image golden testdata [30eea391](30eea3915b) [@&#8203;bep](https://github.com/bep) [#&#8203;8729](https://github.com/gohugoio/hugo/issues/8729)

#### Fixes

##### Other

-   Fix panic on invalid config in "hugo mod get" and similar [351ed0f5](351ed0f569) [@&#8203;bep](https://github.com/bep) [#&#8203;8773](https://github.com/gohugoio/hugo/issues/8773)
-   Fix Params case handling for menu items defined in site config [634481ba](634481ba8c) [@&#8203;bep](https://github.com/bep) [#&#8203;8775](https://github.com/gohugoio/hugo/issues/8775)
-   Fix default values when loading from config dir [ae6cf93c](ae6cf93c84) [@&#8203;bep](https://github.com/bep) [#&#8203;8763](https://github.com/gohugoio/hugo/issues/8763)
-   Fix the deprecation error/warn log levels [a70da2b7](a70da2b74a) [@&#8203;bep](https://github.com/bep)
-   Fix transparency problem when converting 32-bit images to WebP [8f40f34c](8f40f34cd1) [@&#8203;bep](https://github.com/bep) [#&#8203;8729](https://github.com/gohugoio/hugo/issues/8729)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#8
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-07-25 14:30:45 +02:00
2374a6e19b chore(deps): update dependency gohugoio/hugo to v0.85.0 (#7)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.84.1` -> `v0.85.0` |

---

### Release Notes

<details>
<summary>gohugoio/hugo</summary>

### [`v0.85.0`](https://github.com/gohugoio/hugo/releases/v0.85.0)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.4...v0.85.0)

Hugo `0.85.0` is on the smaller side of releases, but the main new thing it brings should be important to those who need it: Poll based watching for file system changes.

Hugo uses [Fsnotify](https://github.com/fsnotify/fsnotify) to provide native file system notifications. This is still the default, but there may situations where this isn't working. The file may not support it (e.g. NFS), or you get the "too many open files" error and cannot or do not want to increase the `ulimit`. Enable polling by passing the `--poll` flag with an interval:

```bash
hugo server --poll 700ms
```

You van even do "long polling" by passing a long interval:

```bash
hugo server --poll 24h
```

This release represents **23 contributions by 6 contributors** to the main Hugo code base.[@&#8203;bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@&#8203;raoulb](https://github.com/raoulb), [@&#8203;jmooring](https://github.com/jmooring), and [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman) for their ongoing contributions.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **1 contributions by 1 contributors**.

Hugo now has:

-   52755+ [stars](https://github.com/gohugoio/hugo/stargazers)
-   431+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
-   370+ [themes](http://themes.gohugo.io/)

#### Enhancements

##### Other

-   Move time notification to after any build errors [04dc469f](04dc469fbd) [@&#8203;jhollowe](https://github.com/jhollowe) [#&#8203;8403](https://github.com/gohugoio/hugo/issues/8403)
-   Log warning for metadata decode error [07919d1c](07919d1ccb) [@&#8203;IveGotNorto](https://github.com/IveGotNorto) [#&#8203;8519](https://github.com/gohugoio/hugo/issues/8519)
-   Make the --poll flag a duration [e31b1d19](e31b1d1946) [@&#8203;bep](https://github.com/bep) [#&#8203;8720](https://github.com/gohugoio/hugo/issues/8720)
-   Regen CLI docs [43a23239](43a23239b2) [@&#8203;bep](https://github.com/bep)
-   Add polling as a fallback to native filesystem events in server watch [24ce98b6](24ce98b6d1) [@&#8203;bep](https://github.com/bep) [#&#8203;8720](https://github.com/gohugoio/hugo/issues/8720)[#&#8203;6849](https://github.com/gohugoio/hugo/issues/6849)[#&#8203;7930](https://github.com/gohugoio/hugo/issues/7930)
-   Bump github.com/yuin/goldmark v1.3.9 [0019d60f](0019d60f67) [@&#8203;bep](https://github.com/bep) [#&#8203;8727](https://github.com/gohugoio/hugo/issues/8727)
-   Add module.import.noMounts config [40dfdd09](40dfdd0952) [@&#8203;bep](https://github.com/bep) [#&#8203;8708](https://github.com/gohugoio/hugo/issues/8708)
-   Use value type for module.Time [3a6dc6d3](3a6dc6d3f4) [@&#8203;bep](https://github.com/bep)
-   Add version time to "hugo config mounts" [6cd2110a](6cd2110ab2) [@&#8203;bep](https://github.com/bep)
-   Add some more info to "hugo config mounts" [6a365c27](6a365c2712) [@&#8203;bep](https://github.com/bep)
-   Update to Minify v2.9.18 [d9bdd37d](d9bdd37d35) [@&#8203;bep](https://github.com/bep) [#&#8203;8693](https://github.com/gohugoio/hugo/issues/8693)
-   Remove credit from release notes [b2eaf4c8](b2eaf4c8c2) [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman)
-   Rename Header(s) to Heading(s) in ToC struct [a7e3da24](a7e3da242f) [@&#8203;bep](https://github.com/bep)

#### Fixes

##### Other

-   Fix tab selection of disabled items in internal pagination template [f75f9007](f75f90079a) [@&#8203;raoulb](https://github.com/raoulb)
-   Fix panic when theme has permalinks config [e451b984](e451b984cf) [@&#8203;bep](https://github.com/bep) [#&#8203;8724](https://github.com/gohugoio/hugo/issues/8724)
-   Fix Cloudflare vs Netlify cache dir issue [4c8552b1](4c8552b114) [@&#8203;bep](https://github.com/bep) [#&#8203;8714](https://github.com/gohugoio/hugo/issues/8714)
-   Fix date format in schema and opengraph templates [34e4742f](34e4742f0c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8671](https://github.com/gohugoio/hugo/issues/8671)
-   Fix Netlify default cache dir logic [6c8c0c8b](6c8c0c8b6a) [@&#8203;bep](https://github.com/bep) [#&#8203;8710](https://github.com/gohugoio/hugo/issues/8710)
-   Fix handling of invalid OS env config overrides [49fedbc5](49fedbc51c) [@&#8203;bep](https://github.com/bep) [#&#8203;8709](https://github.com/gohugoio/hugo/issues/8709)
-   Fix config handling with empty config entries after merge [19aa95fc](19aa95fc7f) [@&#8203;bep](https://github.com/bep) [#&#8203;8701](https://github.com/gohugoio/hugo/issues/8701)
-   Fix config loading for "hugo mod init" [923dd9d1](923dd9d1c1) [@&#8203;bep](https://github.com/bep) [#&#8203;8697](https://github.com/gohugoio/hugo/issues/8697)
-   Fix language menu config regression [093dacab](093dacab29) [@&#8203;bep](https://github.com/bep) [#&#8203;8672](https://github.com/gohugoio/hugo/issues/8672)
-   Fix merge of config with map\[string]string values. [4a9d408f](4a9d408fe0) [@&#8203;bep](https://github.com/bep) [#&#8203;8679](https://github.com/gohugoio/hugo/issues/8679)

### [`v0.84.4`](https://github.com/gohugoio/hugo/releases/v0.84.4)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.3...v0.84.4)

This is a bug-fix release with a couple of important fixes.

-   Fix Cloudflare vs Netlify cache dir issue [4c8552b1](4c8552b114) [@&#8203;bep](https://github.com/bep) [#&#8203;8714](https://github.com/gohugoio/hugo/issues/8714)
-   Fix date format in schema and opengraph templates [34e4742f](34e4742f0c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8671](https://github.com/gohugoio/hugo/issues/8671)

### [`v0.84.3`](https://github.com/gohugoio/hugo/releases/v0.84.3)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.2...v0.84.3)

This is a bug-fix release with a couple of important fixes.

-   config: Fix Netlify default cache dir logic [6c8c0c8b](6c8c0c8b6a) [@&#8203;bep](https://github.com/bep) [#&#8203;8710](https://github.com/gohugoio/hugo/issues/8710)
-   config: Fix handling of invalid OS env config overrides [49fedbc5](49fedbc51c) [@&#8203;bep](https://github.com/bep) [#&#8203;8709](https://github.com/gohugoio/hugo/issues/8709)

### [`v0.84.2`](https://github.com/gohugoio/hugo/releases/v0.84.2)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.1...v0.84.2)

This is mostly a bug fix release, but it also contains some minor modules related improvements. Most notable you now get some more information in `  hugo config mounts `, and even more so when typing `  hugo config mounts -v `.

-   modules: Add module.import.noMounts config [40dfdd09](40dfdd0952) [@&#8203;bep](https://github.com/bep) [#&#8203;8708](https://github.com/gohugoio/hugo/issues/8708)
-   modules: Use value type for module.Time [3a6dc6d3](3a6dc6d3f4) [@&#8203;bep](https://github.com/bep)
-   commands: Add version time to "hugo config mounts" [6cd2110a](6cd2110ab2) [@&#8203;bep](https://github.com/bep)
-   commands: Add some more info to "hugo config mounts" [6a365c27](6a365c2712) [@&#8203;bep](https://github.com/bep)
-   Fix config handling with empty config entries after merge [19aa95fc](19aa95fc7f) [@&#8203;bep](https://github.com/bep) [#&#8203;8701](https://github.com/gohugoio/hugo/issues/8701)
-   Fix config loading for "hugo mod init" [923dd9d1](923dd9d1c1) [@&#8203;bep](https://github.com/bep) [#&#8203;8697](https://github.com/gohugoio/hugo/issues/8697)
-   deps: Update to Minify v2.9.18 [d9bdd37d](d9bdd37d35) [@&#8203;bep](https://github.com/bep) [#&#8203;8693](https://github.com/gohugoio/hugo/issues/8693)
-   Remove credit from release notes [b2eaf4c8](b2eaf4c8c2) [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#7
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-07-06 09:22:00 +02:00
66e4528a2b chore(deps): update dependency gohugoio/hugo to v0.84.1 (#6)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
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](093dacab29) [@&#8203;bep](https://github.com/bep) [#&#8203;8672](https://github.com/gohugoio/hugo/issues/8672)
-   config: Fix merge of config with map\[string]string values. [4a9d408f](4a9d408fe0) [@&#8203;bep](https://github.com/bep) [#&#8203;8679](https://github.com/gohugoio/hugo/issues/8679)
-   markup: Rename Header(s) to Heading(s) in ToC struct [a7e3da24](a7e3da242f) [@&#8203;bep](https://github.com/bep)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#6
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-06-26 21:49:42 +02:00
6d8ed508fa chore(deps): update dependency gohugoio/hugo to v0.84.0 (#5)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
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="#&#8203;337DFF"
green="#&#8203;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.[@&#8203;bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@&#8203;jmooring](https://github.com/jmooring), [@&#8203;satotake](https://github.com/satotake), and [@&#8203;Seirdy](https://github.com/Seirdy) for their ongoing contributions.
And a big thanks to [@&#8203;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 [@&#8203;salim-b](https://github.com/salim-b), [@&#8203;bep](https://github.com/bep), [@&#8203;thomasjsn](https://github.com/thomasjsn), and [@&#8203;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](9096842b04) [@&#8203;bep](https://github.com/bep)
-   Add a terse pagination template variant to improve performance [73483d0f](73483d0f9e) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8599](https://github.com/gohugoio/hugo/issues/8599)
-   Add erroridf template func [f55d2f43](f55d2f4376) [@&#8203;bep](https://github.com/bep) [#&#8203;8613](https://github.com/gohugoio/hugo/issues/8613)
-   Print response body on HTTP errors [282f1aa3](282f1aa3db) [@&#8203;bep](https://github.com/bep)
-   Misc header improvements, tests, allow multiple headers of same key [fcd63de3](fcd63de3a5) [@&#8203;bep](https://github.com/bep) [#&#8203;5617](https://github.com/gohugoio/hugo/issues/5617)
-   Allows user-defined HTTP headers with getJSON and getCSV [150d7573](150d75738b) [@&#8203;chamberlainpj](https://github.com/chamberlainpj) [#&#8203;5617](https://github.com/gohugoio/hugo/issues/5617)
-   Allow 'Querify' to take lone slice/interface argument [c46fc838](c46fc838a9) [@&#8203;importhuman](https://github.com/importhuman) [#&#8203;6735](https://github.com/gohugoio/hugo/issues/6735)

##### Output

-   Make WebAppManifestFormat NotAlternative=true [643b6719](643b671931) [@&#8203;bep](https://github.com/bep) [#&#8203;8624](https://github.com/gohugoio/hugo/issues/8624)
-   Adjust  test assertion [ab4e1dfa](ab4e1dfa4e) [@&#8203;bep](https://github.com/bep) [#&#8203;8625](https://github.com/gohugoio/hugo/issues/8625)
-   support application/manifest+json [02f31897](02f31897b4) [@&#8203;Seirdy](https://github.com/Seirdy) [#&#8203;8624](https://github.com/gohugoio/hugo/issues/8624)

##### Other

-   Regenerate docs helper [be6b901c](be6b901cf7) [@&#8203;bep](https://github.com/bep)
-   Regenerate docshelper [402da3f8](402da3f8f3) [@&#8203;bep](https://github.com/bep)
-   Implement configuration in a directory for modules [bb2aa087](bb2aa08709) [@&#8203;bep](https://github.com/bep) [#&#8203;8654](https://github.com/gohugoio/hugo/issues/8654)
-   Update github.com/alecthomas/chroma v0.9.1 => v0.9.2 [3aa7f0b2](3aa7f0b27f) [@&#8203;bep](https://github.com/bep) [#&#8203;8658](https://github.com/gohugoio/hugo/issues/8658)
-   Run go mod tidy [9b870aa7](9b870aa788) [@&#8203;bep](https://github.com/bep)
-   Split out the puthe path/filepath functions into common/paths [93aad3c5](93aad3c543) [@&#8203;bep](https://github.com/bep) [#&#8203;8654](https://github.com/gohugoio/hugo/issues/8654)
-   Update to Goldmark v1.3.8 [8eafe084](8eafe0845d) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8648](https://github.com/gohugoio/hugo/issues/8648)
-   Do not read config from os.Environ when running tests [31fb29fb](31fb29fb3f) [@&#8203;bep](https://github.com/bep) [#&#8203;8655](https://github.com/gohugoio/hugo/issues/8655)
-   Set a dummy Instagram token [a886dd53](a886dd53b8) [@&#8203;bep](https://github.com/bep)
-   Regenerate docs helper [a91cd765](a91cd7652f) [@&#8203;bep](https://github.com/bep)
-   Update to Go 1.16.5, Goreleaser 0.169.0 [552cef5c](552cef5c57) [@&#8203;bep](https://github.com/bep) [#&#8203;8619](https://github.com/gohugoio/hugo/issues/8619)[#&#8203;8263](https://github.com/gohugoio/hugo/issues/8263)
-   Upgrade Instagram shortcode [9b5debe4](9b5debe4b8) [@&#8203;bep](https://github.com/bep) [#&#8203;7879](https://github.com/gohugoio/hugo/issues/7879)
-   Set modTime at creation time [06d29542](06d295427f) [@&#8203;bep](https://github.com/bep) [#&#8203;6161](https://github.com/gohugoio/hugo/issues/6161)
-   Add math.Max and math.Min [01758f99](01758f99b9) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8583](https://github.com/gohugoio/hugo/issues/8583)
-   Catch incomplete shortcode error [845a7ba4](845a7ba4fc) [@&#8203;satotake](https://github.com/satotake) [#&#8203;6866](https://github.com/gohugoio/hugo/issues/6866)
-   Use SPDX license identifier [10f60de8](10f60de89a) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8555](https://github.com/gohugoio/hugo/issues/8555)
-   Cache and copy Menu for sorting [785a31b5](785a31b5b8) [@&#8203;satotake](https://github.com/satotake) [#&#8203;7594](https://github.com/gohugoio/hugo/issues/7594)
-   Update to LibSASS 3.6.5 [bc1e0528](bc1e05286a) [@&#8203;bep](https://github.com/bep)
-   Make the HTML element collector more robust [f518b4f7](f518b4f71e) [@&#8203;bep](https://github.com/bep) [#&#8203;8530](https://github.com/gohugoio/hugo/issues/8530)
-   Make the HTML element collector more robust" [dc6b7a75](dc6b7a75ff) [@&#8203;bep](https://github.com/bep)
-   Get the collector in line with the io.Writer interface" [3f515f0e](3f515f0e33) [@&#8203;bep](https://github.com/bep)
-   Get the collector in line with the io.Writer interface [a9bcd381](a9bcd38181) [@&#8203;bep](https://github.com/bep)
-   Make the HTML element collector more robust [ef0f1a72](ef0f1a7269) [@&#8203;bep](https://github.com/bep) [#&#8203;8530](https://github.com/gohugoio/hugo/issues/8530)
-   Add Scratch.DeleteInMap [abbc99d4](abbc99d4c6) [@&#8203;meehawk](https://github.com/meehawk) [#&#8203;8504](https://github.com/gohugoio/hugo/issues/8504)
-   Display version when building site ([#&#8203;8533](https://github.com/gohugoio/hugo/issues/8533)) [76c95f55](76c95f55a5) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8531](https://github.com/gohugoio/hugo/issues/8531)
-   Update querify function description and examples [2c7f5b62](2c7f5b62f6) [@&#8203;jmooring](https://github.com/jmooring)
-   Change SetEscapeHTML to false [504c78da](504c78da4b) [@&#8203;peaceiris](https://github.com/peaceiris) [#&#8203;8512](https://github.com/gohugoio/hugo/issues/8512)
-   Add a benchmark [b660ea8d](b660ea8d54) [@&#8203;bep](https://github.com/bep)
-   Update dependency list [64f88f30](64f88f3011) [@&#8203;bep](https://github.com/bep)

#### Fixes

##### Templates

-   Fix countwords to handle special chars [7a2c10ae](7a2c10ae60) [@&#8203;ResamVi](https://github.com/ResamVi) [#&#8203;8479](https://github.com/gohugoio/hugo/issues/8479)

##### Other

-   Fix fill with smartcrop sometimes returning 0 bytes images [5af045eb](5af045ebab) [@&#8203;bep](https://github.com/bep) [#&#8203;7955](https://github.com/gohugoio/hugo/issues/7955)
-   Misc config loading fixes [d392893c](d392893cd7) [@&#8203;bep](https://github.com/bep) [#&#8203;8633](https://github.com/gohugoio/hugo/issues/8633)[#&#8203;8618](https://github.com/gohugoio/hugo/issues/8618)[#&#8203;8630](https://github.com/gohugoio/hugo/issues/8630)[#&#8203;8591](https://github.com/gohugoio/hugo/issues/8591)[#&#8203;6680](https://github.com/gohugoio/hugo/issues/6680)[#&#8203;5192](https://github.com/gohugoio/hugo/issues/5192)
-   Fix nested OS env config override when parent does not exist [12530519](12530519d8) [@&#8203;bep](https://github.com/bep) [#&#8203;8618](https://github.com/gohugoio/hugo/issues/8618)
-   Fix invalid timestamp of the "public" folder [26ae12c0](26ae12c0c6) [@&#8203;anthonyfok](https://github.com/anthonyfok) [#&#8203;6161](https://github.com/gohugoio/hugo/issues/6161)
-   Fix env split to allow = character in  values [ee733085](ee733085b7) [@&#8203;xqbumu](https://github.com/xqbumu) [#&#8203;8589](https://github.com/gohugoio/hugo/issues/8589)
-   Fix warning regression in i18n [ececd1b1](ececd1b122) [@&#8203;bep](https://github.com/bep) [#&#8203;8492](https://github.com/gohugoio/hugo/issues/8492)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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#5
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-06-18 22:02:53 +02:00
5a2451ca91 chore(deps): update thegeeklab/alpine:latest docker digest
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-10 22:01:10 +00:00
5f1fca9675 chore(deps): update thegeeklab/alpine:latest docker digest to 525dc4a
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-09 21:01:18 +00:00
ff6421bcb6
fix pipeline deps
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-09 22:57:24 +02:00
b954ce51ec
chore: improve generated changelog
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-05-09 22:42:33 +02:00
e1fbc115d9 chore(deps): pin thegeeklab/alpine docker tag (#1)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
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>
2021-05-06 23:04:35 +02:00
22c0d82d5c
chore: set hugo env to prod by default
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-05-06 22:40:23 +02:00
7f78d0fb67
chore: initial commit
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-05-06 22:31:39 +02:00