AlchemistSimulator / Alchemist

Alchemist: an extensible simulator for pervasive computing
Other
40 stars 46 forks source link

chore(deps): update gohugoio/hugo action to v0.134.0 #3740

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Type Update Change
gohugoio/hugo action minor v0.133.1 -> v0.134.0

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

gohugoio/hugo (gohugoio/hugo) ### [`v0.134.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.134.0) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.133.1...v0.134.0) Hugo v0.134.0 brings render hooks for tables, ContentWithoutSummary, scoped content render and Obsidian style callout alerts. #### ContentWithoutSummary and scoped content render This release finally brings a `Page.ContentWithoutSummary` method. This has been a long sought after methods where the use case is obvious: Render the summary with a *more* button that renders the ... content without summary. To enable this we have reimplemented the content summary handling in Hugo. This consolidates the 3 summary types (`auto`, `manual` and `frontmatter`) – they are now all HTML. This is a slightly breaking change (`manual` was plain text before), but the new behaviour should be much less confusing and easier to handle in the templates. If you want plain text, pipe it into `plainify`: `{{ .Summary | plainify }}`. Before this release there was one instance of `.Content` for a given page, it was e.g. not possible to render a page's content slightly different (e.g. different heading levels) on the list pages or the home page. This release anables that with a new `Page.Markup` with an optional `scope` argument. In the list template you would do something like this: ```handlebars {{ range .Pages | first 5 }} {{ with .Markup "list" }} {{ with .Render }}
  • {{ .Summary }}
  • {{ .ContentWithoutSummary }}
  • {{ .WordCount }}
  • etc ...
  • {{ end }} {{ end }} {{ end }} ``` You can think of the custom scope `list` as a cache key: Multiple invocations on the same page with the same scope will give the same return value. You can now pass down some data or configuration to in `.Page.Store` to the templates that render this markup (shortcodes, render hooks), or you can use the new global `hugo.Context.MarkupScope` function made for this purpose: ```handlebars {{ if eq hugo.Context.MarkupScope "list" }} {{/* Render some list markup. */}} {{ else }} {{/* default */}} {{ end }} ``` #### Render hooks tables This has been a long sought after feature. Now you can have full control over how you render your Markdown tables with [table render hooks](https://gohugo.io/render-hooks/tables). #### Obsidian style callout alerts Hugo `v0.133.0` added [blockquote render hooks](https://gohugo.io/render-hooks/blockquotes/) with GitHub styled [alerts](https://gohugo.io/render-hooks/blockquotes/#alerts). We have since then gotten some feedback about extended alert syntax in [Obsidian](https://help.obsidian.md/Editing+and+formatting/Callouts#Change+the+title), and in Hugo `v0.134.0` we now support both. #### Bug fixes - github: Try to fix "no space left on device" on MacOS [`96afea4`](https://redirect.github.com/gohugoio/hugo/commit/96afea4ac) [@​bep](https://redirect.github.com/bep) - Fix deprecation warning for resources.ToCSS [`8fb9335`](https://redirect.github.com/gohugoio/hugo/commit/8fb933550) [@​deining](https://redirect.github.com/deining) - output: Fix docshelper template lookup order for AMP pages [`1ecd059`](https://redirect.github.com/gohugoio/hugo/commit/1ecd0596a) [@​jmooring](https://redirect.github.com/jmooring) [#​12797](https://redirect.github.com/gohugoio/hugo/issues/12797) #### Improvements - markup/goldmark/blockquotes: Improve some tests [`504a231`](https://redirect.github.com/gohugoio/hugo/commit/504a23184) [@​bep](https://redirect.github.com/bep) - Add support for Obsidian type blockquote alerts [`e651d29`](https://redirect.github.com/gohugoio/hugo/commit/e651d2980) [@​bep](https://redirect.github.com/bep) [#​12805](https://redirect.github.com/gohugoio/hugo/issues/12805) [#​12801](https://redirect.github.com/gohugoio/hugo/issues/12801) - Rename hstring.RenderedHTML => hstring.HTML [`4691248`](https://redirect.github.com/gohugoio/hugo/commit/469124823) [@​bep](https://redirect.github.com/bep) - Make all renderhook Text methods return template.HTML [`6d97ee7`](https://redirect.github.com/gohugoio/hugo/commit/6d97ee711) [@​bep](https://redirect.github.com/bep) - Add Markdown render hooks for tables [`f738669`](https://redirect.github.com/gohugoio/hugo/commit/f738669a4) [@​bep](https://redirect.github.com/bep) [#​9316](https://redirect.github.com/gohugoio/hugo/issues/9316) [#​12811](https://redirect.github.com/gohugoio/hugo/issues/12811) - create/skeletons: Clean up lang attribute in base template [`b63f24a`](https://redirect.github.com/gohugoio/hugo/commit/b63f24adc) [@​jmooring](https://redirect.github.com/jmooring) - tpl/resources: Improve resources.Concat error message [`a3684c8`](https://redirect.github.com/gohugoio/hugo/commit/a3684c836) [@​jmooring](https://redirect.github.com/jmooring) [#​7428](https://redirect.github.com/gohugoio/hugo/issues/7428) - tpl: Trim whitespace from google_analytics.html [`53a8de2`](https://redirect.github.com/gohugoio/hugo/commit/53a8de21b) [@​chalin](https://redirect.github.com/chalin) - Add Page.Contents with scope support [`3760926`](https://redirect.github.com/gohugoio/hugo/commit/37609262d) [@​bep](https://redirect.github.com/bep) [#​8680](https://redirect.github.com/gohugoio/hugo/issues/8680) [#​12761](https://redirect.github.com/gohugoio/hugo/issues/12761) [#​12778](https://redirect.github.com/gohugoio/hugo/issues/12778) [#​716](https://redirect.github.com/gohugoio/hugo/issues/716) - hugolib: Add a test for overriding \_internal templates [`371246d`](https://redirect.github.com/gohugoio/hugo/commit/371246de2) [@​bep](https://redirect.github.com/bep) #### Dependency Updates - deps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0 [`2b5c335`](https://redirect.github.com/gohugoio/hugo/commit/2b5c335e9) [@​bep](https://redirect.github.com/bep) [#​12649](https://redirect.github.com/gohugoio/hugo/issues/12649) - build(deps): bump github.com/evanw/esbuild from 0.23.0 to 0.23.1 [`12a28ef`](https://redirect.github.com/gohugoio/hugo/commit/12a28ef77) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 [`4ded32d`](https://redirect.github.com/gohugoio/hugo/commit/4ded32d07) [@​dependabot](https://redirect.github.com/dependabot)\[bot] #### Documentation - Update Dockerfile [`ae38158`](https://redirect.github.com/gohugoio/hugo/commit/ae3815898) [@​offgrid88](https://redirect.github.com/offgrid88)

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.



    This PR was generated by Mend Renovate. View the repository job log.

    sonarcloud[bot] commented 2 months ago

    Quality Gate Passed Quality Gate passed

    Issues
    0 New issues
    0 Accepted issues

    Measures
    0 Security Hotspots
    0.0% Coverage on New Code
    0.0% Duplication on New Code

    See analysis details on SonarCloud

    DanySK commented 1 month ago

    :tada: This PR is included in version 34.1.4 :tada:

    The release is available on:

    Your semantic-release bot :package::rocket: