e161ea09d Add one more Chinese file to workaround reflect: Zero(nil) b595b3a21 Add more Chinese translation 56e4e95d9 Use lang.Merge to "fill in the gaps" for untranslated pages ef079406c Merge commit '650fac3a4e7d256f4505402ab44cfc3c804b8dea' 650fac3a4 Squashed 'themes/gohugoioTheme/' changes from a1768ebb..f31a3dc8 322eff899 Add Chinese language for menus d90b886e0 Fix Markdown table syntax in previous commit 737f3dfca Update the leaf bundle vs branch bundle table 09fa1bc4e Clarify that `.Now` is obsolete 879ea3f6a Make release notes somewhat more consistent 0113e2051 Move 0.40.2-relnotes into content/en/news 77578f5bf Move content/ into new contentDir content/en/ 4dcf7c709 Fix "reflect: Zero(nil)" error in showcase 63dd25505 Release 0.40.2 2076c0d56 releaser: Prepare repository for 0.41-DEV 070fe565e releaser: Add release notes to /docs for release of 0.40.2 4ce52e913 releaser: Bump versions for release of 0.40.2 41907c487 Fix typos in syntax-highlighting.md 91753ef3d Add missing backtick b77274301 Remove duplicate release notes (0.27, 0.27.1, 0.35) 6e00da316 Remove obsolete content/release-notes/ directory 00a6d8c02 Change en dash back to `--` in 0.38.2-relnotes 51b32dc00 Update archetypes.md d0e5c2307 Release 0.40.1 4538a6d5b releaser: Prepare repository for 0.41-DEV 91b391d70 releaser: Add release notes to /docs for release of 0.40.1 e0979d143 releaser: Bump versions for release of 0.40.1 7983967c2 Clean images fe3fdd77d Polish showcase for Flesland Flis e6dde3989 Showcase - Flesland Flis AS by Absoluttweb 73aa62290 Revive @spf13's special Hugo font add67b335 Release Hugo 0.40 c0a26e5a6 Merge branch 'temp40' beeabaaae releaser: Prepare repository for 0.41-DEV e67d5e985 releaser: Add release notes to /docs for release of 0.40 6cdd95273 releaser: Bump versions for release of 0.40 bee21fb9b Revive the other Hugo logos too 4f45e8fe1 Fix the link type attribute for RSS in examples 8c67dc89a Fix example in delimit doc e7f6c00d5 Revive the logo used on the forum 82b0cd26e Merge commit 'a215abf70e018f4bf40d6c09d8bd148d8684b33d' 119c8ca58 Merge commit 'd2ec1a06df8ab6b17ad05cb008d5701b40327d47' db4683bd2 Improve .Get docs 05260b886 .Get function: fix syntax signature git-subtree-dir: docs git-subtree-split: e161ea09d33e3199f4998e4d2e9068d5a850f042
7.7 KiB
date: 2018-04-02 title: "Hugo 0.38: The Easter Egg Edition" description: "Hugo 0.38: Date and slug from filenames, multiple content dirs, config from themes, language merge func …" categories: ["Releases"]
Hugo 0.38
is an Easter egg filled with good stuff. We now support fetching date and slug from the content filename, making the move from Jekyll even easier. And you can now set contentDir
per language with intelligent merging, and themes can now provide configuration ... Also worth mentioning is several improvements in the Chroma highlighter, most notable support for Go templates.
We are working hard to get the documentation up-to-date with the new features, but you can also see them in action with the full source at hugotest.bep.is.
This release represents 39 contributions by 4 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, @felicianotech, and @paulcmal for their ongoing contributions.
And a big thanks to @digitalcraftsman for his relentless work on keeping the themes site in pristine condition and to @kaushalmodi for his great work on the documentation site.
Also, a shoutout to @regisphilibert for his work on the new Code Toggle Shortcode on the Hugo docs site, which we will put to good use to improve all the configuration samples.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 55 contributions by 18 contributors. A special thanks to @kaushalmodi, @bep, @xa0082249956, and @paulcmal for their work on the documentation site.
Hugo now has:
- 24547+ stars
- 447+ contributors
- 213+ themes
Notes
- Hugo now allows partial redefinition
outputs
in your site configuration. This is what most people would expect, but it is still a change in behaviour. For details, see #4487 - Before this release, Hugo flattened URLs of processed images in sub-folders. This worked fine but was not intentional. See #4502.
Enhancements
- Allow themes to define output formats, media types and params e9c7b620 @bep #4490
- Allow partial redefinition of the
ouputs
config f8dc47ee @bep #4487 - Add a way to merge pages by language ffaec4ca @bep #4463
- Extract
date
andslug
from filename 68bf1511 @bep #285#3310#3762#4340 - Add
Delete
method to delete key fromScratch
e46ab29b @paulcmal - Simplify Prev/Next 79dd7cb3 @bep
- List Chroma lexers 2c54f1ad @bep #4554
- Add support for a
contentDir
set per language eb42774e @bep #4523#4552#4553 - Update Chroma 7a634898 @bep #4549
- Add
.Site.IsServer
1823c053 @felicianotech #4478 - Move to Ubuntu Trusty image 511d5d3b @anthonyfok
- Bump some deprecations b6798ee8 @bep
- Update Chroma to get
Go template support
904a3d9d @bep #4515 - Recover from error in server f0052b6d @bep #4516
- Spring test cleaning, take 2 da880157 @bep
- Add docs for
lang.Merge
70005364 @bep - Remove archetype title/date warning ac12d51e @bep #4504
- Add docs on the new front matter configuration 0dbf79c2 @bep #4495
- Refactor the GitInfo into the date handlers ce6e4310 @bep #4495
- Do not print build total when
--quiet
is set 50a03a5a @bep #4456