34033e3...
by
Bjørn Erik Pedersen
on 2024-04-05
Strip hash sign (#) from file paths/URLs
The general way Hugo does this now is:
* Sanitize the file paths so the work as URLs
* When we create the final RelPermalink/ Permalink, we use Go's `url.Parse` to escape it so it work for the browser.
So, leaving anything in the first step that does not work with the second step, just doesn't work.
It's a little bit odd that `url.Parse` silently truncates this URL without any error, but that's for another day.
I have another better test coverage for this.
Fixes #12342
Fixes #4926
See #8232
7bf1abf...
by
Joe Mooring <email address hidden>
on 2024-04-04
tpl/strings: Improve type checking
2fedca6...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2024-04-01
build(deps): bump github. com/aws/ aws-sdk- go-v2/service/ cloudfront
Bumps [github. com/aws/ aws-sdk- go-v2/service/ cloudfront] (https:/ /github. com/aws/ aws-sdk- go-v2 ) from 1.32.6 to 1.35.4.
- [Release notes](https:/ /github. com/aws/ aws-sdk- go-v2/releases )
- [Commits](https:/ /github. com/aws/ aws-sdk- go-v2/compare/ service/ fsx/v1. 32.6... service/ ecs/v1. 35.4 )
---
updated- dependencies:
- dependency-name: github. com/aws/ aws-sdk- go-v2/service/ cloudfront
dependency-type: direct:production
update-type: version- update: semver- minor
...
Signed-off-by: dependabot[bot] <email address hidden>
07873b7...
by
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
on 2024-04-04
build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0
Bumps [golang.org/x/net](https:/ /github. com/golang/ net ) from 0.22.0 to 0.23.0.
- [Commits](https:/ /github. com/golang/ net/compare/ v0.22.0. ..v0.23. 0 )
---
updated- dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version- update: semver- minor
...
Signed-off-by: dependabot[bot] <email address hidden>
8a0ea12...
by
Joe Mooring <email address hidden>
on 2024-04-03
tpl/tplimpl: Improve youtube shortcode
Changes:
- Add query string params for controls, loop, mute, start, and end
- Add iframe loading attribute
- Obtain default iframe title from YouTube oEmbed API
- Fix autoplay feature
- Improve readability
Closes #3694
Closes #9213
Closes #10520
Closes #10575
Closes #10576
Co-authored-by: sgharms <email address hidden>
6f07e59...
by
seiya <email address hidden>
on 2024-04-03
errors: Return error from cast.ToStringE() consistently
2da4ec5...
by
Joe Mooring <email address hidden>
on 2024-04-01
tpl/tplimpl: Improve embedded opengraph template
Changes:
- Add tags per documentation
- Prefer site.Title over site.Params.title
- Plainify titles, tags, and descriptions
- Add fallback values for locale
- Fix pages related by series
- Improve readability
Closes #8296
Closes #8698
Closes #8991
Closes #9818
Closes #9866
Closes #10647
Co-authored-by: tomy0000000 <email address hidden>
Co-authored-by: sean-au <email address hidden>
6624979...
by
Joe Mooring <email address hidden>
on 2024-04-02
tpl/strings: Create strings.Diff template function
Closes #12330
983b8d5...
by
Bjørn Erik Pedersen
on 2024-04-02
Fix resource bundling for overlapping page.md vs page.txt
Fixes #12320
6738a3e...
by
Joe Mooring <email address hidden>
on 2024-04-01
tpl/tplimpl: Optionally exclude content from sitemap
Define global inclusion/exclusion in site configuration, and override
via front matter. For example, to exclude a page from the sitemap:
[sitemap]
disable = true # default is false
Closes #653
Closes #12282
Co-authored-by: kolappannathan <email address hidden>
Co-authored-by: felicianotech <email address hidden>