fb551cc75 Update index.md 7af894857 Update index.md d235753ea Hugo 0.82.1 e03e72deb Merge branch 'temp0821' e62648961 Merge branch 'release-0.82.1' e1ab0f6eb releaser: Add release notes to /docs for release of 0.82.1 5d354c38d Replaced ``` code blocks with Code Toggler c9d065c20 Remove duplicate YAML keys (#1420) 8ae31e701 Add webp image encoding support 848f2af26 Update internal.md (#1407) c103a86a4 Fix `ref` shortcode example output (#1409) 9f8ba56dc Remove leading dot from where function KEY (#1419) 363251a51 Improve presentation of template lookup order (#1382) b73da986d Improve description of Page Resources (#1381) 4e0bb96d5 Rework robots.txt page (#1405) edf893e6f Update migrations.md (#1412) 450f1580b Add link to `site` function doc (#1417) cfffa6e6f Added one extension to the list (#1414) 05f1665a0 Update theme 5de0b1c6a Update theme 250e20552 Add hugo.IsExtended dea5e1fd7 Fix typo on merge function page (#1408) 1bbed2cf3 Update configuration.md be0b64a46 Omit ISO cbb5b8367 Fix `dateFormat` documentation 698f15466 Regenerate the docshelper f9a8a7cb6 Update multilingual.md a22dc6267 Fix grammar (#1398) eb98b0997 Fix pretty URL example (#1397) f4c4153dc Mention date var complementation in post scheduling (#1396) 17fae284c Fix resources.ExecuteAsTemplate argument order (#1394) 97e2c2abb Use code-toggle shortcode in `multilingual.md` (#1388) 3a84929bb Harmonize capitalization (#1393) 17f15daa6 fix file naming used in example (#1392) 5d97b6a18 Add slice syntax to sections permalinks config 00665b97b Improve description of `site.md` edcf5e3fc Fix example in `merge.md` f275ab778 Update postprocess.md 9593e3991 Fix file name 59bd9656f Update postprocess.md 1172fb6d0 Update to theNewDynamic repository (#1263) f5b5c1d2c Update Hugo container image 4f2e92f2a Adapt anchorize.md to Goldmark 98aa19073 Directly link to `highlight` shortcode (#1384) 4c75c2422 Fix header level f15c06f23 markdownify: add note about render-hooks and .RenderString (#1281) 69c82eb68 Remove Blackfriday reference from shortcode desc (#1380) 36de478df Update description of ignoreFiles config setting (#1377) 6337699d8 Remove "Authors" page from documentation (#1371) 35e73ca90 fix indent in example (#1372) d3f01f19a Remove opening body tag from header example (#1376) 341a5a7d8 Update index.md c9bfdbee6 Release 0.82.0 119644949 releaser: Add release notes to /docs for release of 0.82.0 32efaed78 docs: Regenerate docs helper dea5449a2 docs: Regen CLI docs eeab18fce Merge commit '81689af79901f0cdaff765cda6322dd4a9a7ccb3' d508a1259 Attributes for code fences should be placed after the lang indicator only c80905cef deps: Update to esbuild v0.9.0 95350eb79 Add support for Google Analytics v4 02d36f9bc Allow markdown attribute lists to be used in title render hooks 7df220a64 Merge commit '9d31f650da964a52f05fc27b7fb99cf3e09778cf' d80bf61b7 Fixes #7698. git-subtree-dir: docs git-subtree-split: fb551cc750faa83a1493b0e0d0898cd98ab74465
7.9 KiB
date: 2020-03-03 title: "Hugo 0.66.0: PostCSS Edition" description: "Native inline, recursive import support in PostCSS/Tailwind, "dependency-less" builds, and more …" categories: ["Releases"]
This release adds inline @import
support to resources.PostCSS
, with imports relative to Hugo's virtual, composable file system. Another useful addition is the new build
configuration section. As an example:
{{< code-toggle file="config" >}} [build] useResourceCacheWhen = "always" {{< /code-toggle >}}
The above will tell Hugo to always use the cached build resources inside resources/_gen
for the build steps requiring a non-standard dependency (PostCSS and SCSS/SASS). Valid values are never
, always
and fallback
(default).
This release represents 27 contributions by 8 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @anthonyfok, @carlmjohnson, and @sams96 for their ongoing contributions. And a big thanks to @digitalcraftsman and @onedrawingperday for their relentless work on keeping the themes site in pristine condition and to @davidsneighbour and @kaushalmodi for all the great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 8 contributions by 5 contributors. A special thanks to @bep, @nantipov, @regisphilibert, and @inwardmovement for their work on the documentation site.
Hugo now has:
- 41984+ stars
- 439+ contributors
- 299+ themes
Enhancements
Templates
- Change error message on missing resource d7798906 @sams96 #6942
- Add math.Sqrt d184e505 @StarsoftAnalysis #6941
Other
- Skip some tests on CircleCI 6a34f88d @bep
- {{ in }} should work with html.Template type ae383f04 @carlmjohnson #7002
- Regen CLI docs ee31e61f @bep
- Add --all flag to hugo mod clean 760a87a4 @bep
- Add build.UseResourceCacheWhen 3d3fa5c3 @bep #6993
- Update dependency list in README.md ee3d0213 @anthonyfok
- Add full filename to image when processing fails 305ce1c9 @bep #7000
- Update dependency list in README 449deb7f @anthonyfok
- Add basic @import support to resources.PostCSS b66d38c4 @bep #6957#6961
- Implement include/exclude filters for deploy 05a74eae @vangent #6922
- Update to Go 1.14 and 1.13.8 33ae6210 @bep #6958
- Add hugo.IsProduction function 1352bc88 @hcwong #6873
- Apply missing go fmt 76b2afe6 @bep
Fixes
Output
Core
- Fix error handling in page collector 3e9db2ad @bep #6988
- Fix 2 Paginator.Pages taxonomy regressions 7ef5a4c8 @bep #6921#6918
- Fix deletion of orphaned sections a70bbd06 @bep #6920
Other
- Fix ref/relref short lookup for pages in sub-folder 8947c3fa @bep #6952
- Fix ref/relRef regression for relative refs from bundles 1746e8a9 @bep #6952
- Fix potential infinite recursion in server change detection 6f48146e @bep #6986
- Fix rebuild logic when editing template using a base template b0d85032 @bep #6968
- Fix panic when home page is drafted 0bd6356c @bep #6927
- Fix goldmark toc rendering ca68abf0 @satotake #6736#6809
- Fix crashes for 404 in IsAncestor etc. a524124b @bep #6931
- Fix panic in 404.Parent 4c2a0de4 @bep #6924