summaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)Author
2020-10-02tpl: Add Do Not Track (dnt) option to Vimeo shortcodeJosh Gerdes
Added a Vimeo EnableDNT privacy option to the Hugo config. This will enable the Vimeo 'Do Not Track' flag when either Vimeo shortcode tempalte options are used. When enabled, it will force the Vimeo player to be blocked from tracking any session data, including all cookies and stats. Fixes #7700
2020-09-22Fix CLI example for PostCSS 8Andrey Sitnik
2020-09-17markup/asciidocext: Add preserveTOC optionHelder Pereira
2020-09-15releaser: Add release notes to /docs for release of 0.75.1v0.75.1hugoreleaser
[ci skip]
2020-09-14releaser: Add release notes to /docs for release of 0.75.0v0.75.0hugoreleaser
[ci skip]
2020-09-14typo: already -> alreadyDaniel Holbach
2020-09-13Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'Bjørn Erik Pedersen
2020-09-13docs: Regen docs helperBjørn Erik Pedersen
2020-09-13docs: Regenerate CLI docsBjørn Erik Pedersen
2020-09-13Add "hugo mod npm pack"Bjørn Erik Pedersen
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into: ``` assets/_jsconfig ´`` These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename. But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific. This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above. Fixes #7644 Fixes #7656 Fixes #7675
2020-09-13markup/highlight: Add support to linkable line anchors on ChromaFernando Jorge Mota
Fixes #7622
2020-09-10markup/asciidocext: Fix AsciiDoc TOC with codeHelder Pereira
Fixes #7649
2020-09-10modules: Add noVendor to module configBjørn Erik Pedersen
Fixes #7647
2020-09-10modules: Make ignoreVendor a glob patternBjørn Erik Pedersen
Fixes #7642
2020-09-07docs: Update replaceRE funcCameron Moore
Updates for #7604
2020-09-07docs: Update replace funcCameron Moore
Updates for #7602
2020-09-07docs: Update merge functionCameron Moore
Updates for #7601
2020-09-07docs: Regen CLI docsBjørn Erik Pedersen
2020-09-07docs: Regen docs helperBjørn Erik Pedersen
2020-09-07Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'Bjørn Erik Pedersen
2020-09-06markup/asciidoc: Add support for .TableOfContentsNicolas Piganeau
Fill the .TableOfContents template variable when writing Asciidoc content. This is done by letting Asciidoc render its TOC as HTML, then extract this HTML rendered TOC, parse it into a tableofcontents.Root and finally remove it from the HTML content. This aims to stay in the logic that the Asciidoc parsing is entirely done by the external helper. See #1687
2020-08-14Merge commit 'cb39847dee488c373dd5bc2a3706385342a59355'Bjørn Erik Pedersen
2020-07-23releaser: Add release notes to /docs for release of 0.74.3v0.74.3hugoreleaser
[ci skip]
2020-07-23Fix Asciidoctor argsHelder Pereira
* Fix Asciidoctor args * Fix Asciidoctor args documentation * Update AsciiDoc documentation Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de> Fixes #7493
2020-07-22resources/js: Add option for setting bundle formatBjørn Erik Pedersen
Fixes #7503
2020-07-20resources/js: Add es5 build targetBjørn Erik Pedersen
2020-07-20Merge commit '28bd06265e88454b061810578919d891909a83ad'Bjørn Erik Pedersen
2020-07-17releaser: Add release notes to /docs for release of 0.74.2v0.74.2hugoreleaser
[ci skip]
2020-07-13releaser: Add release notes to /docs for release of 0.74.1v0.74.1hugoreleaser
[ci skip]
2020-07-13releaser: Add release notes to /docs for release of 0.74.0v0.74.0hugoreleaser
[ci skip]
2020-07-13Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'Bjørn Erik Pedersen
2020-07-13docs: Regenerate docs helperBjørn Erik Pedersen
2020-07-07Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'Bjørn Erik Pedersen
2020-07-03Update formats.md doc for new allowed extensions.Bryan Klein
This PR documents the changes made in https://github.com/gohugoio/hugo/pull/7447/files adding two other extensions to the Allowed list.
2020-07-01Add support for inline partialsBjørn Erik Pedersen
Fixes #7444
2020-06-25Rework external asciidoctor integration Derk Muenchhausen
This commit solves the relative path problem with asciidoctor tooling. An include will resolve relatively, so you can refer easily to files in the same folder. Also `asciidoctor-diagram` and PlantUML rendering works now, because the created temporary files will be placed in the correct folder. This patch covers just the Ruby version of asciidoctor. The old AsciiDoc CLI EOLs in Jan 2020, so this variant is removed from code. The configuration is completely rewritten and now available in `config.toml` under the key `[markup.asciidocext]`: ```toml [markup.asciidocext] extensions = ["asciidoctor-html5s", "asciidoctor-diagram"] workingFolderCurrent = true trace = true [markup.asciidocext.attributes] my-base-url = "https://example.com/" my-attribute-name = "my value" ``` - backends, safe-modes, and extensions are now whitelisted to the popular (ruby) extensions and valid values. - the default for extensions is to not enable any, because they're all external dependencies so the build would break if the user didn't install them beforehand. - the default backend is html5 because html5s is an external gem dependency. - the default safe-mode is safe, explanations of the modes: https://asciidoctor.org/man/asciidoctor/ - the config is namespaced under asciidocext_config and the parser looks at asciidocext to allow a future native Go asciidoc. - `uglyUrls=true` option and `--source` flag are supported - `--destination` flag is required Follow the updated documentation under `docs/content/en/content-management/formats.md`. This patch would be a breaking change, because you need to correct all your absolute include pathes to relative paths, so using relative paths must be configured explicitly by setting `workingFolderCurrent = true`.
2020-06-23releaser: Add release notes to /docs for release of 0.73.0v0.73.0hugoreleaser
[ci skip]
2020-06-19Add GroupByLastmodBjørn Erik Pedersen
Fixes #7408
2020-06-18Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomyBjørn Erik Pedersen
And we have taken great measures to limit potential site breakage: * For `disableKinds` and `outputs` we try to map from old to new values if possible, if not we print an ERROR that can be toggled off if not relevant. * The layout lookup is mostly compatible with more options for the new `term` kind. That leaves: * Where queries in site.Pages using taxonomy/taxonomyTerm Kind values as filter. * Other places where these kind value are used in the templates (classes etc.) Fixes #6911 Fixes #7395
2020-06-16Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'Bjørn Erik Pedersen
2020-06-05tpl/crypto: Add hmacEdouard
2020-06-02Allow hook template per section/typeBjørn Erik Pedersen
Fixes #7349
2020-05-31releaser: Add release notes to /docs for release of 0.72.0v0.72.0hugoreleaser
[ci skip]
2020-05-31Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'Bjørn Erik Pedersen
2020-05-29common/maps: Add Scratch.ValuesBjørn Erik Pedersen
Fixes #7335
2020-05-28Add redirect support to the serverBjørn Erik Pedersen
Fixes #7323
2020-05-27Fix typo in install instructionsYash Murty
2020-05-25releaser: Add release notes to /docs for release of 0.71.1v0.71.1hugoreleaser
[ci skip]
2020-05-18releaser: Add release notes to /docs for release of 0.71.0v0.71.0hugoreleaser
[ci skip]
2020-05-18Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'Bjørn Erik Pedersen