Age | Commit message (Collapse) | Author |
|
Fixes #8164
|
|
This commit adds a new `shims` option to `js.Build` that allows swapping out a component with another.
Fixes #8165
|
|
Fixes #8132
|
|
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.
Fixes #7380
Fixes #8102
|
|
Fixes #6963
|
|
|
|
The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.
Fixes #8052
|
|
|
|
|
|
Fixes #7914
|
|
See https://github.com/mvdan/gofumpt
|
|
|
|
Fixes #6595
|
|
Fixes #7990
|
|
Fixes #7829
|
|
Closes #7986
|
|
Fixes #7951
|
|
This commit fixes some issues where modules in /assets share the same name as in node_modules.
This was not intended, and with this commit the node_modules-components should be isolated. If you want to redefine something inside node_modules, use the `defines` option.
Fixes #7948
|
|
For now.
|
|
* Fix resolve of package.json deps in submodules
* Fix directory logic for writing assets/jsconfig.json
Fixes #7924
Fixes #7923
|
|
Fixes #7816
Fixes #7777
Fixes #7916
|
|
Updates #7777
Added support to allow SourceMap files to be external to the build.
In addition added more information when the js compilation has an error.
Correctly append sourceMappingURL to output file.
Fix merge conflict.
|
|
Fixes #7903
|
|
The TOML lib unmarshals slices of string maps to []map[string]interface{}
whereas YAML and JSON decode to []interface{}
The existing tests only check for TOML working correctly, and _target
with cascade did not work at all for frontmatter defined in other formats.
Add a function to normalize those slices
Fixes #7874
|
|
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing).
Fixes #7866
|
|
Fixes #7832
|
|
Fixes #7804
|
|
Closes #7792
This reverts commit b254532b52785954c98a473a635b9cea016d8565.
|
|
Allowing links on pages without rendering them.
Fixes #7783
|
|
Fixes #7782
|
|
Fixes #7715
|
|
|
|
Fixes #7690
|
|
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
|
|
Fixes #7617
|
|
Fixes #7647
|
|
Fixes #7646
|
|
Fixes #7642
|
|
* Fix change detection when .GetPage/site.GetPage is used from shortcode
* Fix stale content for GetPage results with short name lookups on server reloads
Fixes #7623
Fixes #7624
Fixes #7625
|
|
|
|
Fixes #7584
|
|
We need to make a proper fix for this, but it is better with an error than just silently continue.
Fixes #7572
Updates #7528
|
|
From Hugo 0.74.0.
Fixes #7478
|
|
See #732
|
|
Fixes #7321
|
|
Fixes #7442
Fixes #7443
|
|
Fixes #7448
|
|
Fixes #7444
|
|
|
|
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`.
|