brevno-suite/hugo
4 years agoreleaser: Add release notes to /docs for release of 0.72.0 v0.72.0
hugoreleaser [Sun, 31 May 2020 12:05:36 +0000 (12:05 +0000)]
releaser: Add release notes to /docs for release of 0.72.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.72.0
hugoreleaser [Sun, 31 May 2020 12:05:36 +0000 (12:05 +0000)]
releaser: Bump versions for release of 0.72.0

[ci skip]

4 years agoRelease 0.72.0
Bjørn Erik Pedersen [Sun, 31 May 2020 11:48:27 +0000 (13:48 +0200)]
Release 0.72.0

4 years agoreleaser: Add release notes for 0.72.0
hugoreleaser [Sun, 31 May 2020 11:03:50 +0000 (11:03 +0000)]
releaser: Add release notes for 0.72.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoreleaser: Adjust the "thanks" section
Bjørn Erik Pedersen [Sun, 31 May 2020 10:46:18 +0000 (12:46 +0200)]
releaser: Adjust the "thanks" section

4 years agoMerge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
Bjørn Erik Pedersen [Sun, 31 May 2020 10:43:33 +0000 (12:43 +0200)]
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'

4 years agoSquashed 'docs/' changes from 6c2195936..9be494de3
Bjørn Erik Pedersen [Sun, 31 May 2020 10:43:23 +0000 (12:43 +0200)]
Squashed 'docs/' changes from 6c2195936..9be494de3

9be494de3 Clean up the markup config
c3e123133 Remove JustComment
bc1b02bc5 Add Smart to Anchor section
49e796409 Added where .RegularPagesRecursive was added
a92296e31 Fixed the new-in shortcode in pages-vs-site-pages
051e1267c Documented .RegularPagesRecursive
5bcec88a3 Fix broken link in RSS templates page
3db79d433 Correct pull request link on migrations.md
55c347168 Release 0.71.1
11a4e36c3 Merge branch 'temp711'
481fc8ed6 releaser: Add release notes to /docs for release of 0.71.1
40ba83c26 Update site.md
382632b58 Use-modules: More help how to get started importing a theme (#1107)
06751d465 Addition of hugefastsearch to search options (#1118)
8346d3b18 Add example of how to set the permalinks option for pages in "root"
ebb3b4f3a Refine highlight shortcode options
1075a172a Update index.md
7cc927ea6 Fix typo in v0.71.0 release notes
4121da273 Pull in latest theme version to get link hooks
4809be651 Document render-heading feature
2078a3bd1 Release 0.71.0
c09f6899e releaser: Add release notes to /docs for release of 0.71.0
90ffe2b50 Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
bf3dd0837 Add math.Pow

git-subtree-dir: docs
git-subtree-split: 9be494de3ac79081be60e0f002db110cb96ec7a3

4 years agocommon/maps: Add Scratch.Values
Bjørn Erik Pedersen [Fri, 29 May 2020 16:50:12 +0000 (18:50 +0200)]
common/maps: Add Scratch.Values

Fixes #7335

4 years agodeps: Update Goldmark to improve Typographer
Bjørn Erik Pedersen [Fri, 29 May 2020 17:02:30 +0000 (19:02 +0200)]
deps: Update Goldmark to improve Typographer

See https://github.com/yuin/goldmark/releases/tag/v1.1.31
See #7289

4 years agoAdd redirect support to the server
Bjørn Erik Pedersen [Wed, 27 May 2020 11:50:13 +0000 (13:50 +0200)]
Add redirect support to the server

Fixes #7323

4 years agoFix typo in install instructions
Yash Murty [Wed, 27 May 2020 10:39:56 +0000 (19:39 +0900)]
Fix typo in install instructions

4 years agopublisher: Fix tag collector for nested table elements
Bjørn Erik Pedersen [Mon, 25 May 2020 19:05:59 +0000 (21:05 +0200)]
publisher: Fix tag collector for nested table elements

Fixes #7318

4 years agosnap: Fix build error: my previous commits did not fix it
Anthony Fok [Mon, 25 May 2020 09:28:00 +0000 (03:28 -0600)]
snap: Fix build error: my previous commits did not fix it

- Revert to legacy snap and my custom plugin x-nodejs for now
- Quote "@babel/cli" and add "@babel/core"
- Change bin/babel.js to bin/babel

4 years agoreleaser: Prepare repository for 0.72.0-DEV
hugoreleaser [Mon, 25 May 2020 09:21:10 +0000 (09:21 +0000)]
releaser: Prepare repository for 0.72.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.71.1 v0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Add release notes to /docs for release of 0.71.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Bump versions for release of 0.71.1

[ci skip]

4 years agoreleaser: Add release notes for 0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Add release notes for 0.71.1
[ci skip]

4 years agoAdd some more date test cases
Bjørn Erik Pedersen [Sun, 24 May 2020 12:35:49 +0000 (14:35 +0200)]
Add some more date test cases

See #7310

4 years agoFix RenderString vs render hooks
Bjørn Erik Pedersen [Sun, 24 May 2020 11:03:32 +0000 (13:03 +0200)]
Fix RenderString vs render hooks

Fixes #7265

4 years agoPrevent WARNINGs in RenderString
Bjørn Erik Pedersen [Sun, 24 May 2020 10:49:45 +0000 (12:49 +0200)]
Prevent WARNINGs in RenderString

4 years agoFix IsAncestor/IsDescendant for taxonomies
Bjørn Erik Pedersen [Sat, 23 May 2020 13:04:00 +0000 (15:04 +0200)]
Fix IsAncestor/IsDescendant for taxonomies

Fixes #7305

4 years agoFix GetPage on section/bundle name overlaps
Bjørn Erik Pedersen [Thu, 21 May 2020 09:25:00 +0000 (11:25 +0200)]
Fix GetPage on section/bundle name overlaps

In the internal Radix we stored the directory based nodes without a traling slash, e.g. `/blog`.

The original motivation was probably to make it easy to do prefix searching: Give me all ancestors.

This, however have lead to some ambigouty with overlapping directory names.

This particular problem was, however, not possible to work around in an easy way, so from now we store these as `/blog/`.

Fixes #7301

4 years agoFix Go template script escaping
Bjørn Erik Pedersen [Sat, 23 May 2020 13:32:27 +0000 (15:32 +0200)]
Fix Go template script escaping

Fixes #6695

4 years agoAdd a test helper
Bjørn Erik Pedersen [Fri, 22 May 2020 08:57:25 +0000 (10:57 +0200)]
Add a test helper

4 years agoreleaser: Prepare repository for 0.72.0-DEV
hugoreleaser [Mon, 18 May 2020 16:18:12 +0000 (16:18 +0000)]
releaser: Prepare repository for 0.72.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.71.0 v0.71.0
hugoreleaser [Mon, 18 May 2020 16:05:47 +0000 (16:05 +0000)]
releaser: Add release notes to /docs for release of 0.71.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.71.0
hugoreleaser [Mon, 18 May 2020 16:05:47 +0000 (16:05 +0000)]
releaser: Bump versions for release of 0.71.0

[ci skip]

4 years agoRelease 0.71
Bjørn Erik Pedersen [Mon, 18 May 2020 15:57:12 +0000 (17:57 +0200)]
Release 0.71

4 years agoreleaser: Add release notes for 0.71.0
hugoreleaser [Mon, 18 May 2020 15:47:00 +0000 (15:47 +0000)]
releaser: Add release notes for 0.71.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoFix Babel on Windows
Bjørn Erik Pedersen [Mon, 18 May 2020 13:56:43 +0000 (15:56 +0200)]
Fix Babel on Windows

Fixes #7251

4 years agocommands: Use WARN log level also for the early initialization
Bjørn Erik Pedersen [Mon, 18 May 2020 14:52:45 +0000 (16:52 +0200)]
commands: Use WARN log level also for the early initialization

Fixes #7285

4 years agoMerge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
Bjørn Erik Pedersen [Mon, 18 May 2020 13:25:26 +0000 (15:25 +0200)]
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'

4 years agoSquashed 'docs/' changes from ec0abe052..6c2195936
Bjørn Erik Pedersen [Mon, 18 May 2020 13:24:58 +0000 (15:24 +0200)]
Squashed 'docs/' changes from ec0abe052..6c2195936

6c2195936 Update featured.png
109a0fcca add len function to navigation side menu
39a356bc5 Revert "Add some rickrolls redirects"
b8393b1b5 Add some rickrolls redirects
2ce21c34b Update configuration-markup.md (add rel="noopener")
95bd7974e Disambiguate global and page resources
5e233dc4b Update base.md
959b9dc3a Fix typo on "where" page
aff8059a1 Release 0.70.0
44a172ac0 releaser: Add release notes to /docs for release of 0.70.0
1b01c8988 Release 0.70.0
5ece21c6c Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
0894aec5b Rename transpileJS to babel
5da27c7a6 resources: Add JavaScript transpiling solution

git-subtree-dir: docs
git-subtree-split: 6c21959360394165435fa36eac489bf6a701ae9a

4 years agoUpdate to Go 1.14.3 and Go 1.13.11
Bjørn Erik Pedersen [Fri, 15 May 2020 08:52:33 +0000 (10:52 +0200)]
Update to Go 1.14.3 and Go 1.13.11

4 years agoImprove error message when no Babel installed
Bjørn Erik Pedersen [Sat, 16 May 2020 10:50:57 +0000 (12:50 +0200)]
Improve error message when no Babel installed

4 years agoAdd test for headings render hook
Cameron Little [Fri, 8 May 2020 19:16:34 +0000 (21:16 +0200)]
Add test for headings render hook

4 years agoAdd render template hooks for headings
Eli W. Hunter [Sat, 14 Mar 2020 14:43:10 +0000 (10:43 -0400)]
Add render template hooks for headings

This commit also

* Renames previous types to be non-specific. (e.g. hookedRenderer rather
  than linkRenderer)

Resolves #6713

4 years agoAdd math.Pow
Joe Mooring [Wed, 13 May 2020 17:35:07 +0000 (13:35 -0400)]
Add math.Pow

Closes #7266

4 years agodeploy: Do not suppress .well-known/ directory
John Weldon [Wed, 13 May 2020 23:20:52 +0000 (16:20 -0700)]
deploy: Do not suppress .well-known/ directory

Deployments ignore directories with a leading `.`, but should not ignore
certain well known 'hidden' directories like `.well-known/`

Fixes #6691

4 years agosnap: Quote "@babel/cli" to solve build error
Anthony Fok [Tue, 12 May 2020 20:08:08 +0000 (14:08 -0600)]
snap: Quote "@babel/cli" to solve build error

  Cannot parse snapcraft.yaml from ~gohugoio/hugo/+git/hugo:master:
  while scanning for the next token found character ‘@’ that cannot
  start any token in “”, line 70, column 34: node-packages:
  [postcss-cli, @babel/cli] ^

Also:

- Upgrade to snapcraft 3.x by adding "base: core"
- Add "license: Apache-2.0"

4 years agosnap: Remove custom x-nodejs plugin
Anthony Fok [Mon, 11 May 2020 02:01:06 +0000 (20:01 -0600)]
snap: Remove custom x-nodejs plugin

My changes have been merged into snapcraft upstream.

https://bugs.launchpad.net/snapcraft/+bug/1795531
https://bugs.launchpad.net/snapcraft/+bug/1797374

Revert "snap: Add custom x-nodejs plugin to support ppc64el and s390x"

This reverts commit 91f49c0700dde13e16f42c745584a0bef60c6fe2.

4 years agoUpgrade chroma to 0.7.3 to fix invalid css
Cameron Little [Sat, 9 May 2020 13:25:28 +0000 (15:25 +0200)]
Upgrade chroma to 0.7.3 to fix invalid css

The new version of chroma includes a fix to not emit styles for tokens
without a class (which is invalid).

Fixes #7207

4 years agoUse .Lastmod for og:updated_time
Daniel Tipping [Sat, 14 Mar 2020 12:57:17 +0000 (12:57 +0000)]
Use .Lastmod for og:updated_time

.Lastmod is the time at which the website was most recently updated,
rather than .Date which is the time at which the website content file
was created.

4 years agoreleaser: Prepare repository for 0.71.0-DEV
hugoreleaser [Wed, 6 May 2020 11:29:18 +0000 (11:29 +0000)]
releaser: Prepare repository for 0.71.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.70.0 v0.70.0
hugoreleaser [Wed, 6 May 2020 11:16:40 +0000 (11:16 +0000)]
releaser: Add release notes to /docs for release of 0.70.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.70.0
hugoreleaser [Wed, 6 May 2020 11:16:40 +0000 (11:16 +0000)]
releaser: Bump versions for release of 0.70.0

[ci skip]

4 years agoRelease 0.70.0
Bjørn Erik Pedersen [Wed, 6 May 2020 10:30:29 +0000 (12:30 +0200)]
Release 0.70.0

4 years agoreleaser: Add release notes for 0.70.0
hugoreleaser [Wed, 6 May 2020 10:24:22 +0000 (10:24 +0000)]
releaser: Add release notes for 0.70.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoMerge commit '89044b8f8795f17c36396c67823183a20fc88139'
Bjørn Erik Pedersen [Wed, 6 May 2020 10:12:57 +0000 (12:12 +0200)]
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'

4 years agoSquashed 'docs/' changes from 19f44e150..ec0abe052
Bjørn Erik Pedersen [Wed, 6 May 2020 10:12:21 +0000 (12:12 +0200)]
Squashed 'docs/' changes from 19f44e150..ec0abe052

ec0abe052 Update index.md
ed44339cd Update bio.md
cef04eb95 Minor edits
4d45dcc8d Submitting Digital.gov to the Hugo Showcase
d35126af7 Azure uses storage containers, not buckets; edited accordingly. (#1078)
9c249cc89 fix grammatical error
9728699a3 Release Hugo 0.69.2
cccabed0c Merge branch 'temp692'
3d0a740c4 releaser: Add release notes to /docs for release of 0.69.2
b760aceb1 HTTPS external links in docs
49e4631b0 Release 0.69.1
01f3da870 Merge branch 'temp691'
8280d85aa releaser: Add release notes to /docs for release of 0.69.1
40ea44d24 fix typo (#1088)
725f53643 Rebuild cache
80ee1efd9 Add KeyCDN Showcase
f253e906e docs: Fix typo in Hugo's Security Model
b3ffd1ad3 Mentioning a range is equivalent to foreach (#1086)
0c396911f Update jsonify function docs
376befc9a Fix typo (#1084)
4bdc9bc72 Mark .Page.UniqueID as deprecated and add .File.UniqueID
30a7b7bf2 Update hosting-on-github.md
c5db4ba2b Update postprocess.md
1121f74a5 Update install guide with Scoop extended
8988aa6fa Merge branch 'postprocess'
225d3f9c7 Release Hugo 0.69.0
4caf7a89a releaser: Add release notes to /docs for release of 0.69.0
664b2a0fa Document resources.PostProcess and buildStats
9737b34e9 docs: Regen docs helper
0fab3ba24 Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
96dad83b1 Update hosting-on-aws-amplify.md
57eb27897 Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b'
dcc7afef7 fix typo in getting started

git-subtree-dir: docs
git-subtree-split: ec0abe052bcfebc65c323df4ff14ad277bb405d8

4 years agodeps: Update minify to v2.6.2
Piotr Perzyna [Sun, 3 May 2020 15:29:26 +0000 (17:29 +0200)]
deps: Update minify to v2.6.2

Fixes #6699

4 years agoAdd support for sort by boolean
Tom [Sat, 2 May 2020 09:57:34 +0000 (12:57 +0300)]
Add support for sort by boolean

4 years agodeps: Update to Libsass 3.6.4
Bjørn Erik Pedersen [Fri, 1 May 2020 14:05:01 +0000 (16:05 +0200)]
deps: Update to Libsass 3.6.4

Fixes #7231

4 years agoRename transpileJS to babel
Bjørn Erik Pedersen [Tue, 28 Apr 2020 12:02:41 +0000 (14:02 +0200)]
Rename transpileJS to babel

And add a test.

Updates #5764

4 years agoresources: Add JavaScript transpiling solution
Niek de Wit [Fri, 22 Mar 2019 16:07:37 +0000 (17:07 +0100)]
resources: Add JavaScript transpiling solution

Add a new pipe called TranspileJS which uses the Babel cli. This makes it possible for users to write ES6 JavaScript code and transpile it to ES5 during website generation so that the code still works with older browser versions.

Fixes #5764

4 years agoDisable a test locally
Bjørn Erik Pedersen [Tue, 28 Apr 2020 10:24:02 +0000 (12:24 +0200)]
Disable a test locally

It has started to fail in LiteIDE for some reason (works from the shell and on CI).

4 years agoFix some missing JS class collector cases
Bjørn Erik Pedersen [Mon, 27 Apr 2020 15:49:51 +0000 (17:49 +0200)]
Fix some missing JS class collector cases

Fixes #7216

4 years agoAdd diagnostic hints to init timeout message
Michael Lynch [Sun, 26 Apr 2020 21:13:25 +0000 (17:13 -0400)]
Add diagnostic hints to init timeout message

Expand the text in the init timeout message to give the reader more hints as to what may be causing the issue.

The current error sent me on a wild goose chase trying to debug my shortcodes, but it turned out that the issue was just that I wasn't caching my resources/ directory on my build server. Once I found this blog post, I solved the issue in minutes:

https://www.henriksommerfeld.se/hugo-timeout-not-a-circular-loop-in-shortcode/

Googling the error message yields several additional posts from users who focus on loops in their shortcode when the problem seems to be overly-expensive builds.

4 years agoreleaser: Prepare repository for 0.70.0-DEV
hugoreleaser [Fri, 24 Apr 2020 08:00:48 +0000 (08:00 +0000)]
releaser: Prepare repository for 0.70.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.69.2 v0.69.2
hugoreleaser [Fri, 24 Apr 2020 07:48:07 +0000 (07:48 +0000)]
releaser: Add release notes to /docs for release of 0.69.2

[ci skip]

4 years agoreleaser: Bump versions for release of 0.69.2
hugoreleaser [Fri, 24 Apr 2020 07:48:07 +0000 (07:48 +0000)]
releaser: Bump versions for release of 0.69.2

[ci skip]

4 years agoreleaser: Add release notes for 0.69.2
hugoreleaser [Fri, 24 Apr 2020 07:48:07 +0000 (07:48 +0000)]
releaser: Add release notes for 0.69.2
[ci skip]

4 years agoFix IsAncestor and IsDescendant when the same page is passed
Takayama Fumihiko [Thu, 23 Apr 2020 16:23:32 +0000 (01:23 +0900)]
Fix IsAncestor and IsDescendant when the same page is passed

4 years agodeps: Update goldmark-highlighting
SatowTakeshi [Thu, 23 Apr 2020 15:08:49 +0000 (00:08 +0900)]
deps: Update goldmark-highlighting

Recreate #7027
Fixes #6596

4 years agoFix IsAncestor and IsDescendant under subsection
Takayama Fumihiko [Thu, 23 Apr 2020 14:59:17 +0000 (23:59 +0900)]
Fix IsAncestor and IsDescendant under subsection

4 years agoreleaser: Prepare repository for 0.70.0-DEV
hugoreleaser [Wed, 22 Apr 2020 08:07:03 +0000 (08:07 +0000)]
releaser: Prepare repository for 0.70.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.69.1 v0.69.1
hugoreleaser [Wed, 22 Apr 2020 07:55:01 +0000 (07:55 +0000)]
releaser: Add release notes to /docs for release of 0.69.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.69.1
hugoreleaser [Wed, 22 Apr 2020 07:55:01 +0000 (07:55 +0000)]
releaser: Bump versions for release of 0.69.1

[ci skip]

4 years agoreleaser: Add release notes for 0.69.1
hugoreleaser [Wed, 22 Apr 2020 07:55:01 +0000 (07:55 +0000)]
releaser: Add release notes for 0.69.1
[ci skip]

4 years ago hugolib/filesystems: Fix typo in test suite
Panagiotis Koursaris [Tue, 21 Apr 2020 21:16:36 +0000 (00:16 +0300)]
 hugolib/filesystems: Fix typo in test suite

4 years agoFix class collector when running with --minify
Bjørn Erik Pedersen [Tue, 21 Apr 2020 10:57:45 +0000 (12:57 +0200)]
Fix class collector when running with --minify

Also add a related stresstest.

Fixes #7161

4 years agorelated: Fix toLower
Bjørn Erik Pedersen [Tue, 21 Apr 2020 15:44:48 +0000 (17:44 +0200)]
related: Fix toLower

Don't change the slice.

Fixes #7198

4 years agoFix broken test
Bjørn Erik Pedersen [Tue, 21 Apr 2020 14:44:35 +0000 (16:44 +0200)]
Fix broken test

4 years agotpl/tmplimpl/template: Change defer RLock to RUnlock
BurtonQin [Tue, 21 Apr 2020 10:00:21 +0000 (06:00 -0400)]
tpl/tmplimpl/template: Change defer RLock to RUnlock

4 years agohugolib: Add Unlock before panic
Boqin Qin [Mon, 20 Apr 2020 15:47:34 +0000 (23:47 +0800)]
hugolib: Add Unlock before panic

4 years agodocs: Fix typo in Hugo's Security Model
Onur Yaman [Sat, 18 Apr 2020 10:57:00 +0000 (13:57 +0300)]
docs: Fix typo in Hugo's Security Model

4 years agodeps: Update go-org to v1.1.0
Niklas Fasching [Fri, 17 Apr 2020 14:09:17 +0000 (16:09 +0200)]
deps: Update go-org to v1.1.0

- inline source blocks and exports
- result blocks and source block :exports parameter
- fix: html escaping in example blocks
- #+LINK based links

4 years agocommands: Modify gen chromastyles to output all CSS classes
Steve [Mon, 13 Apr 2020 16:31:33 +0000 (12:31 -0400)]
commands: Modify gen chromastyles to output all CSS classes

Chroma was updated to include a new function to output all CSS
classes without skipping any considered redundant with the current
style.

This will modify the `hugo gen chromastyles` command to use this new
function by default, which avoids potential problems if the style is
later modified.

Also includes requires the updated Chroma (v0.7.2).

Resolves #7167

4 years agodeps: Update to goldmark v1.1.28
Bjørn Erik Pedersen [Mon, 13 Apr 2020 14:55:23 +0000 (16:55 +0200)]
deps: Update to goldmark v1.1.28

Fixes #7113

4 years agoFix query parameter handling in server fast render mode
Bjørn Erik Pedersen [Sun, 12 Apr 2020 17:18:54 +0000 (19:18 +0200)]
Fix query parameter handling in server fast render mode

There may be a simpler way to get to the raw path, but this will have to do for now.

Fixes #7163

4 years agoreleaser: Prepare repository for 0.70.0-DEV
hugoreleaser [Fri, 10 Apr 2020 09:19:20 +0000 (09:19 +0000)]
releaser: Prepare repository for 0.70.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.69.0 v0.69.0
hugoreleaser [Fri, 10 Apr 2020 09:08:37 +0000 (09:08 +0000)]
releaser: Add release notes to /docs for release of 0.69.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.69.0
hugoreleaser [Fri, 10 Apr 2020 09:08:37 +0000 (09:08 +0000)]
releaser: Bump versions for release of 0.69.0

[ci skip]

4 years agoUpdate 0.69.0-relnotes.md
Bjørn Erik Pedersen [Fri, 10 Apr 2020 08:49:41 +0000 (10:49 +0200)]
Update 0.69.0-relnotes.md

4 years agoreleaser: Add release notes for 0.69.0
hugoreleaser [Fri, 10 Apr 2020 08:25:47 +0000 (08:25 +0000)]
releaser: Add release notes for 0.69.0

Rename to *-ready.md to continue.
[ci skip]

4 years agodocs: Regen docs helper
Bjørn Erik Pedersen [Fri, 10 Apr 2020 07:07:41 +0000 (09:07 +0200)]
docs: Regen docs helper

4 years agoSquashed 'docs/' changes from 20d77860b..19f44e150
Bjørn Erik Pedersen [Fri, 10 Apr 2020 07:06:04 +0000 (09:06 +0200)]
Squashed 'docs/' changes from 20d77860b..19f44e150

19f44e150 fix typo (#1077)
b66478084 Fix build listing improvements version

git-subtree-dir: docs
git-subtree-split: 19f44e150fd7921abedbdae5561991815b98fd2d

4 years agoMerge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
Bjørn Erik Pedersen [Fri, 10 Apr 2020 07:06:04 +0000 (09:06 +0200)]
Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'

4 years agoCollect HTML elements during the build to use in PurgeCSS etc.
Bjørn Erik Pedersen [Tue, 3 Mar 2020 11:25:03 +0000 (12:25 +0100)]
Collect HTML elements during the build to use in PurgeCSS etc.

The main use case for this is to use with resources.PostProcess and resources.PostCSS with purgecss.

You would normally set it up to extract keywords from your templates, doing it from the full /public takes forever for bigger sites.

Doing the template thing misses dynamically created class names etc., and it's hard/impossible to set up in when using themes.

You can enable this in your site config:

```toml
[build]
  writeStats = true
```

It will then write a `hugo_stats.json` file to the project root as part of the build.

If you're only using this for the production build, you should consider putting it below `config/production`.

You can then set it up with PostCSS like this:

```js
const purgecss = require('@fullhuman/postcss-purgecss')({
    content: [ './hugo_stats.json' ],
    defaultExtractor: (content) => {
        let els = JSON.parse(content).htmlElements;
        return els.tags.concat(els.classes, els.ids);
    }
});

module.exports = {
    plugins: [
        require('tailwindcss'),
        require('autoprefixer'),
        ...(process.env.HUGO_ENVIRONMENT === 'production' ? [ purgecss ] : [])
    ]
};
```

Fixes #6999

5 years agodeps: Update to latest emoji package
Elliott Sales de Andrade [Wed, 8 Apr 2020 10:56:14 +0000 (06:56 -0400)]
deps: Update to latest emoji package

5 years agoUpdate hosting-on-aws-amplify.md
Helicer [Tue, 7 Apr 2020 20:38:52 +0000 (15:38 -0500)]
Update hosting-on-aws-amplify.md

AWS Amplify now supports a GUI method for using the latest `hugo` version. Please feel free to modify my wording here, etc.

5 years agoAdd basic "post resource publish support"
Bjørn Erik Pedersen [Tue, 25 Feb 2020 20:40:02 +0000 (21:40 +0100)]
Add basic "post resource publish support"

Fixes #7146

5 years agotpl: Extend Jsonify to support options map
Cameron Moore [Tue, 24 Mar 2020 02:03:52 +0000 (21:03 -0500)]
tpl: Extend Jsonify to support options map

Add support for prefix and indent options used by json.MarshalIndent
from the Go stdlib.

5 years agotpl: Extend Jsonify to support optional indent parameter
Cameron Moore [Sat, 21 Mar 2020 15:15:12 +0000 (10:15 -0500)]
tpl: Extend Jsonify to support optional indent parameter

Fixes #5040

5 years agoTypo correction
Robert Fekete [Tue, 7 Apr 2020 15:27:00 +0000 (17:27 +0200)]
Typo correction

5 years agocommands: Use semver for min_version per recommendations
Jay Williams [Tue, 7 Apr 2020 17:42:45 +0000 (12:42 -0500)]
commands: Use semver for min_version per recommendations

See https://github.com/gohugoio/hugoThemes#themetoml

5 years agomodules: Fix hugo mod vendor for regular file mounts
Bjørn Erik Pedersen [Tue, 7 Apr 2020 08:13:55 +0000 (10:13 +0200)]
modules: Fix hugo mod vendor for regular file mounts

Fixes #7140

5 years agoRevert "Revert "common/herrors: Fix typos in comments""
Bjørn Erik Pedersen [Sun, 5 Apr 2020 23:07:57 +0000 (01:07 +0200)]
Revert "Revert "common/herrors: Fix typos in comments""

OK, I'm getting tired. Sorry for the noise.

This reverts commit 4437e918cdab1d84f2f184fe71e5dac14aa48897.

5 years agoRevert "common/herrors: Fix typos in comments"
Bjørn Erik Pedersen [Sun, 5 Apr 2020 23:06:27 +0000 (01:06 +0200)]
Revert "common/herrors: Fix typos in comments"

This reverts commit 1123711b0979b1647d7c486f67af7503afb11abb.

5 years agodeps: Updateto gitmap v1.1.2
Shubham Shahare [Sat, 4 Apr 2020 21:24:33 +0000 (02:54 +0530)]
deps: Updateto gitmap v1.1.2

Fixes #6985