Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-13 | Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349' | Bjørn Erik Pedersen | |
2023-06-12 | cache: Set default cache path based on $USER | Erica Mays | |
Change the default cache directory to `$TMPDIR/hugo_cache_$USER`, so that multi-user systems do not have caches that interfere with each other. The other cache-choosing logic (e.g. Netlify exceptions, configuration options) are not affected. Fixes #7391 | |||
2023-06-05 | docs: Regenerate CLI docs | Bjørn Erik Pedersen | |
2023-06-01 | docs: Regenerate CLI docs | Bjørn Erik Pedersen | |
2023-06-01 | Merge commit 'dfb1895e4b82b2249d9baaed37ac7ae5e855a126' | Bjørn Erik Pedersen | |
2023-05-28 | docs: Regenerate CLI docs | Bjørn Erik Pedersen | |
2023-05-27 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2023-05-27 | Merge commit 'd3927310d5b2404c3238f9b899db3329ea516490' | Bjørn Erik Pedersen | |
2023-05-22 | docs: Regen CLI docs | 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-20 | tpl/urls: Return empty string when JoinPath has zero args | Joe Mooring | |
2023-05-19 | tpl/urls: Add JoinPath template function | Joe Mooring | |
See https://pkg.go.dev/net/url#JoinPath Closes #9694 | |||
2023-05-16 | tpl: Add math.Abs | Oleksandr Redko | |
Fixes #10941. | |||
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-03-12 | docs: Improve examples of variadic math functions | Joe Mooring | |
2023-03-11 | tpl/math: Allow multi numbers in add, sub, mul, div, min and max | septs | |
2023-03-08 | tpl: Add hasSuffix alias | Jonathan Fisher | |
strings.HasPrefix already has an alias of hasPrefix but strings.HasSuffix has no such alias. This PR adds a hasSuffix alias to the tpl function with corresponding function documentation. It also adds a Minor update to the hasPrefix function documentation re: keywords and relatedfuncs. Completes https://github.com/gohugoio/hugo/issues/10474 | |||
2023-03-07 | switch transfers to workers | davidejones | |
2023-03-07 | customize parallel transfer count | davidejones | |
2023-03-01 | Merge commit '336622d5e7afd9334cd2de7150d4f16bdf7c24f9' | Bjørn Erik Pedersen | |
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-23 | Merge commit 'cf591b7c0c598d34896709db6d28598da37e3ff6' | 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 | |||
2023-01-17 | dos: Regen CLI docs | Bjørn Erik Pedersen | |
2023-01-17 | Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382' | Bjørn Erik Pedersen | |
2023-01-16 | Add fill HTTP Response info into .Data in resources.GetRemote | Bjørn Erik Pedersen | |
See #10604 | |||
2022-12-23 | resource/page: Add Page.Ancestors | Septs | |
Fixes #10567 | |||
2022-12-22 | Add HUGO_PUBLISHDIR to the Node environment | Bjørn Erik Pedersen | |
So you can do `process.env.HUGO_PUBLISHDIR` in your `postcss.config.js` to figure out where Hugo publishes its files. Note that the value will always be an absolute file path and will point to a directory on disk even when running `hugo server` in memory mode. If you write to this folder from PostCSS when running the server, you could run the server with one of these flags: ``` hugo server --renderToDisk hugo server --renderStaticToDisk ``` Fixes #10554 | |||
2022-12-20 | Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d' | Bjørn Erik Pedersen | |
2022-12-19 | modules: Adjust watch logic vs workspace use definitions | Bjørn Erik Pedersen | |
2022-12-05 | docs: Add basic doc for wrapStandAloneImageWithinParagraph etc. | Bjørn Erik Pedersen | |
See #10492 | |||
2022-12-05 | dartsass: Add sourceMapIncludeSources option | Bjørn Erik Pedersen | |
2022-12-02 | Merge commit 'da16527896d3087585c5e758083ea498dcabc2c3' | Bjørn Erik Pedersen | |
2022-11-17 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2022-11-17 | Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' | Bjørn Erik Pedersen | |
2022-10-24 | tpl/encoding: Add noHTMLEscape option to jsonify | Bjørn Erik Pedersen | |
2022-10-14 | Don't use self-closing generator tag | JB | |
2022-09-22 | docs: Regenerate CLI docs | 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-14 | server: Add 404 support | Bjørn Erik Pedersen | |
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-14 | common: Add hugo.GoVersion | Khayyam Saleem | |
Closes #9849. This enables `hugo.GoVersion` in templates to access the version of Go that the Hugo binary was built with. | |||
2022-06-13 | resources/page: Add :slugorfilename attribute | Dawid Potocki | |
Fixes #4739, #385 | |||
2022-06-06 | tpl/path: Add path.BaseName function | Joe Mooring | |
Closes #9973 |