Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-04 | Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae' | Bjørn Erik Pedersen | |
2023-10-20 | Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688' | Bjørn Erik Pedersen | |
2023-10-18 | hugolib: Deprecate .Site.DisqusShortname | Joe Mooring | |
Use .Site.Config.Services.Disqus.Shortname instead. | |||
2023-09-24 | docs: More about images.Process | Bjørn Erik Pedersen | |
2023-09-24 | Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9' | Bjørn Erik Pedersen | |
2023-09-24 | Add $image.Process | Bjørn Erik Pedersen | |
Which supports all the existing actions: resize, crop, fit, fill. But it also allows plain format conversions: ``` {{ $img = $img.Process "webp" }} ``` Which will be a simple re-encoding of the source image. Fixes #11483 | |||
2023-08-30 | Merge commit '77b976dd92b4f66657d83d875aef0c617df492d9' | Bjørn Erik Pedersen | |
2023-08-07 | Merge commit '7c62d6ef1654c0383eae474d3bd9ddf7754c1f30' | Bjørn Erik Pedersen | |
2023-07-29 | Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d' | Bjørn Erik Pedersen | |
2023-06-27 | docs: Update permalinks documentation | Joe Mooring | |
See #8523 See #10847 | |||
2023-06-13 | Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349' | Bjørn Erik Pedersen | |
2023-05-27 | Merge commit 'd3927310d5b2404c3238f9b899db3329ea516490' | Bjørn Erik Pedersen | |
2023-05-22 | Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb' | Bjørn Erik Pedersen | |
2023-05-21 | tpl/tplimpl: Add img loading attribute to figure shortcode (#10927) | InLaw | |
2023-05-06 | Revert "Update syntax-highlighting.md (#10929)" (#10930) | Joe Mooring | |
This reverts commit a4fb8dc6bc4358ca5c307e1af4a50fee2a0c4c12. | |||
2023-05-06 | Update syntax-highlighting.md (#10929) | Kirill Bobyrev | |
2023-02-23 | related: Add config option cardinalityThreshold | Bjørn Erik Pedersen | |
Fixes #10744 | |||
2023-02-23 | docs: Another fix related docs example | Bjørn Erik Pedersen | |
2023-02-23 | docs: Fix related docs example | Bjørn Erik Pedersen | |
2023-02-21 | Add page fragments support to Related | Bjørn Erik Pedersen | |
The main topic of this commit is that you can now index fragments (content heading identifiers) when calling `.Related`. You can do this by: * Configure one or more indices with type `fragments` * The name of those index configurations maps to an (optional) front matter slice with fragment references. This allows you to link page<->fragment and page<->page. * This also will index all the fragments (heading identifiers) of the pages. It's also possible to use type `fragments` indices in shortcode, e.g.: ``` {{ $related := site.RegularPages.Related .Page }} ``` But, and this is important, you need to include the shortcode using the `{{<` delimiter. Not doing so will create infinite loops and timeouts. This commit also: * Adds two new methods to Page: Fragments (can also be used to build ToC) and HeadingsFiltered (this is only used in Related Content with index type `fragments` and `enableFilter` set to true. * Consolidates all `.Related*` methods into one, which takes either a `Page` or an options map as its only argument. * Add `context.Context` to all of the content related Page API. Turns out it wasn't strictly needed for this particular feature, but it will soon become usefil, e.g. in #9339. Closes #10711 Updates #9339 Updates #10725 | |||
2022-12-23 | resource/page: Add Page.Ancestors | Septs | |
Fixes #10567 | |||
2022-12-20 | Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d' | Bjørn Erik Pedersen | |
2022-12-02 | Merge commit 'da16527896d3087585c5e758083ea498dcabc2c3' | Bjørn Erik Pedersen | |
2022-11-17 | Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' | Bjørn Erik Pedersen | |
2022-09-22 | resources/images: Add $image.Colors | Bjørn Erik Pedersen | |
Which returns the most dominant colors of an image using a simple histogram method. Fixes #10307 | |||
2022-09-13 | Merge commit '90ad8045056167004d27857a95542936657b8a16' | Bjørn Erik Pedersen | |
2022-06-28 | Merge commit 'bdf935d66c1f02dfc942a30e9fc00519bba3aacb' | Bjørn Erik Pedersen | |
2022-06-16 | Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59' | Bjørn Erik Pedersen | |
2022-06-13 | resources/page: Add :slugorfilename attribute | Dawid Potocki | |
Fixes #4739, #385 | |||
2022-05-31 | Merge commit 'e4bfe59c4e043c92d3992587d8c64d264b262a22' | Bjørn Erik Pedersen | |
2022-05-08 | Merge commit '327aaed6d8ca57d8e5e3acb99ff53402ff1c556d' | Bjørn Erik Pedersen | |
2022-04-28 | Merge commit '3902f9a4767fe6e62ac5146728d8311b8cd227e0' | Bjørn Erik Pedersen | |
2022-04-08 | Merge commit 'ec920363cdeb687c8bcac9c242767d366fb058cb' | Bjørn Erik Pedersen | |
2022-04-05 | Add environment as a new filter to _cascade.target | Cathrine Paulsen | |
Fixes #9612 | |||
2022-03-26 | Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b' | Bjørn Erik Pedersen | |
2022-03-08 | Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2' | Bjørn Erik Pedersen | |
2022-02-24 | Add Markdown diagrams and render hooks for code blocks | Bjørn Erik Pedersen | |
You can now create custom hook templates for code blocks, either one for all (`render-codeblock.html`) or for a given code language (e.g. `render-codeblock-go.html`). We also used this new hook to add support for diagrams in Hugo: * Goat (Go ASCII Tool) is built-in and enabled by default; just create a fenced code block with the language `goat` and start draw your Ascii diagrams. * Another popular alternative for diagrams in Markdown, Mermaid (supported by GitHub), can also be implemented with a simple template. See the Hugo documentation for more information. Updates #7765 Closes #9538 Fixes #9553 Fixes #8520 Fixes #6702 Fixes #9558 | |||
2022-02-23 | Allow images to be cropped without being resized | John Elliott | |
Introduces the Crop method for image processing which implements gift.CropToSize. Also allows a smartCrop without resizing, and updates the documentation. Fixes #9499 | |||
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-01-12 | Merge commit 'a8e9fc699a6ff7d578f97a7c553ce844efad8fdb' | Bjørn Erik Pedersen | |
2021-12-13 | Merge commit '45e6fdb315d113ba13e20a633ed0c67e3f25170d' | Bjørn Erik Pedersen | |
2021-12-08 | Merge commit '8d9511a08f14260cbfb73119e4afae50e5a9966d' | Bjørn Erik Pedersen | |
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-08-21 | highlight: Remove some pygments references | Helder Pereira | |
2021-07-29 | tpl/lang: Add new localized versions of lang.FormatNumber etc. | Bjørn Erik Pedersen | |
Fixes #8820 | |||
2021-07-04 | Merge commit '7eb0e10a80708c638554b8221a3120dc1168566c' | Bjørn Erik Pedersen | |
2021-06-08 | Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8' | Bjørn Erik Pedersen | |
2021-05-01 | docs: Fix shortcode | Bjørn Erik Pedersen | |