summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-01-27And now finally fix the 404 templatesBjørn Erik Pedersen
Fixes #6795
2020-01-26Fix 404 with base template regressionBjørn Erik Pedersen
Fixes #6795
2020-01-23releaser: Prepare repository for 0.64.0-DEVhugoreleaser
[ci skip]
2020-01-23releaser: Add release notes to /docs for release of 0.63.1v0.63.1hugoreleaser
[ci skip]
2020-01-23releaser: Bump versions for release of 0.63.1hugoreleaser
[ci skip]
2020-01-23releaser: Add release notes for 0.63.1hugoreleaser
[ci skip]
2020-01-23deps: Make the build flags shared between sitesBjørn Erik Pedersen
Updates #6789
2020-01-23Fix baseof with regular define regressionBjørn Erik Pedersen
Fixes #6790
2020-01-23Revert to minify v2.6.1Bjørn Erik Pedersen
Closes #6791
2020-01-23releaser: Prepare repository for 0.64.0-DEVhugoreleaser
[ci skip]
2020-01-23releaser: Add release notes to /docs for release of 0.63.0v0.63.0hugoreleaser
[ci skip]
2020-01-23releaser: Bump versions for release of 0.63.0hugoreleaser
[ci skip]
2020-01-23Release 0.63.0Bjørn Erik Pedersen
2020-01-23releaser: Add release notes for 0.63.0hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2020-01-23docs, output: Add base template lookup variant to docs.jsonBjørn Erik Pedersen
2020-01-23docs: Regen docs helperBjørn Erik Pedersen
2020-01-23Fix 0.62.1 server rebuild slowdown regressionBjørn Erik Pedersen
Fixes #6784
2020-01-23tpl/compare: Fix eq when > 2 argsBjørn Erik Pedersen
Fixes #6786
2020-01-23Allow multiple arguments in ne/ge/gt/le/lt functionsTan Yuanhong
Treat op arg1 arg2 arg3 ... as (arg1 op arg2) && (arg1 op arg3) and so on for ne/ge/gt/le/lt. Closes #6619
2020-01-22hugolib: Disable a test assertion on ARMBjørn Erik Pedersen
See #6655
2020-01-22tpl/tplimpl: Rework template management to get rid of concurrency issuesBjørn Erik Pedersen
This more or less completes the simplification of the template handling code in Hugo started in v0.62. The main motivation was to fix a long lasting issue about a crash in HTML content files without front matter. But this commit also comes with a big functional improvement. As we now have moved the base template evaluation to the build stage we now use the same lookup rules for `baseof` as for `list` etc. type of templates. This means that in this simple example you can have a `baseof` template for the `blog` section without having to duplicate the others: ``` layouts ├── _default │   ├── baseof.html │   ├── list.html │   └── single.html └── blog └── baseof.html ``` Also, when simplifying code, you often get rid of some double work, as shown in the "site building" benchmarks below. These benchmarks looks suspiciously good, but I have repeated the below with ca. the same result. Compared to master: ``` name old time/op new time/op delta SiteNew/Bundle_with_image-16 13.1ms ± 1% 10.5ms ± 1% -19.34% (p=0.029 n=4+4) SiteNew/Bundle_with_JSON_file-16 13.0ms ± 0% 10.7ms ± 1% -18.05% (p=0.029 n=4+4) SiteNew/Tags_and_categories-16 46.4ms ± 2% 43.1ms ± 1% -7.15% (p=0.029 n=4+4) SiteNew/Canonify_URLs-16 52.2ms ± 2% 47.8ms ± 1% -8.30% (p=0.029 n=4+4) SiteNew/Deep_content_tree-16 77.9ms ± 1% 70.9ms ± 1% -9.01% (p=0.029 n=4+4) SiteNew/Many_HTML_templates-16 43.0ms ± 0% 37.2ms ± 1% -13.54% (p=0.029 n=4+4) SiteNew/Page_collections-16 58.2ms ± 1% 52.4ms ± 1% -9.95% (p=0.029 n=4+4) name old alloc/op new alloc/op delta SiteNew/Bundle_with_image-16 3.81MB ± 0% 2.22MB ± 0% -41.70% (p=0.029 n=4+4) SiteNew/Bundle_with_JSON_file-16 3.60MB ± 0% 2.01MB ± 0% -44.20% (p=0.029 n=4+4) SiteNew/Tags_and_categories-16 19.3MB ± 1% 14.1MB ± 0% -26.91% (p=0.029 n=4+4) SiteNew/Canonify_URLs-16 70.7MB ± 0% 69.0MB ± 0% -2.40% (p=0.029 n=4+4) SiteNew/Deep_content_tree-16 37.1MB ± 0% 31.2MB ± 0% -15.94% (p=0.029 n=4+4) SiteNew/Many_HTML_templates-16 17.6MB ± 0% 10.6MB ± 0% -39.92% (p=0.029 n=4+4) SiteNew/Page_collections-16 25.9MB ± 0% 21.2MB ± 0% -17.99% (p=0.029 n=4+4) name old allocs/op new allocs/op delta SiteNew/Bundle_with_image-16 52.3k ± 0% 26.1k ± 0% -50.18% (p=0.029 n=4+4) SiteNew/Bundle_with_JSON_file-16 52.3k ± 0% 26.1k ± 0% -50.16% (p=0.029 n=4+4) SiteNew/Tags_and_categories-16 336k ± 1% 269k ± 0% -19.90% (p=0.029 n=4+4) SiteNew/Canonify_URLs-16 422k ± 0% 395k ± 0% -6.43% (p=0.029 n=4+4) SiteNew/Deep_content_tree-16 401k ± 0% 313k ± 0% -21.79% (p=0.029 n=4+4) SiteNew/Many_HTML_templates-16 247k ± 0% 143k ± 0% -42.17% (p=0.029 n=4+4) SiteNew/Page_collections-16 282k ± 0% 207k ± 0% -26.55% (p=0.029 n=4+4) ``` Fixes #6716 Fixes #6760 Fixes #6768 Fixes #6778
2020-01-21deps: Update go-orgNiklas Fasching
Not really a new major version but it's used in production and apparently that means it should be a 1+. Will try to follow semver better from now on. Changes: - `#+OPTIONS: toc:1` now supports not just true/false but numbers to limit headline levels included in table of conents - bug fix latex fragment parsing
2020-01-19examples: Fix blog not buildingJonathan Ling
The example blog had not been updated for some time and I had to restructure it a little bit. Fixes #6752 Changed tag and category directory structure
2020-01-18Add support for newline characters in raw string shortcodeJoshua Wong
2020-01-16deps: Update github.com/alecthomas/chromaGhislain Bourgeois
This new release improves YAML syntax highlighting.
2020-01-15deps: Update minify to v2.7.2Bjørn Erik Pedersen
Fixes #6756
2020-01-15deps: Update Goldmark to v1.1.21Matt Riggott
This is the first version of Goldmark that supports all the Smartypants-style typographic punctuation transformations. Now, a straight single quote in the middle of a word is translated into a curly quote (e.g. "that's" becomes "that’s"). Earlier versions leave them untouched. This brings Goldmark in line with Blackfriday. Fixes #6571.
2020-01-15Allow raw string literals in shortcode paramsJoshua Wong
2020-01-14deps: Update github.com/gohugoio/testmodBuilderBjørn Erik Pedersen
2020-01-13hugolib: Some more benchmark adjustmentsBjørn Erik Pedersen
2020-01-13hugolib: Adjust site benchmarksBjørn Erik Pedersen
2020-01-07deps: Update direct dependenciesBjørn Erik Pedersen
Closes #6719
2020-01-07minifiers: Update to new CSS configBjørn Erik Pedersen
Update #6719
2020-01-07deps: Update to Minify v2.7.0Bjørn Erik Pedersen
Updates ##6719
2020-01-07Revert "Add support for freebsd/arm64"Bjørn Erik Pedersen
golang.org/x/sys is an indirect dependency and needs to be updates as such. This reverts commit aead8108b80d77e23c68a47fd8d86464310130be.
2020-01-07Add support for freebsd/arm64Dmitri Goutnik
Update #6719 6719
2020-01-07tpl: Put Go's internal template funcs in Hugo's mapBjørn Erik Pedersen
``` name old time/op new time/op delta SiteNew/Many_HTML_templates-16 43.4ms ± 0% 42.7ms ± 0% -1.71% (p=0.016 n=4+5) name old alloc/op new alloc/op delta SiteNew/Many_HTML_templates-16 17.5MB ± 0% 17.5MB ± 0% ~ (p=0.690 n=5+5) name old allocs/op new allocs/op delta SiteNew/Many_HTML_templates-16 247k ± 0% 247k ± 0% ~ (p=0.310 n=5+5) ``` Fixes #6717
2020-01-07Update releasenotes_writer.goBjørn Erik Pedersen
2020-01-07hugolib: Add a benchmark with lots of templatesBjørn Erik Pedersen
2020-01-05releaser: Prepare repository for 0.63.0-DEVhugoreleaser
[ci skip]
2020-01-05releaser: Add release notes to /docs for release of 0.62.2v0.62.2hugoreleaser
[ci skip]
2020-01-05releaser: Bump versions for release of 0.62.2hugoreleaser
[ci skip]
2020-01-05releaser: Add release notes for 0.62.2hugoreleaser
[ci skip]
2020-01-05hugolib: Fix relative .Page.GetPage from bundleBjørn Erik Pedersen
Fixes #6705
2020-01-05markup/goldmark: Adjust auto ID space handlingBjørn Erik Pedersen
GitHub does not consider tabs as delimiter, see https://github.com/bep/portable-hugo-links/blob/master/blog/p2.md Closes #6710
2020-01-05docs: Document the new autoHeadingIDType settingBjørn Erik Pedersen
See #6707 See #6616
2020-01-05docs: Regenerate docshelperBjørn Erik Pedersen
See #6707 See #6616
2020-01-05markup/goldmark: Add an optional Blackfriday auto ID strategyBjørn Erik Pedersen
Fixes #6707
2020-01-05markup/goldmark: Make the autoID type config a stringBjørn Erik Pedersen
To potentially make room for one more. See #6707
2020-01-05Merge commit '26f1458a2df6b55eee3a5de46f5fec23a43a7c7d'Bjørn Erik Pedersen