Skip to content

Commit

Permalink
Squashed 'docs/' changes from 4628b9ec2..e65df1059
Browse files Browse the repository at this point in the history
e65df1059 Bump to v0.30
e9e118730 releaser: Prepare repository for 0.31-DEV
e6f2508d4 releaser: Add release notes to /docs for release of 0.30
9c5d6a65b releaser: Bump versions for release of 0.30
88bf0e663 Merge commit 'ecf5e081b5540e69f4af330233f39a07baf53846'
6c7191331 Merge commit 'dae5a7c61cceeb0de59f2d755f63e453f71dd9b2'
efd1821bd tpl: Add errorf template function
0cf8dc046 Change SummaryLength to be configurable (#3924)
9e8c09652 tpl: Add os.fileExists template function
e969cfcd7 Merge commit '9d68f695e782c6a83c77aff13317c7a22c694c98'
1a2d516a0 tpl: Add float template function
5310162dc releaser: Prepare repository for 0.30-DEV
648fdf2d0 releaser: Add release notes to /docs for release of 0.29
b2f46992c releaser: Bump versions for release of 0.29
ec447e043 releaser: Prepare repository for 0.29-DEV
9f469e93a releaser: Add release notes to /docs for release of 0.28
c91c18ebc releaser: Bump versions for release of 0.28
253d2ede2 Merge commit '61c27b58b353c73772aae572c7d822fdfdf7791b'
e35b93cc7 Merge commit '30694a133a88d5f76a51d0372646e10cbeca7691'
9fad59f66 Merge commit '7a89dce53bfbd67a17442a8f9be8fa895fc4f9b1'
4221c2855 Merge commit 'ba45da9d03056447e4873de13d4e0f8d658a769b'
0010b6743 releaser: Prepare repository for 0.28-DEV
9e71765cd releaser: Add release notes to /docs for release of 0.27.1
56206b90d releaser: Bump versions for release of 0.27.1
59522fca0 releaser: Prepare repository for 0.28-DEV
4686686d2 releaser: Add release notes to /docs for release of 0.27
0cd9a5d58 releaser: Bump versions for release of 0.27
d21a59d2d docs: Merge commit '1b4319be62ba071f79e90ef32dbe92eb893429f7'
9c4ff2d8e docs: Document Related Content
887fb1af7 docs: Merge commit '7d63a23b0c68d9cd7c7c09c2755619237bc03485'
c8163b51b Update docs versiona and README
f782c9959 Merge commit 'ec4e6f9df2ab9ffdc62a3f59675369096e0d3f77' as 'docs'
d384c66 docs: Re-integrate
9a2eb0f Revert "Squashed 'docs/' changes from 35abbc86..f887bd7b"
0373e43 Squashed 'docs/' changes from 35abbc86..f887bd7b
ea2cc26 Remove the theme submodule from /docs
0f9f73c Add support for multiple config files via --config a.toml,b.toml,c.toml
c8257f8 Render task list item inside label for correct accessibility
0abdeee source: Normalize UniqueID between Windows & Linux
e2f8664 hugolib: More spelling
46ac745 all: Fix spelling
4b54fb0 all: gofmt -s
40d7d3b releaser: Prepare repository for 0.27-DEV
f090c27 releaser: Add release notes to /docs for release of 0.26
b36f6e3 releaser: Bump versions for release of 0.26
0f51e49 releaser: Add release notes draft for 0.26
62583db vendor: Update checksum for inflect
0d495d5 releaser: Update to new release notes location
22b213b Merge commit 'e81208265bb3cdb7606d051a23d83aeebcb7d34d'
e812082 Squashed 'docs/' changes from ef02e34e..35abbc86
11e5d45 releaser: Include stats from hugoDocs
f768c27 helpers: Remove some unused funcs
81c1317 Add some missing doc comments
9891c0f Remove sourceRelativeLinks
481924b helpers: Fix broken TaskList in Markdown
09907d3 Switch from fork bep/inflect to markbates/inflect
8fb594b Make the title case style guide configurable
9b4170c Remove unused dependencies from vendor.json
6acbe41 media: Add missing JSON tags to Type
e321306 media: Add JSON tags to Type
9c19778 output: Add JSON tags to Format
50ec65f Squashed 'docs/' changes from 73f355ce..ef02e34e
1c18f3f Merge commit '50ec65fbe1a48475d3320775dab2c47389c02114'
cb9dfc2 helpers: Add support for French Guillemets
c4a0b6e vendor: Add support for French Guillemets
a8080c0 Remove CODEOWNERS
84710eb Add -u flag for go get govendor in CONTRIBUTING.md
555a9bc tpl: Accommodate gccgo in TestMethodToName
55d0b89 tpl/collections: Fix intersect on []interface{} handling
aee2b06 Add --debug option to be improved on over time
c1a5da9 vendor: Update dependencies for 0.26-DEV
9ed48c1 Dockerfile: Run go install with -ldflags '-s -w'
bfe0bfb Dockerfile: Reduce image size from 277MB to 27MB
606d6a8 Dockerfile: Optimize Docker image size
12e0495 docs: Add RSS template lookup example
6cd33f6 tpl: Use hash for cache key
dbe6397 hugolib: Support reflinks starting with a slash
0c90e6d Change "hugodocs" to "hugoDocs" to match GitHub's default URL
b60aa1a helpers: Add --trace to asciidoctor args
ff433f9 Add script to pull in docs changes
2c0d1cc Squashed 'docs/' changes from b0470688..73f355ce
f387cb1 doc: Merge commit '2c0d1ccdcd95de0bddeb39dca2e4d08f0d8056d7'
40566ec Remove ^M from file to make line-endings consistent
7759a98 Clarify the repo choice in the contribution guidelines
720786c Add note about doc-related pull requests in contribution guide
214e16e appveyor: Update submodules
a2fb815 Add some README info about the docs repo
73273d4 Add the docs theme to .gitmodules
4c220c4 Merge commit '6dbde8d731f221b027c0c60b772ba82dad759943'
6dbde8d Squashed 'docs/' changes from f3c88b08..b0470688
deccc54 hubolib: Add HasShortcode
00b590d Improve the twitter card template
ea5e9e3 Add GOEXE to support building with different versions of `go`
61bb3cc hugolib: Improve panic handling in layout rendering
794ea21 hugolib: Make template panics into nice error messages
91f410e Bump versions to 0.26-DEV
0e25f1e Revert "Revert "vendor: Update dependencies for 0.26-DEV""
aded65b releaser: Prepare repository for 0.25-DEV
bbd33db releaser: Add release notes to /docs for release of 0.25.1
0e09be7 releaser: Bump versions for release of 0.25.1
195f945 releaser: Ignore openbsd/arm
44b8f74 releaser: Add release notes draft for 0.25.1
a48e132 Revert "vendor: Update dependencies for 0.26-DEV"
7f82b41 parser: Final (!) fix for issue with escaped JSON front matter
84db6c7 parser: Fix issue with escaped JSON front matter
e0cf2e0 tpl/collections: Add some empty slice tests to intersect
dbbc5c4 tpl/collections: Fix union when the first slice is empty
7bcc1ce commands: Navigate to changed on CREATE When working with content from IntelliJ IDE, like WebStorm, every file save is followed by two events: "RENAME" and then "CREATE".
fd41e70 Add first draft of CODEOWNERS
4ec8ee7 vendor: Update dependencies for 0.26-DEV
1e19a98 releaser: Prepare repository for 0.26-DEV
6fb5563 releaser: Add release notes to /docs for release of 0.25
51bcd50 releaser: Fix tag push
6e086e3 releaser: Bump versions for release of 0.25
5895e32 releaser: Add release notes draft for 0.25
b2dcd86 Revert "vendor: Update dependencies"
d2c24ba vendor: Update dependencies
4989950 releaser: Use real theme count in template
a358b33 docs: Regenerate the docs helpers
a392fca docs: Regenerate commands doc
75f782f Revert "commands: Adjust docs path"
37c6905 Squashed 'docs/' changes from 5d9a6703..f3c88b08
e00f5c9 docs: Merge docs commit '37c69054e294bf554be03cf7e4c01e1f586e6943'
4776840 releaser: Adjustments
70d8ddc releaser: Revise the docs handling to match new subtree
5f831a6 releaser: Replace the magic version handling
e7a54e7 releaser: Add --try flag to ease testing
aa6b1b9 output: Support templates per site/language
a1d260b hugolib: Extend the sections API
dd9b1ba hugolib: Make .Site.Sections return the top level sections
1039356 commands: Support human-readable YAML boolean values in undraft
ccdd08d tpl/collections: Add Pages support to Intersect and Union
d12cf5a tpl/collections: Fix In function for JSON arrays
e10e51a parser: Fix handling of JSON front matter with escaped quotes
34c5667 tpl/math: Add log function
41805dc hugolib: Render 404.html for all languages
7ee1f25 hugo import jekyll support nested _posts directories
3aa0e16 cache: Add even more concurrency to test
b3c8056 cache: Add concurrent cache test
fe132e1 vendor: Add missing WebP dependencies
8431c8d tpl: Add WebP images support
da72805 tpl: Only show post's own keywords in schema.org
72fd871 hugolib: Add more summary test
118f8f7 Dockerfile: Update Dockerfile and add Docker optimizations
56d82aa hugofs: Fix typo in code comment
eccb064 tpl: Simplify the Disqus template a little bit (#3655)
2e1e493 tpl: Improve the built-in Disqus template (#3639)
a544049 helpers: Add Blackfriday 'joinLines' extension support (#3574)
bfce30d helpers: add --initial-header-level=2 to rst2html (#3528)
30e14cc Make `--navigateToChanged` more robust on Windows
c825a73 Support open "current content page" in browser
7198ea8 Revert "Remove docs building from CI builds"
dd78d5b Squashed 'docs/' content from commit 5d9a6703
a7765bb Merge commit 'dd78d5b23fe597f4461aa4199401b4e07c0612e2' as 'docs'

git-subtree-dir: docs
git-subtree-split: e65df1059549d951a45853576374be4088ded1d3
  • Loading branch information
bep committed Oct 19, 2017
1 parent ecf5e08 commit 325009c
Show file tree
Hide file tree
Showing 9 changed files with 265 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ twitter = "GoHugoIO"
[params]
description = "The world’s fastest framework for building websites"
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
release = "0.29"
release = "0.30"
## Setting this to true will add a "noindex" to *EVERY* page on the site
removefromexternalsearch = false
## Gh repo for site footer (include trailing slash)
Expand Down
26 changes: 26 additions & 0 deletions content/functions/errorf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: errorf
linktitle: errorf
description: Evaluates a format string and logs it to ERROR.
date: 2017-09-30
publishdate: 2017-09-30
lastmod: 2017-09-30
categories: [functions]
menu:
docs:
parent: "functions"
keywords: [strings, log, error]
signature: ["errorf FORMAT INPUT"]
workson: []
hugoversion:
relatedfuncs: [printf]
deprecated: false
aliases: []
---

`errorf` will evaluate a format string, then output the result to the ERROR log.
This will also cause the build to fail.

```
{{ errorf "Something went horribly wrong! %s" err }}
```
29 changes: 29 additions & 0 deletions content/functions/fileExists.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "fileExists"
linktitle: "fileExists"
date: 2017-08-31T22:38:22+02:00
description: Checks whether a file exists under the given path.
godocref:
publishdate: 2017-08-31T22:38:22+02:00
lastmod: 2017-08-31T22:38:22+02:00
categories: [functions]
menu:
docs:
parent: "functions"
signature: ["fileExists PATH"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---

`fileExists` allows you to check if a file exists under a given path, e.g. before inserting code into a template:

```
{{ if (fileExists "static/img/banner.jpg") -}}
<img src="{{ "img/banner.jpg" | absURL }}" />
{{- end }}
```

In the example above, a banner from the `static` folder should be shown if the given path points to an existing file.
26 changes: 26 additions & 0 deletions content/functions/float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: float
linktitle: float
description: Creates a `float` from the argument passed into the function.
godocref:
date: 2017-09-28
publishdate: 2017-09-28
lastmod: 2017-09-28
categories: [functions]
menu:
docs:
parent: "functions"
keywords: [strings,floats]
signature: ["float INPUT"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---

Useful for turning strings into floating point numbers.

```
{{ float "1.23" }} → 1.23
```
4 changes: 4 additions & 0 deletions content/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ googleAnalytics: ""
# if true, auto-detect Chinese/Japanese/Korean Languages in the content. (.Summary and .WordCount can work properly in CJKLanguage)
hasCJKLanguage: false
languageCode: ""
# the length of text to show in a .Summary
summaryLength: 70
layoutDir: "layouts"
# Enable Logging
log: false
Expand Down Expand Up @@ -249,6 +251,8 @@ googleAnalytics = ""
# if true, auto-detect Chinese/Japanese/Korean Languages in the content. (.Summary and .WordCount can work properly in CJKLanguage)
hasCJKLanguage = false
languageCode = ""
# the length of text to show in a .Summary
summaryLength: 70
layoutDir = "layouts"
# Enable Logging
log = false
Expand Down
93 changes: 93 additions & 0 deletions content/news/0.27-relnotes-ready.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@

---
date: 2017-09-11
title: "0.27"
description: "0.27"
categories: ["Releases"]
---


Hugo `0.27`comes with fast and flexible **Related Content** ([3b4f17bb](https://github.com/gohugoio/hugo/commit/3b4f17bbc9ff789faa581ac278ad109d1ac5b816) [@bep](https://github.com/bep) [#98](https://github.com/gohugoio/hugo/issues/98)). To add this to your site, put something like this in your single page template:

```html
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>See Also</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
```

The above translates to _list the five regular pages mostly related to the current page_. See the [Related Content Documentation](https://gohugo.io/content-management/related/) for details and configuration options.

This release represents **37 contributions by 9 contributors** to the main Hugo code base.

[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@moorereason](https://github.com/moorereason), [@yihui](https://github.com/yihui), and [@oneleaftea](https://github.com/oneleaftea) for their ongoing contributions.

And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **44 contributions by 30 contributors**. A special thanks to [@bep](https://github.com/bep), [@sdomino](https://github.com/sdomino), [@gotgenes](https://github.com/gotgenes), and [@digitalcraftsman](https://github.com/digitalcraftsman) for their work on the documentation site.


Hugo now has:

* 19464+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 455+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 178+ [themes](http://themes.gohugo.io/)

## Notes

* We now only strip p tag in `markdownify` if there is only one paragraph. This allows blocks of paragraphs to be "markdownified" [33ae10b6](https://github.com/gohugoio/hugo/commit/33ae10b6ade67cd9618970121d7de5fd2ce7d781) [@bep](https://github.com/bep) [#3040](https://github.com/gohugoio/hugo/issues/3040)

## Enhancements

### Templates

* Add `time.Duration` and `time.ParseDuration` template funcs [f4bf2141](https://github.com/gohugoio/hugo/commit/f4bf214137ebd24a0d12f16d3a98d9038e6eabd3) [@bep](https://github.com/bep) [#3828](https://github.com/gohugoio/hugo/issues/3828)
* Add `cond` (ternary) template func [0462c96a](https://github.com/gohugoio/hugo/commit/0462c96a5a9da3e8adc78d96acd39575a8b46c40) [@bep](https://github.com/bep) [#3860](https://github.com/gohugoio/hugo/issues/3860)
* Prepare for template metrics [d000cf60](https://github.com/gohugoio/hugo/commit/d000cf605091c6999b72d6c632752289bc680223) [@bep](https://github.com/bep)
* Add `strings.TrimLeft` and `TrimRight` [7674ad73](https://github.com/gohugoio/hugo/commit/7674ad73825c61eecc4003475fe0577f225fe579) [@moorereason](https://github.com/moorereason)
* compare, hugolib, tpl: Add `Eqer` interface [08f48b91](https://github.com/gohugoio/hugo/commit/08f48b91d68d3002b887ddf737456ff0cc4e786d) [@bep](https://github.com/bep) [#3807](https://github.com/gohugoio/hugo/issues/3807)
* Only strip p tag in `markdownify` if only one paragraph [33ae10b6](https://github.com/gohugoio/hugo/commit/33ae10b6ade67cd9618970121d7de5fd2ce7d781) [@bep](https://github.com/bep) [#3040](https://github.com/gohugoio/hugo/issues/3040)
* Cleanup `strings.TrimPrefix` and `TrimSuffix` [29a2da05](https://github.com/gohugoio/hugo/commit/29a2da0593b081cdd61b93c6328af2c9ea4eb20f) [@moorereason](https://github.com/moorereason)

### Output

* Improve the base template (aka `baseof.html`) identification [0019ce00](https://github.com/gohugoio/hugo/commit/0019ce002449d671a20a69406da37b10977f9493) [@bep](https://github.com/bep)

### Core

* Implement "related content" [3b4f17bb](https://github.com/gohugoio/hugo/commit/3b4f17bbc9ff789faa581ac278ad109d1ac5b816) [@bep](https://github.com/bep) [#98](https://github.com/gohugoio/hugo/issues/98)
* Add `Page.Equals` [f0f49ed9](https://github.com/gohugoio/hugo/commit/f0f49ed9b0c9b4545a45c95d56340fcbf4aafbef) [@bep](https://github.com/bep)
* Rewrite `replaceDivider` to reduce memory allocation [71ae9b45](https://github.com/gohugoio/hugo/commit/71ae9b4533083be185c5314c9c5b273cc3bd07bd) [@bep](https://github.com/bep)


### Other

* Set up Hugo release flow on `CircleCI` [d2249c50](https://github.com/gohugoio/hugo/commit/d2249c50991ba7b00b092aca6e315ca1a4de75a1) [@bep](https://github.com/bep) [#3779](https://github.com/gohugoio/hugo/issues/3779)
* Maintain the scroll position if possible [7231d5a8](https://github.com/gohugoio/hugo/commit/7231d5a829f8d97336a2120afde1260db6ee6541) [@yihui](https://github.com/yihui) [#3824](https://github.com/gohugoio/hugo/issues/3824)
* Add an `iFrame` title to the `YouTube` shortcode [919bc921](https://github.com/gohugoio/hugo/commit/919bc9210a69c801c7304c0b529df93d1dca27aa) [@nraboy](https://github.com/nraboy)
* Remove the theme submodule from /docs [ea2cc26b](https://github.com/gohugoio/hugo/commit/ea2cc26b390476f1c605405604f8c92afd09b6ee) [@bep](https://github.com/bep) [#3791](https://github.com/gohugoio/hugo/issues/3791)
* Add support for multiple config files via `--config a.toml,b.toml,c.toml` [0f9f73cc](https://github.com/gohugoio/hugo/commit/0f9f73cce5c3f1f05be20bcf1d23b2332623d7f9) [@jgielstra](https://github.com/jgielstra)
* Render task list item inside `label` for correct accessibility [c8257f8b](https://github.com/gohugoio/hugo/commit/c8257f8b726478ca70dc8984cdcc17b31e4bdc0c) [@danieka](https://github.com/danieka) [#3303](https://github.com/gohugoio/hugo/issues/3303)
* Normalize `UniqueID` between Windows & Linux [0abdeeef](https://github.com/gohugoio/hugo/commit/0abdeeef6740a3cbba0db95374853d040f2022b8) [@Shywim](https://github.com/Shywim)


## Fixes

### Output

* Fix taxonomy term base template lookup [f88fe312](https://github.com/gohugoio/hugo/commit/f88fe312cb35f7de1615c095edd2f898303dd23b) [@bep](https://github.com/bep) [#3856](https://github.com/gohugoio/hugo/issues/3856)
* Fix `published` front matter handling [202510fd](https://github.com/gohugoio/hugo/commit/202510fdc92d52a20baeaa7edb1091f6882bd95f) [@bep](https://github.com/bep) [#3867](https://github.com/gohugoio/hugo/issues/3867)








19 changes: 19 additions & 0 deletions content/news/0.27.1-relnotes-ready.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

---
date: 2017-09-13
title: "0.27.1"
description: "0.27.1"
categories: ["Releases"]
---



This fixes a regression introduced in [Go 1.9](https://github.com/golang/go/issues/21844) which lead to HTML in shortcodes in multi output Hugo sites being wrongly escaped in some cases.

* Fix escaped HTML Go 1.9 multioutput issue (#3880) [2d613dd9](https://github.com/gohugoio/hugo/commit/2d613dd905bb8eeb8af57e30ddd749a0f04fbd3c) [@bep](https://github.com/bep) [#3876](https://github.com/gohugoio/hugo/issues/3876)

* Bump to Go 1.9 in the Snap build [642ba6ca](https://github.com/gohugoio/hugo/commit/642ba6cab24c558b16378178fe829cbc45845424) [@bep](https://github.com/bep)




64 changes: 64 additions & 0 deletions content/news/0.30-relnotes-ready.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

---
date: 2017-10-16
title: "Hugo 0.30: Race Car Edition!"
description: "Fast Render Mode boosts live reloading!"
categories: ["Releases"]
slug: "0.30-relnotes"
images:
- images/blog/hugo-30-poster.png
---


Hugo `0.30` is the **Race Car Edition**. Hugo is already very very fast, but much wants more. So we added **Fast Render Mode**. It is hard to explain, so start the Hugo development server with `hugo server` and start editing. Live reloads just got so much faster! The "how and what" is discussed in lenghts [other places](https://github.com/gohugoio/hugo/pull/3959), but the short version is that we now re-render only the parts of the site that you are working on.

The second performance related feature is a follow up to the Template Metrics added in Hugo `0.29`. Now, if you add the flag `--templateMetricsHints`, we will calculate a score for how your partials can be cached (with the `partialCached` template func).

This release also more or less makes the really fast Chroma highlighter a complete alternative to Pygments. Most noteable is the new table `linenos` support ([7c30e2cb](https://github.com/gohugoio/hugo/commit/7c30e2cbb08fdf0e61f80c7f1aa29909aeca4211) [@bep](https://github.com/bep) [#3915](https://github.com/gohugoio/hugo/issues/3915)), which makes copy-and-paste code blocks much easier.

This release represents **31 contributions by 10 contributors** to the main Hugo code base.
[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@moorereason](https://github.com/moorereason), [@digitalcraftsman](https://github.com/digitalcraftsman), and [@bmon](https://github.com/bmon) for their ongoing contributions.
And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **26 contributions by 15 contributors**. A special thanks to [@bep](https://github.com/bep), [@digitalcraftsman](https://github.com/digitalcraftsman), [@moorereason](https://github.com/moorereason), and [@kaushalmodi](https://github.com/kaushalmodi) for their work on the documentation site.

Hugo now has:

* 20195+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 454+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 180+ [themes](http://themes.gohugo.io/)

## Notes

* Running `hugo server` will now run with the new "Fast Render Mode" default on. To turn it off, run `hugo server --disableFastRender` or set `disableFastRender=true` in your site config.
* There have been several fixes and enhancements in the Chroma highlighter. One is that it now creates Pygments compatible CSS classes, which means that you may want ot re-generate the stylesheet. See the [Syntax Highlighting Doc](https://gohugo.io/content-management/syntax-highlighting/).

## Enhancements

### Performance
* Only re-render the view(s) you're working on [60bd332c](https://github.com/gohugoio/hugo/commit/60bd332c1f68e49e6ac439047e7c660865189380) [@bep](https://github.com/bep) [#3962](https://github.com/gohugoio/hugo/issues/3962)
* Detect `partialCached` candidates [5800a20a](https://github.com/gohugoio/hugo/commit/5800a20a258378440e203a6c4a4343f5077755df) [@bep](https://github.com/bep)
* Move metrics output to the end of the site build [b277cb33](https://github.com/gohugoio/hugo/commit/b277cb33e4dfa7440fca3b7888026944ce056154) [@moorereason](https://github.com/moorereason)

### Templates

* Output `xmlns:xhtml` only if there are translations available [0859d9df](https://github.com/gohugoio/hugo/commit/0859d9dfe647db3b8a192da38ad7efb5480a29a1) [@jamieconnolly](https://github.com/jamieconnolly)
* Add `errorf` template function [4fc67fe4](https://github.com/gohugoio/hugo/commit/4fc67fe44a3c65fc7faaed21d5fa5bb5f87edf2c) [@bmon](https://github.com/bmon) [#3817](https://github.com/gohugoio/hugo/issues/3817)
* Add `os.FileExists` template function [28188789](https://github.com/gohugoio/hugo/commit/2818878994e906c292cbe00cb2a83f1531a21f32) [@digitalcraftsman](https://github.com/digitalcraftsman) [#3839](https://github.com/gohugoio/hugo/issues/3839)
* Add `float` template function [57adc539](https://github.com/gohugoio/hugo/commit/57adc539fc98dcb6fba8070b9611b8bd545f6f7f) [@x3ro](https://github.com/x3ro) [#3307](https://github.com/gohugoio/hugo/issues/3307)
* Rework the partial test and benchmarks [e2e8bcbe](https://github.com/gohugoio/hugo/commit/e2e8bcbec34702a27047b91b6b007a15f1fc0797) [@bep](https://github.com/bep)

### Other

* Change `SummaryLength` to be configurable (#3924) [8717a60c](https://github.com/gohugoio/hugo/commit/8717a60cc030f4310c1779c0cdd51db37ad636cd) [@bmon](https://github.com/bmon) [#3734](https://github.com/gohugoio/hugo/issues/3734)
* Replace `make` with `mage` in CircleCI build [fe71cb6f](https://github.com/gohugoio/hugo/commit/fe71cb6f5f83cdc8374cf1fc35a6d48102bd4b12) [@bep](https://github.com/bep) [#3969](https://github.com/gohugoio/hugo/issues/3969)
* Add table `linenos` support for Chroma highlighter [7c30e2cb](https://github.com/gohugoio/hugo/commit/7c30e2cbb08fdf0e61f80c7f1aa29909aeca4211) [@bep](https://github.com/bep) [#3915](https://github.com/gohugoio/hugo/issues/3915)
* Replace `make` with `mage` [8d2580f0](https://github.com/gohugoio/hugo/commit/8d2580f07c0253e12524a4b5c13165f876d00b21) [@bep](https://github.com/bep) [#3937](https://github.com/gohugoio/hugo/issues/3937)
* Create `magefile` from `Makefile` [384a6ac4](https://github.com/gohugoio/hugo/commit/384a6ac4bd2de16fcd6a1c952e7ca41b66023a12) [@natefinch](https://github.com/natefinch)
* Clean up lint in various packages [47fdfd51](https://github.com/gohugoio/hugo/commit/47fdfd5196cd24a23b30afe1d88969ffb413ab59) [@moorereason](https://github.com/moorereason)

## Fixes

* Make sure `Date` and `PublishDate` is always set to a value if one is available [6a30874f](https://github.com/gohugoio/hugo/commit/6a30874f19610a38e846e120aac03c68e12f9b7b) [@bep](https://github.com/bep) [#3854](https://github.com/gohugoio/hugo/issues/3854)
* Add correct config file name to verbose server log [15ec031d](https://github.com/gohugoio/hugo/commit/15ec031d9818d239bfbff525c00cd99cc3118a96) [@mdhender](https://github.com/mdhender)
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
command = "hugo"

[context.production.environment]
HUGO_VERSION = "0.29"
HUGO_VERSION = "0.30"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.deploy-preview.environment]
HUGO_VERSION = "0.29"
HUGO_VERSION = "0.30"

[context.branch-deploy.environment]
HUGO_VERSION = "0.29"
HUGO_VERSION = "0.30"

[context.next.environment]
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
Expand Down

0 comments on commit 325009c

Please sign in to comment.