Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2022-05-31 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2022-05-31 | Merge commit 'e4bfe59c4e043c92d3992587d8c64d264b262a22' | Bjørn Erik Pedersen | |
2022-05-31 | Fix indentation in highlight shortcode | Bjørn Erik Pedersen | |
This commit adds a new `.InnerDeindent` method to the shortcode context, which is `.Inner` with any indendation removed. This is then used in the built-in `highlight` shortcode to prevent the extra whitespace getting hightlighted. Fixes #4717 | |||
2022-05-15 | postcss: Fix import error handling | Bjørn Erik Pedersen | |
Note that we will now fail if `inlineImports` is enabled and we cannot resolve an import. You can work around this by either: * Use url imports or imports with media queries. * Set `skipInlineImportsNotFound=true` in the options Also get the argument order in the different NewFileError* funcs in line. Fixes #9895 | |||
2022-05-08 | docs: Regen CLI docs | 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-13 | resources: Add `key` to reources.GetRemote options map | Bjørn Erik Pedersen | |
If set, `key` will be used as the only cache key element for the resource. The default behaviour is to calculate the key based on the URL and all the options. This means that you can now do: ``` {{ $cacheKey := print $url (now.Format "2006-01-02") }} {{ $resource := resource.GetRemote $url (dict "key" $cacheKey) }} ``` Fixes #9755 | |||
2022-04-08 | Merge commit 'ec920363cdeb687c8bcac9c242767d366fb058cb' | Bjørn Erik Pedersen | |
2022-04-08 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2022-04-05 | Add environment as a new filter to _cascade.target | Cathrine Paulsen | |
Fixes #9612 | |||
2022-03-26 | docs: Regen CLI docs | Bjørn Erik Pedersen | |
2022-03-26 | Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b' | Bjørn Erik Pedersen | |
2022-03-23 | tpl/crypto: Add optional encoding arg to hmac function | Joe Mooring | |
Closes #9709 | |||
2022-03-11 | docs: Regenerate CLI docs | Bjørn Erik Pedersen | |
2022-03-08 | docs: Regenerate CLI docs | Bjørn Erik Pedersen | |
2022-03-08 | Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2' | Bjørn Erik Pedersen | |
2022-02-28 | Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c' | Bjørn Erik Pedersen | |
2022-02-28 | cod: Regen CLI docs | 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-18 | modules: Add modules.Workspace config for Go 1.18 | Bjørn Erik Pedersen | |
Sets `GOWORK` env var for Go 1.18. Fixes #9525 | |||
2022-02-15 | Add --printUnusedTemplates | Bjørn Erik Pedersen | |
Fixes #9502 | |||
2022-02-15 | commands: Rename --i18n-warnings to printI18nWarnings | Bjørn Erik Pedersen | |
To get it in line with the others. | |||
2022-02-15 | commands: Rename --path-warnings, --print-men to --printPathWarnings, ↵ | Bjørn Erik Pedersen | |
--printMemoryUsage To get it in line with the others. | |||
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-02-10 | Remove the "check" command | Joe Mooring | |
Closes #9454 |