./www/hugo, Fast & Modern Static Website Engine

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.85.0nb1, Package name: go-hugo-0.85.0nb1, Maintainer: pkgsrc-users

Introducing Hugo, a new idea around making website creation simple again.

Hugo flexibly works with many formats and is ideal for blogs, docs,
portfolios and much more. Hugo's speed fosters creativity and makes
building a website fun again.


Required to build:
[pkgtools/cwrappers] [textproc/go-text] [net/go-net] [security/go-crypto] [textproc/go-runewidth] [devel/go-sys] [lang/go-hcl] [net/go-websocket] [devel/go-buffruneio] [devel/go-goorgeous] [devel/go-emoji] [devel/go-fs] [devel/go-yaml] [devel/go-nitro] [devel/go-afero] [devel/go-sanitized_anchor_name] [devel/go-pflag] [devel/go-amber] [devel/go-i18n] [devel/go-errors] [devel/go-fsnotify] [devel/go-gitmap] [devel/go-immutable-radix] [devel/go-jwalterweatherman] [devel/go-osext] [devel/go-mapstructure] [devel/go-blackfriday] [devel/go-fsync] [devel/go-cobra] [devel/go-purell] [devel/go-viper] [devel/go-golang-lru] [devel/go-consul-api] [devel/go-properties] [devel/go-cast] [security/go-sftp] [security/go-crypt] [databases/go-etcd] [graphics/go-image] [www/go-cssmin] [www/go-gohtml] [www/go-ace] [www/go-toml-burntsushi] [www/go-toml-pelletier] [textproc/go-inflect] [textproc/go-mmark] [textproc/go-md2man] [textproc/go-prose] [devel/go-isatty] [textproc/go-glob] [graphics/go-resize] [devel/go-debounce] [devel/go-fnmatch] [textproc/go-tablewriter] [graphics/go-smartcrop] [devel/go-sync] [devel/go-hashstructure] [devel/go-repr] [devel/go-colour] [devel/go-mapstructure-bep] [www/go-urlesc] [textproc/go-chroma] [textproc/go-regexp2] [devel/go-locker] [graphics/go-imaging] [www/go-parse] [www/go-tocss] [www/go-minify] [lang/go114]

Master sites:

SHA1: b0e0a05fe2567627cdb6775d16e5c6f12bdb9a4e
RMD160: 613df47fd79d3ef93ac0b9c15fd3110cd16f1b8e
Filesize: 38054.967 KB

Version history: (Expand)


CVS history: (Expand)


   2021-07-13 13:36:45 by Benny Siegert | Files touched by this commit (132) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-07-06 20:57:08 by Benny Siegert | Files touched by this commit (3) | Package updated
Log message:
hugo: update to 0.85.0

v0.85.0
-------

Hugo 0.85.0 is on the smaller side of releases, but the main new thing it
brings should be important to those who need it: Poll based watching for file
system changes.

Hugo uses Fsnotify to provide native file system notifications. This is still
the default, but there may situations where this isn't working. The file may
not support it (e.g. NFS), or you get the "too many open files" error and
cannot or do not want to increase the ulimit. Enable polling by passing the
--poll flag with an interval:

hugo server --poll 700ms

You van even do "long polling" by passing a long interval:

hugo server --poll 24h

v0.84.0
-------

This release brings several configuration fixes and improvements that will be
especially useful for themes.

Deep merge of theme Params

One of the most common complaint from Hugo theme owners/users has been about
the configuration handling. Hugo has up until now only performed a shallow
merge of theme params into the configuration.

With that, given this example from a theme configuration:

[params]
[params.colours]
blue="#337DFF"
green="#68FF33"
red="#FF3358"

If you would like to use the above theme, but want a different shade of red,
you earlier had to copy the entire block, even the colours you're totally happy
with. This was painful even the simplest setup.

Now you can just override the params keys you want to change, e.g.:

[params]
[params.colours]
red="#fc0f03"

For more information, and especially about the way you can opt out of the above
behaviour, see Merge Configuration from Themes.

Themes now support the config directory

Now both the project and themes/modules can store its configuration in both the
top level config file (e.g. config.toml) or in the config directory. See
Configuration Directory.

HTTP headers in getJSON/getCSV

getJSON now supports custom HTTP headers. This has been a big limitation in
Hugo, especially considering the Authorization header.

New erroridf template func

Sometime, especially when creating themes, it is useful to be able to let the
user decide if an error situation is critical enough to fail the build. The new
erroridf produces ERROR log statements that can be toggled off:

{{ erroridf "some-custom-id" "Some error message." }}

Will log:

ERROR: Some error message.
If you feel that this should not be logged as an ERROR, you can ignore it by \ 
adding this to your site config:
ignoreErrors = ["some-custom-id"]
   2021-06-06 14:19:04 by Benny Siegert | Files touched by this commit (203) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-05-12 13:48:01 by Jonathan Perkin | Files touched by this commit (3) | Package updated
Log message:
hugo: Update to 0.83.1.

v0.83.1
This is a bug-fix release with one important fix.
langs/i18n: Fix warning regression in i18n ececd1b1 @bep #8492

v0.83.0
Templates
Remove the FuzzMarkdownify func for now 5656a908 @bep

Output
Make the shortcode template lookup for output formats stable 0d86a32d @bep #7774
Only output mediaType once in docshelper JSON 7b4ade56 @bep #8379

Other
Regenerate docs helper a9b52b41 @bep
Regenerate CLI docs b073a1c9 @bep
Remove all dates from gendoc 4227cc1b @bep
Update getkin/kin-openapi v0.60.0 => v0.61. 3cc4fdd6 @bep
Update github.com/evanw/esbuild v0.11.14 => v0.11.16 78c1a6a7 @bep
Remove .Site.Authors from embedded templates f6745ad3 @jmooring #4458
Don't treat a NotFound response for Delete as a fatal error. f523e9f0 @vangent
Switch to deb packages of nodejs and python3-pygments 63cd05ce @anthonyfok
Install bin/node from node/14/stable 902535ef @anthonyfok
bump github.com/getkin/kin-openapi from 0.55.0 to 0.60.0 70aebba0 @dependabot[bot]
bump github.com/evanw/esbuild from 0.11.13 to 0.11.14 3e3b7d44 @dependabot[bot]
Update to Chroma v0.9.1 048418ba @caarlos0
Improve plural handling of floats eebde0c2 @bep #8464
bump github.com/evanw/esbuild from 0.11.12 to 0.11.13 65c502cc @dependabot[bot]
Revise the plural implementation 537c905e @bep #8454#7822
Update to "base: core20" 243951eb @anthonyfok
bump github.com/frankban/quicktest from 1.11.3 to 1.12.0 fe2ee028 @dependabot[bot]
bump google.golang.org/api from 0.44.0 to 0.45.0 316d65cd @dependabot[bot]
bump github.com/aws/aws-sdk-go from 1.37.11 to 1.38.23 b95229ab @dependabot[bot]
Correct function name in comment 0551df09 @xhit
Upgraded github.com/evanw/esbuild v0.11.0 => v0.11.12 057e5a22 @bep
Regen docs helper fd96f65a @bep
bump github.com/tdewolff/minify/v2 from 2.9.15 to 2.9.16 d3a64708 @dependabot[bot]
bump golang.org/x/text from 0.3.5 to 0.3.6 3b56244f @dependabot[bot]
Remove some unreachable code f5d3d635 @bep
bump github.com/getkin/kin-openapi from 0.39.0 to 0.55.0 0d3c42da @dependabot[bot]
Some performance tweaks for the HTML elements collector ef34dd8f @bep
Exclude comment and doctype elements from writeStats bc80022e @dirkolbrich #8396#8417
Merge branch 'release-0.82.1' 2bb9496c @bep
bump github.com/yuin/goldmark from 1.3.2 to 1.3.5 3ddffd06 @jmooring #8377
Remove duplicate references from release notes 6fc52d18 @jmooring #8360
bump github.com/spf13/afero from 1.5.1 to 1.6.0 73c3ae81 @dependabot[bot]
bump github.com/pelletier/go-toml from 1.8.1 to 1.9.0 7ca118fd @dependabot[bot]
Add webp image encoding support 33d5f805 @bep #5924
bump google.golang.org/api from 0.40.0 to 0.44.0 509d39fa @dependabot[bot]
bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 7725c41d @dependabot[bot]
bump github.com/rogpeppe/go-internal from 1.6.2 to 1.8.0 5d36d801 @dependabot[bot]
Remove extraneous space from figure shortcode 9b34d42b @jmooring #8401
bump github.com/magefile/mage from 1.10.0 to 1.11.0 c2d8f87c @dependabot[bot]
bump github.com/google/go-cmp from 0.5.4 to 0.5.5 cbc24661 @dependabot[bot]
Disable broken pretty relative links feature fa432b17 @niklasfasching
Update go-org to v1.5.0 0cd55c66 @niklasfasching
bump github.com/jdkato/prose from 1.2.0 to 1.2.1 0d5cf256 @dependabot[bot]
bump github.com/spf13/cobra from 1.1.1 to 1.1.3 36527576 @dependabot[bot]
Add complete dependency list in "hugo env -v" 9b83f45b @bep #8400
Add hugo.IsExtended 7fdd2b95 @bep #8399
Also test minified HTML in the element collector 3d5dbdcb @bep #7567
Skip script, pre and textarea content when looking for HTML elements 8a308944 \ 
@bep #7567
Add slice syntax to sections permalinks config 2dc222ce @bep #8363
Upgrade github.com/evanw/esbuild v0.9.6 => v0.11.0 4d22ad58 @bep

Fixes

Templates
Fix where on type mismatches e4dc9a82 @bep #8353

Output
Regression in media type suffix lookup 6e9d2bf0 @bep #8406
Regression in media type suffix lookup e73f7a77 @bep #8406

Other
Fix multiple unknown language codes 7eb80a9e @bep #7838
Fix permalinks pattern detection for some of the sections variants c13d3687 @bep \ 
#8363
Fix Params case handling in where with slices of structs (e.g. Pages) bca40cf0 \ 
@bep #7009
Fix typo in docshelper.go 7c7974b7 @jmooring #8380
Try to fix the fuzz build 5e2f1289 @bep

v0.82.1
This is a bug-fix release with one important fix.
Regression in media type suffix lookup 6e9d2bf0 @bep #8406

v0.82.0
Enhancements

Templates
Add method mappings for strings.Contains, strings.ContainsAny 7f853003 @bep

Output
Make Type comparable ba1d0051 @bep #8317#8324
Add a basic benchmark 4d24e2a3 @bep

Other
Regenerate docs helper 86b4fd35 @bep
Regen CLI docs 195d108d @bep
Simplify some config loading code df8bb881 @bep
Update github.com/evanw/esbuild v0.9.0 => v0.9.6 57d8d208 @bep
Apply OS env overrides twice fc06e850 @bep
Attributes for code fences should be placed after the lang indicator only \ 
b725253f @bep #8313
Bump github.com/tdewolff/minify/v2 v2.9.15 35dedf15 @bep #8332
More explicit support link to discourse 137d2dab @davidsneighbour
Update to esbuild v0.9.0 1b1dcf58 @bep
Allow more spacing characters in strings 0a2ab3f8 @moorereason #8079#8079
Rename a test 35bfb662 @bep
Add a debug helper 6d21559f @bep
Add support for Google Analytics v4 ba16a14c @djatwood
Bump go.mod to Go 1.16 782c79ae @bep #8294
#8210 Upgrade golang version for Dockerfile 5afcae7e @systemkern
Update CONTRIBUTING.md 60469f42 @bep
Handle attribute lists in code fences aed7df62 @bep #8278
Allow markdown attribute lists to be used in title render hooks cd0c5d7e @bep #8270
bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8 88a85dce @dependabot[bot]

Fixes

Output
Fix output format handling for render hooks 18074d0c @bep #8176

Other
Fix OS env override for nested config param only available in theme 7ed56c69 \ 
@bep #8346
Fix new theme command description 24c716ca @rootkea
Fix handling of utf8 runes in nullString() f6612d8b @moorereason
Fixes #7698. 01dd7c16 @gzagatti
Fix autocomplete docs c8f45d1d @bep

v0.81.0
Make the build green again fe77f743 @bep
Regenerate internal templates c6080655 @bep
Update date logic of opengraph and schema internal templates ffd9dac4 @djatwood
Synch Go templates fork with Go 1.16dev cf3e077d @bep
Exclude pages without Permalink from sitemap 4867cd1d @Jaza
Add default user-agent header for getJSON requests 35def0ae @peacecwz
remove 1mb limit for readFile. ee9c1367 @avdva
Do not return errors in substr for out-of-bounds cases 8a26ab0b @moorereason #8113
Add missing test scenario for strings.Substr 788e50ad @moorereason
Regen CLI docs 9e99950c @bep
Regen docs helper 1b364b00 @bep
Run go mod tidy 88b93a09 @bep
Add arm64 to Darwinextended build and add vendorInfo 29fb456c @bep #8003
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only) 718fba7d @bep
Pull in latest Go 1.16 template source e77b2e3a @bep
Add breaking tests for "map read and map write in templates" b5485aea \ 
@bep #7293
Pull in latest Go template source ccb822eb @bep
Expand template newline testcase to commands 21e9eb18 @bep
Add a test case for Go 1.16 template action newlines ae57ba6a @bep
Update github.com/tdewolff/minify/v2 v2.6.2 => v2.9.13 66beac99 @bep #8258
bump github.com/frankban/quicktest from 1.11.2 to 1.11.3 968dd7a7 @dependabot[bot]
bump github.com/getkin/kin-openapi from 0.32.0 to 0.39.0 38f29e81 @dependabot[bot]
bump github.com/aws/aws-sdk-go from 1.36.33 to 1.37.11 cd87813a @dependabot[bot]
bump github.com/sanity-io/litter from 1.3.0 to 1.5.0 4e815b06 @dependabot[bot]
bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 652a59d3 @dependabot[bot]
Update to esbuild v0.8.46 84f0ec7f @bep
Add config option modules.vendorClosest bdfbcf6f @bep #8235#8242
bump google.golang.org/api from 0.26.0 to 0.40.0 a9b0fea6 @dependabot[bot]
Change version string format and add VendorInfo to help with issue triaging \ 
e8df0977 @anthonyfok
Allow absolute paths for any modules resolved via project replacement 3a5ee0d2 \ 
@bep #8240
Throw an error running hugo mod vendor on mountless module 4ffaeaf1 @bep
Add PowerShell completion support 5f621df2 @anthonyfok #8122
Refer to mage instead of make in comment regarding commitHash 7118f89c @anthonyfok
Add attributes support for blocks (tables etc.) 2681633d @bep #7548
Update to Goldmark v1.3.2 1b247282 @bep #8143
Update to Dart Sass Protocol beta6 441b11be @bep
Write to stdout by default d36fd5b3 @benmezger
Remove powershell support a7c515e1 @benmezger
Add zsh, fish and powershell completion support 216b00f3 @benmezger #4296
Enable NPM tests on Windows 14494379 @bep #8196
Update to esbuild v0.8.39 440fdb0e @bep #8189
Trim whitespace in elements written to hugo_stats.json b2a48dce @pmatiash #7958
bump github.com/aws/aws-sdk-go from 1.35.0 to 1.36.33 2f9dadae @dependabot[bot]
Remove mention of a file size limit for readFile ed3071b7 @avdva
Add Inject config option 32b86076 @bep #8164
Add Shims option e19a046c @bep #8165
bump github.com/spf13/afero from 1.4.1 to 1.5.1 07ad283f @eclipseo
Add external source map support to js.Build and Babel 2c8b5d91 @richtera #8132
Run go mod tidy 4d2b6fc4 @bep
Update go-org to v1.4.0 212e5e55 @niklasfasching
Adjust log level 4fdec67b @bep
Add temporary patch to fix template data race 9650e568 @bep #7293
Fix race condition in text template baseof 241b7483 @moorereason
Fix metrics hint tracking 0004a733 @moorereason #8125
Fix potential path issue on Windows b60e9279 @bep
Fix some humanize issues bf55afd7 @susiwen8 #7912
Fix handling of legacy attribute config e6dd3128 @bep #7548
Support translation files with suffix *.yml 92c6c404 @bep #8212
Fix nilpointer in js.Build error handling a1fe552f @bep #8162
   2021-05-08 17:02:47 by Benny Siegert | Files touched by this commit (216) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-03-19 18:37:10 by Benny Siegert | Files touched by this commit (215) | Package updated
Log message:
Revbump all Go packages after go115 update
   2021-02-09 13:29:04 by Ryo ONODERA | Files touched by this commit (3) | Package updated
Log message:
hugo: Update to 0.80.0

Changelog:
0.80.0
Enhancements

Templates

  * Regenerate templates a2d146ec @bep
  * tpl/internal/go_templates: Revert formatting 718e09ed @bep
  * Add title parameter to YouTube shortcode 4fc918e0 @azenk

Output

  * Add missing OutputStyle option 428b0b32 @bep

Other

  * Allow Dart Sass transformations to be cached on disk ffbf5e45 @bep
  * Dart Sass only supports expanded and compressed 48994ea7 @bep
  * Update emoji import paths and version 1f7e9f73 @moorereason
  * Add Dart Sass support cea15740 @bep #7380#8102
  * GroupByParamDate now supports datetimes f9f77978 @zerok
  * Skip para test when not on CI a9718f44 @bep #6963
  * Update SECURITY.md f802bb23 @bep
  * Improve LookPath 10ae7c32 @bep
  * create a SECURITY.md ae2d1bd5 @davidsneighbour #8074
  * Show more detail on failed time test 8103188b @moorereason #6963
  * Add images.Overlay filter 3ba147e7 @bep #8057#4595#6731
  * Bump github.com/spf13/cobra from 0.15.0 to 0.20.0 c84ad8db @anthonyfok
  * configure proper link to discourse.gohugo.io (#8020) 4e0acb89
    @davidsneighbour
  * Format code with gofumpt d90e37e0 @bep
  * bump github.com/evanw/esbuild from 0.8.15 to 0.8.17 32471b57 @dependabot
    [bot]
  * Use --baseURL path for live-reload URL 0ad378b0 @sth #6595
  * bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0 907d9e92
    @dependabot[bot]

Fixes

Templates

  * Fix series detection in opengraph d2d493ab @Humberd
  * Fix substr when length parameter is zero 5862fd2a @moorereason #7993
  * Refactor and fix substr logic 64789fb5 @moorereason #7993

Other

  * Fix Resource.ResourceType so it always returns MIME's main type 81975f84
    @bep #8052
  * hugolib/paths: Fix typo ce96895d @mayocream
  * Fix minor typos 04b89857 @phil-davis
  * Fix BenchmarkMergeByLanguage 21fa1e86 @bep #7914
  * Fix RelURL and AbsURL when path starts with language aebfe156
    @ivan-meridianbanc-com

0.79.1:
Hugo depends on Go's os/exec for certain features, e.g. for rendering of Pandoc
documents if these binaries are found in the system %PATH% on Windows. However,
if a malicious file with the same name (exe or bat) was found in the current
working directory at the time of running hugo, the malicious command would be
invoked instead of the system one.

Windows users who ran hugo inside untrusted Hugo sites was affected.

The origin of this issue comes from Go, see golang/go#38736

We have fixed this in Hugo by using a patched version of exec.LookPath from
https://github.com/cli/safeexec (thanks to @mislav for the implementation).

Thanks to @Ry0taK for the bug report.

0.79.0:
Hugo 0.79.0 is a small, but useful release. You can now set custom .Params in
your menu configuration, and you can now also override deeply nested
snake_cased configuration variables with OS environment variables. Other than
that we have refreshed all the core upstream dependencies. A special thanks to
@alecthomas (some new Chroma lexers and fixes) and @evanw (ESBuild).

This release represents 33 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 @AdamKorcz, and @davidejones for their
ongoing contributions. And a big thanks to @digitalcraftsman for his relentless
work on keeping the themes site in pristine condition and to @davidsneighbour,
@coliff 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 13 contributions by 11 contributors. A special thanks to
@Valac01, @bep, @mhansen, and @chanjarster for their work on the documentation
site.

Enhancements

Templates

  * Add more layout lookup tests 34061706 @moorereason #7964

Other

  * bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 17e0bbe8 @dependabot[bot]
  * Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
    7e223b3b @bep #7829
  * Update to github.com/evanw/esbuild 0.8.11 to 0.8.14 8a6e7060 @bep #7986
  * bump github.com/google/go-cmp from 0.5.2 to 0.5.3 6f7633df @dependabot[bot]
  * Remove unneeded meta tag from blog example a546059a @coliff
  * bump github.com/getkin/kin-openapi from 0.30.0 to 0.31.0 b5d906e3
    @dependabot[bot]
  * Regen docshelper fd70bdaf @bep
  * Add menu params 8f5c9a74 @davidejones #7951
  * Preserve url set in frontmatter without sanitizing e4fcb672 @satotake #6007
  * Add file deleted by accident 18c13adc @bep #7972
  * Regenerate docshelper" 20a35374 @bep #7972
  * Regenerate docshelper caf16c20 @bep
  * Update to Chroma v0.8.2 b298c06e @bep #7970
  * bump github.com/evanw/esbuild from 0.8.8 to 0.8.11 55e290af @dependabot
    [bot]
  * bump github.com/getkin/kin-openapi from 0.26.0 to 0.30.0 506a190a
    @dependabot[bot]
  * bump github.com/evanw/esbuild from 0.8.6 to 0.8.8 fc81de64 @dependabot[bot]
  * Let ESBuild handle all imports from node_modules 78f227b6 @bep #7948
  * bump github.com/evanw/esbuild from 0.8.5 to 0.8.6 5e03f644 @dependabot[bot]
  * bump github.com/evanw/esbuild from 0.8.4 to 0.8.5 a92ef20f @dependabot[bot]
  * bump github.com/getkin/kin-openapi from 0.22.1 to 0.26.0 0d54a844
    @dependabot[bot]
  * Update GH docs to say "main" as default branch 943f3c93 @maco
  * Updated year in header 4f20bf29 @AdamKorcz
  * Added first fuzzer 4c613d5d @AdamKorcz
  * bump github.com/frankban/quicktest from 1.11.1 to 1.11.2 82a182e5
    @dependabot[bot]
  * bump golang.org/x/text from 0.3.3 to 0.3.4 dfc662b2 @dependabot[bot]
  * bump github.com/evanw/esbuild from 0.8.3 to 0.8.4 2f0917cc @dependabot[bot]
  * Disable NPM test on Travis on Windows 3437174c @bep
  * Install nodejs on Windows f66302ca @bep
  * Remove external source map option 944150ba @bep #7932

Fixes

Other

  * Fix memory usage in writeStats d162bbd7 @bep #7945
  * Fix server rebuild issue with partials referenced from render hooks
    e442cf30 @bep #7990
  * Misc fixes bf2837a3 @bep #7924#7923
   2021-01-23 15:23:16 by Benny Siegert | Files touched by this commit (209) | Package updated
Log message:
Revbump all Go packages after go115 update