Update https://github.com/gohugoio/hugo from v0.29 to v0.30 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/gohugoio/hugo has been updated to v0.30 by dependencies.io
v0.30
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 withhugo server
and start editing. Live reloads just got so much faster! The "how and what" is discussed at length in other places, 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 thepartialCached
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 bep #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 leads the Hugo development with a significant amount of contribution, but also a big shoutout to @moorereason, @digitalcraftsman, and @bmon for their ongoing contributions.
And as always a big thanks to 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,
which has received 26 contributions by 15 contributors. A special thanks to bep, @digitalcraftsman, @moorereason, and @kaushalmodi for their work on the documentation site.
Hugo now has:
Notes
hugo server
will now run with the new "Fast Render Mode" default on. To turn it off, runhugo server --disableFastRender
or setdisableFastRender=true
in your site config.Enhancements
Performance
partialCached
candidates 5800a20a bepTemplates
xmlns:xhtml
only if there are translations available 0859d9df jamieconnollyerrorf
template function 4fc67fe4 bmon #3817os.FileExists
template function 28188789 digitalcraftsman #3839float
template function 57adc539 x3ro #3307Other
SummaryLength
to be configurable (#3924) 8717a60c bmon #3734make
withmage
in CircleCI build fe71cb6f bep #3969linenos
support for Chroma highlighter 7c30e2cb bep #3915make
withmage
8d2580f0 bep #3937magefile
fromMakefile
384a6ac4 natefinchFixes
Date
andPublishDate
are always set to a value if one is available 6a30874f bep #3854