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]
hugoreleaser [Fri, 10 Apr 2020 09:08:37 +0000 (09:08 +0000)]
releaser: Bump versions for release of 0.69.0
[ci skip]
Bjørn Erik Pedersen [Fri, 10 Apr 2020 08:49:41 +0000 (10:49 +0200)]
Update 0.69.0-relnotes.md
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]
Bjørn Erik Pedersen [Fri, 10 Apr 2020 07:07:41 +0000 (09:07 +0200)]
docs: Regen docs helper
Bjørn Erik Pedersen [Fri, 10 Apr 2020 07:06:04 +0000 (09:06 +0200)]
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
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
Elliott Sales de Andrade [Wed, 8 Apr 2020 10:56:14 +0000 (06:56 -0400)]
deps: Update to latest emoji package
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.
Bjørn Erik Pedersen [Tue, 25 Feb 2020 20:40:02 +0000 (21:40 +0100)]
Add basic "post resource publish support"
Fixes #7146
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.
Cameron Moore [Sat, 21 Mar 2020 15:15:12 +0000 (10:15 -0500)]
tpl: Extend Jsonify to support optional indent parameter
Fixes #5040
Robert Fekete [Tue, 7 Apr 2020 15:27:00 +0000 (17:27 +0200)]
Typo correction
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
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
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.
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.
Shubham Shahare [Sat, 4 Apr 2020 21:24:33 +0000 (02:54 +0530)]
deps: Updateto gitmap v1.1.2
Fixes #6985
rnazmo [Thu, 2 Apr 2020 12:37:00 +0000 (21:37 +0900)]
common/herrors: Fix typos in comments
Bjørn Erik Pedersen [Tue, 31 Mar 2020 20:11:54 +0000 (22:11 +0200)]
Bjørn Erik Pedersen [Tue, 31 Mar 2020 20:10:45 +0000 (22:10 +0200)]
Squashed 'docs/' changes from
2a0ea423d..
20d77860b
20d77860b Remove the calibre image action
58f53654d Improve image metadata formatting (#1067)
c569f3657 Update theme
80e6d362e Update theme
d5806cca5 Update theme
efc5cb227 Remove broken link on "where" page (#1058)
443266076 Comments Alternatives (#1036)
9b480ebb7 Fix typo
1402365ee Fix included typo in build-options.md
3b5a76de1 Update index.md
1196c7695 Update index.md
1887ea1ed Update index.md
d0666e74e Hugo 0.68.3
d514cfac9 Merge branch 'temp683'
49e57362b releaser: Add release notes to /docs for release of 0.68.3
fa0ac3bf1 Merge branch 'temp682'
46993c209 Release 0.68.2
4c8d6d242 releaser: Add release notes to /docs for release of 0.68.2
9694f4d36 Update index.md
368a03754 Update index.md
0d997010c Merge branch 'temp681'
24138a9cd releaser: Add release notes to /docs for release of 0.68.1
7dd6cc788 Update index.md
b6125b4a8 Update build-options.md
a2dead37a Release 0.68.0
7cff41348 Merge branch 'temp680'
b3b37959c releaser: Add release notes to /docs for release of 0.68.0
0f98184b0 Some minify configuration adjustments
02219f787 Add minify config
efeea7be0 Allow headless bundles to list pages via $page.Pages and $page.RegularPages
7950d0ad1 Mention `resources` folder in the "Directory structure" docs.
git-subtree-dir: docs
git-subtree-split:
20d77860b2a992b4917af75a657419b19baafa43
SatowTakeshi [Fri, 27 Mar 2020 16:36:50 +0000 (01:36 +0900)]
helpers: Fix TrimShortHTML
Where some tags are siblings of p tag.
Fixes #7081
Bjørn Erik Pedersen [Thu, 26 Mar 2020 08:41:30 +0000 (09:41 +0100)]
Fix IsDescendant/IsAncestor for overlapping section names
Fixes #7096
Stéphane Wirtel [Tue, 24 Mar 2020 16:19:58 +0000 (17:19 +0100)]
fix typo in getting started
hugoreleaser [Tue, 24 Mar 2020 12:16:13 +0000 (12:16 +0000)]
releaser: Prepare repository for 0.69.0-DEV
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 12:04:27 +0000 (12:04 +0000)]
releaser: Add release notes to /docs for release of 0.68.3
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 12:04:27 +0000 (12:04 +0000)]
releaser: Bump versions for release of 0.68.3
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 12:04:27 +0000 (12:04 +0000)]
releaser: Add release notes for 0.68.3
[ci skip]
Bjørn Erik Pedersen [Tue, 24 Mar 2020 10:47:05 +0000 (11:47 +0100)]
Fix _build.list.local logic
Fixes #7089
hugoreleaser [Tue, 24 Mar 2020 08:33:02 +0000 (08:33 +0000)]
releaser: Prepare repository for 0.69.0-DEV
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 08:21:09 +0000 (08:21 +0000)]
releaser: Add release notes to /docs for release of 0.68.2
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 08:21:09 +0000 (08:21 +0000)]
releaser: Bump versions for release of 0.68.2
[ci skip]
hugoreleaser [Tue, 24 Mar 2020 08:21:09 +0000 (08:21 +0000)]
releaser: Add release notes for 0.68.2
[ci skip]
Bjørn Erik Pedersen [Sun, 22 Mar 2020 12:42:39 +0000 (13:42 +0100)]
Fix cache reset for a page's collections on server live reload
Fixes #7085
hugoreleaser [Sun, 22 Mar 2020 10:47:54 +0000 (10:47 +0000)]
releaser: Prepare repository for 0.69.0-DEV
[ci skip]
hugoreleaser [Sun, 22 Mar 2020 10:36:42 +0000 (10:36 +0000)]
releaser: Add release notes to /docs for release of 0.68.1
[ci skip]
hugoreleaser [Sun, 22 Mar 2020 10:36:42 +0000 (10:36 +0000)]
releaser: Bump versions for release of 0.68.1
[ci skip]
hugoreleaser [Sun, 22 Mar 2020 10:36:42 +0000 (10:36 +0000)]
releaser: Add release notes for 0.68.1
[ci skip]
Bjørn Erik Pedersen [Sat, 21 Mar 2020 17:51:29 +0000 (18:51 +0100)]
releaser: Include "Revert" commits in change log
Bjørn Erik Pedersen [Sat, 21 Mar 2020 17:38:19 +0000 (18:38 +0100)]
Revert "resources: Add data context to the key in ExecuteAsTemplate"
This reverts commit
18cb21ff2e4a60e7094908e4d6113a9d5a086316.
Fixes #7064
hugoreleaser [Sat, 21 Mar 2020 11:59:39 +0000 (11:59 +0000)]
releaser: Prepare repository for 0.69.0-DEV
[ci skip]
hugoreleaser [Sat, 21 Mar 2020 11:47:37 +0000 (11:47 +0000)]
releaser: Add release notes to /docs for release of 0.68.0
[ci skip]
hugoreleaser [Sat, 21 Mar 2020 11:47:37 +0000 (11:47 +0000)]
releaser: Bump versions for release of 0.68.0
[ci skip]
Bjørn Erik Pedersen [Sat, 21 Mar 2020 11:41:25 +0000 (12:41 +0100)]
Release 0.68.0
Bjørn Erik Pedersen [Sat, 21 Mar 2020 11:40:46 +0000 (12:40 +0100)]
Update 0.68.0-relnotes.md
[ci skip]
hugoreleaser [Sat, 21 Mar 2020 11:33:28 +0000 (11:33 +0000)]
releaser: Add release notes for 0.68.0
Rename to *-ready.md to continue.
[ci skip]
Bjørn Erik Pedersen [Sat, 21 Mar 2020 11:25:03 +0000 (12:25 +0100)]
Fix Go build version
Bjørn Erik Pedersen [Fri, 20 Mar 2020 15:34:53 +0000 (16:34 +0100)]
Some minify configuration adjustments
SatowTakeshi [Sat, 29 Feb 2020 09:44:05 +0000 (18:44 +0900)]
Add minify config
Fixes #6750
Updates #6892
Bjørn Erik Pedersen [Fri, 20 Mar 2020 08:37:21 +0000 (09:37 +0100)]
Allow headless bundles to list pages via $page.Pages and $page.RegularPages
Fixes #7075
Bjørn Erik Pedersen [Fri, 20 Mar 2020 15:05:42 +0000 (16:05 +0100)]
Update to Go 1.14.1 and 1.13.9
Fixes #7078
Carl Johnson [Fri, 20 Mar 2020 13:35:41 +0000 (09:35 -0400)]
Fix GetTerms nil pointer
Fixes #7061
Bjørn Erik Pedersen [Fri, 20 Mar 2020 08:19:29 +0000 (09:19 +0100)]
Bjørn Erik Pedersen [Fri, 20 Mar 2020 08:18:47 +0000 (09:18 +0100)]
Squashed 'docs/' changes from
988f7d5c2..
2a0ea423d
2a0ea423d Wrap cascade ex in code toggle
841573e3e Correcting reference for YouTube shortcode (#1055)
8f9378f93 Release 0.67.1
178759468 Merge branch 'temp671'
1b5ae9cb1 releaser: Add release notes to /docs for release of 0.67.1
a87aa44ec Don't set GOPATH when building from source
bd35dfbd8 Update hugo-deploy.md
527cf3b2b Adding a commercial search service
709844459 Add languageDirection to language configuration
523be23eb Fix include typo on v67 Release Notes
fdd7cc66c Adjust relase notes
613ba75e8 releaser: Add release notes to /docs for release of 0.67.0
3fb1376d1 docs: Doument the server config
6408a9b4e Merge commit '
14e369b961943a0b977776899e24e8bea63834df'
10457ca46 deploy: Add include and exclude support for remote
git-subtree-dir: docs
git-subtree-split:
2a0ea423d77a81c4dd439708505b4680e49d7c5d
Evan Anderson [Thu, 19 Mar 2020 17:51:17 +0000 (10:51 -0700)]
Pass directory name to filters in LstatIfPossible in the same way as Readdir
Elliott Sales de Andrade [Thu, 19 Mar 2020 02:16:00 +0000 (22:16 -0400)]
Update to goldmark 1.1.25.
This fixes a bug, so there's a small change to tests.
Bjørn Erik Pedersen [Tue, 17 Mar 2020 07:03:25 +0000 (08:03 +0100)]
resources: Fix scss vs css import regexp
Fixes #7063
Bjørn Erik Pedersen [Mon, 16 Mar 2020 16:49:47 +0000 (17:49 +0100)]
Add workaround for regular CSS imports in SCSS
Fixes #7059
Bjørn Erik Pedersen [Mon, 16 Mar 2020 10:37:57 +0000 (11:37 +0100)]
Add .RegularPagesRecursive
Fixes #6411
hugoreleaser [Sun, 15 Mar 2020 19:41:55 +0000 (19:41 +0000)]
releaser: Prepare repository for 0.68.0-DEV
[ci skip]
hugoreleaser [Sun, 15 Mar 2020 19:30:34 +0000 (19:30 +0000)]
releaser: Add release notes to /docs for release of 0.67.1
[ci skip]
hugoreleaser [Sun, 15 Mar 2020 19:30:33 +0000 (19:30 +0000)]
releaser: Bump versions for release of 0.67.1
[ci skip]
hugoreleaser [Sun, 15 Mar 2020 19:30:33 +0000 (19:30 +0000)]
releaser: Add release notes for 0.67.1
[ci skip]
Bjørn Erik Pedersen [Thu, 12 Mar 2020 16:09:49 +0000 (17:09 +0100)]
metrics: Fix --templateMetricsHints
Also improve non-string comparisons.
Fixes #7048
Bjørn Erik Pedersen [Wed, 11 Mar 2020 21:21:16 +0000 (22:21 +0100)]
resources: Add data context to the key in ExecuteAsTemplate
Fixes #7046
Bjørn Erik Pedersen [Tue, 10 Mar 2020 17:12:11 +0000 (18:12 +0100)]
Improve Tailwind/PostCSS error messages
Fixes #7041
Fixes #7042
Bjørn Erik Pedersen [Tue, 10 Mar 2020 10:19:34 +0000 (11:19 +0100)]
deps: Update Blackfriday
Fixes #7039
Bjørn Erik Pedersen [Tue, 10 Mar 2020 11:29:09 +0000 (12:29 +0100)]
resources: Try to fix a Go 1.15 go vet error
Tan Yuanhong [Tue, 10 Mar 2020 09:10:58 +0000 (17:10 +0800)]
Add languageDirection to language configuration
Fixes #6550
hugoreleaser [Mon, 9 Mar 2020 20:47:30 +0000 (20:47 +0000)]
releaser: Prepare repository for 0.68.0-DEV
[ci skip]
hugoreleaser [Mon, 9 Mar 2020 20:35:43 +0000 (20:35 +0000)]
releaser: Add release notes to /docs for release of 0.67.0
[ci skip]
hugoreleaser [Mon, 9 Mar 2020 20:35:43 +0000 (20:35 +0000)]
releaser: Bump versions for release of 0.67.0
[ci skip]
Bjørn Erik Pedersen [Mon, 9 Mar 2020 20:26:20 +0000 (21:26 +0100)]
Update 0.67.0-relnotes.md
hugoreleaser [Mon, 9 Mar 2020 20:11:33 +0000 (20:11 +0000)]
releaser: Add release notes for 0.67.0
Rename to *-ready.md to continue.
[ci skip]
Bjørn Erik Pedersen [Mon, 9 Mar 2020 19:36:00 +0000 (20:36 +0100)]
docs: Doument the server config
Bjørn Erik Pedersen [Mon, 9 Mar 2020 19:21:17 +0000 (20:21 +0100)]
Bjørn Erik Pedersen [Mon, 9 Mar 2020 19:19:32 +0000 (20:19 +0100)]
Squashed 'docs/' changes from
341ecabb2..
988f7d5c2
988f7d5c2 Document default `enableInlineShortcodes` value
0f604a345 Fix typo in 0.66.0 release note
26fc74fe3 How to access individual EXIF data tags
d5d3bad9a Fix localhost links
fa6921213 Update index.md
5bf558f78 Release 0.66.0
74ccdaaf5 Merge branch 'temp660'
75faa478b releaser: Add release notes to /docs for release of 0.66.0
c4a4a9922 docs: Regen CLI docs
0624ac198 Add build.UseResourceCacheWhen
58a8d7cd1 Add build options documentation
d926c595e fix typo
99713d44b resources: Add basic @import support to resources.PostCSS
224b96cf7 deploy: Implement include/exclude filters for deploy
eb1a00050 Adjusting description; WordPress with capitalized P
91d8efa22 Add another tool for migration from the Wordpress
a6938a4ac Adjust showcase description
a9c0a0a69 Adjust showcase
e5af08aa6 Adding Aether as a proposed showcase item.
0013daa34 Add hugo.IsProduction function
34c419ef3 tpl: Add math.Sqrt
5bdab0ebd Update minification.md
9039332e2 Hugo 0.65.3
1400caf3a Merge branch 'temp653'
9796bb337 releaser: Add release notes to /docs for release of 0.65.3
65b26598f Fix typo
23aa57d80 Fix crashes for 404 in IsAncestor etc.
42c54bc6c 0.65.2
67fd5c1f6 Merge branch 'temp652'
d820ac017 releaser: Add release notes to /docs for release of 0.65.2
51f0888ff Release 0.65.1
91e95260c releaser: Add release notes to /docs for release of 0.65.1
1880ebf05 fix broken link on internal.md
ffaa33889 Update migrations.md
de4d64675 Another tool for migration from Medium platform
90b178d77 releaser: Add release notes to /docs for release of 0.65.1
6925cda30 Handle corner case with rendering text as code in URL
3cb4b19dd Release 0.65.0
7a600cb99 Merge branch 'temp650'
ef9531ff6 releaser: Add release notes to /docs for release of 0.65.0
9bc19606f docs: Regenerate CLI docs
d4a886ed2 Add Page.GetTerms
a3bf273a5 fix broken link on use-modules.md
001f52f4e Fix mage URL in development.md
eef72e887 Merge commit '
4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
b18a76631 commands: Support "hugo mod get -u ./..."
git-subtree-dir: docs
git-subtree-split:
988f7d5c2d7a1d40ec2c8ab961cb5a4e41b5bd4c
Bjørn Erik Pedersen [Mon, 9 Mar 2020 13:01:28 +0000 (14:01 +0100)]
Fix ambigous error on site.GetPage
Fixes #7016
Bjørn Erik Pedersen [Mon, 9 Mar 2020 11:04:33 +0000 (12:04 +0100)]
Fix handling of HTML files without front matter
This means that any HTML file inside /content will be treated as a regular file.
If you want it processes with shortcodes and a layout, add front matter.
The defintion of an HTML file here is:
* File with extension .htm or .html
* With first non-whitespace character "<" that isn't a HTML comment.
This is in line with the documentation.
Fixes #7030
Fixes #7028
See #6789
satotake [Mon, 9 Mar 2020 12:32:38 +0000 (21:32 +0900)]
Support unComparable args of uniq/complement/in
Fixes #6105
Sam Smith [Sat, 7 Mar 2020 18:56:02 +0000 (18:56 +0000)]
tpl: Fix error with unicode in file paths
Add url.QueryUnescape before reading file which allows files with
unicode in their paths to be read.
Fixes #6996
Bjørn Erik Pedersen [Sun, 8 Mar 2020 15:33:15 +0000 (16:33 +0100)]
Add HTTP header support for the dev server
Fixes #7031
David Jones [Sun, 8 Mar 2020 16:35:32 +0000 (16:35 +0000)]
deploy: Add include and exclude support for remote
hugoreleaser [Tue, 3 Mar 2020 15:31:19 +0000 (15:31 +0000)]
releaser: Prepare repository for 0.67.0-DEV
[ci skip]
hugoreleaser [Tue, 3 Mar 2020 15:19:36 +0000 (15:19 +0000)]
releaser: Add release notes to /docs for release of 0.66.0
[ci skip]
hugoreleaser [Tue, 3 Mar 2020 15:19:36 +0000 (15:19 +0000)]
releaser: Bump versions for release of 0.66.0
[ci skip]
Bjørn Erik Pedersen [Tue, 3 Mar 2020 15:10:16 +0000 (16:10 +0100)]
Update 0.66.0-relnotes.md
hugoreleaser [Tue, 3 Mar 2020 14:55:26 +0000 (14:55 +0000)]
releaser: Add release notes for 0.66.0
Rename to *-ready.md to continue.
[ci skip]
Bjørn Erik Pedersen [Tue, 3 Mar 2020 14:45:13 +0000 (15:45 +0100)]
Skip some tests on CircleCI
Carl Johnson [Mon, 2 Mar 2020 19:04:16 +0000 (14:04 -0500)]
{{ in }} should work with html.Template type
Fixes #7002
Bjørn Erik Pedersen [Tue, 3 Mar 2020 12:36:35 +0000 (13:36 +0100)]
docs: Regen CLI docs
Bjørn Erik Pedersen [Tue, 3 Mar 2020 10:00:45 +0000 (11:00 +0100)]
commands: Add --all flag to hugo mod clean
Bjørn Erik Pedersen [Tue, 3 Mar 2020 07:32:02 +0000 (08:32 +0100)]
Add build.UseResourceCacheWhen
Fixes #6993
Anthony Fok [Tue, 3 Mar 2020 05:51:20 +0000 (22:51 -0700)]
Update dependency list in README.md
to include only runtime dependencies,
i.e. what is in the released binary.
Bjørn Erik Pedersen [Mon, 2 Mar 2020 19:06:58 +0000 (20:06 +0100)]
Fix ref/relref short lookup for pages in sub-folder
Fixes #6952
Sam Smith [Sun, 1 Mar 2020 22:00:28 +0000 (22:00 +0000)]
tpl: Change error message on missing resource
Fixes #6942
Bjørn Erik Pedersen [Mon, 2 Mar 2020 11:39:26 +0000 (12:39 +0100)]
resources: Add full filename to image when processing fails
Fixes #7000
Bjørn Erik Pedersen [Mon, 2 Mar 2020 10:07:09 +0000 (11:07 +0100)]
hugolib: Fix error handling in page collector
Fixes #6988
Anthony Fok [Mon, 2 Mar 2020 07:48:27 +0000 (00:48 -0700)]
Update dependency list in README