Bjørn Erik Pedersen
3cc41523be
Update to Go 1.14.3 and Go 1.13.11
2020-05-16 23:25:45 +02:00
Bjørn Erik Pedersen
2fd0a5a678
Improve error message when no Babel installed
2020-05-16 12:51:35 +02:00
Cameron Little
6e051c053e
Add test for headings render hook
2020-05-15 21:12:43 +02:00
Eli W. Hunter
423b8f2fb8
Add render template hooks for headings
...
This commit also
* Renames previous types to be non-specific. (e.g. hookedRenderer rather
than linkRenderer)
Resolves #6713
2020-05-15 21:12:43 +02:00
Joe Mooring
991934497e
Add math.Pow
...
Closes #7266
2020-05-14 10:00:31 +02:00
John Weldon
558c09305e
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
2020-05-14 09:56:53 +02:00
Anthony Fok
b69a36140f
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"
2020-05-12 14:29:57 -06:00
Anthony Fok
a0103864ab
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 91f49c0700
.
2020-05-12 14:27:57 -06:00
Cameron Little
b342e8fbdb
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
2020-05-09 17:05:14 +02:00
Daniel Tipping
6205d56b85
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.
2020-05-07 18:42:20 +02:00
hugoreleaser
a5039dddaf
releaser: Prepare repository for 0.71.0-DEV
...
[ci skip]
2020-05-06 11:29:18 +00:00
hugoreleaser
7f47b99ea9
releaser: Add release notes to /docs for release of 0.70.0
...
[ci skip]
2020-05-06 11:16:40 +00:00
hugoreleaser
b98e2f66b0
releaser: Bump versions for release of 0.70.0
...
[ci skip]
2020-05-06 11:16:40 +00:00
Bjørn Erik Pedersen
57ebab7c23
Release 0.70.0
2020-05-06 13:06:10 +02:00
hugoreleaser
0e314925fb
releaser: Add release notes for 0.70.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-05-06 10:24:22 +00:00
Bjørn Erik Pedersen
e4621446ce
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
2020-05-06 12:12:57 +02:00
Bjørn Erik Pedersen
89044b8f87
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
2020-05-06 12:12:21 +02:00
Piotr Perzyna
01befcce35
deps: Update minify to v2.6.2
...
Fixes #6699
2020-05-03 17:29:26 +02:00
Tom
04b1a6d997
Add support for sort by boolean
2020-05-02 11:57:34 +02:00
Bjørn Erik Pedersen
dd31e80007
deps: Update to Libsass 3.6.4
...
Fixes #7231
2020-05-01 19:14:04 +02:00
Bjørn Erik Pedersen
6add6d77b4
Rename transpileJS to babel
...
And add a test.
Updates #5764
2020-04-29 10:51:33 +02:00
Niek de Wit
2a171ff1c5
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
2020-04-29 10:51:33 +02:00
Bjørn Erik Pedersen
67f920419a
Disable a test locally
...
It has started to fail in LiteIDE for some reason (works from the shell and on CI).
2020-04-28 12:24:02 +02:00
Bjørn Erik Pedersen
c03ea2b660
Fix some missing JS class collector cases
...
Fixes #7216
2020-04-27 19:06:29 +02:00
Michael Lynch
fe60b7d9e4
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.
2020-04-27 13:23:35 +02:00
hugoreleaser
c2d9fd1ebe
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-24 08:00:48 +00:00
hugoreleaser
ec9dcf3048
releaser: Add release notes to /docs for release of 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
hugoreleaser
03802ff3cb
releaser: Bump versions for release of 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
hugoreleaser
5e31198c98
releaser: Add release notes for 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
Takayama Fumihiko
8d5766d417
Fix IsAncestor and IsDescendant when the same page is passed
2020-04-23 20:23:42 +02:00
SatowTakeshi
5c41f41ad4
deps: Update goldmark-highlighting
...
Recreate #7027
Fixes #6596
2020-04-23 18:48:52 +02:00
Takayama Fumihiko
27a4c4410c
Fix IsAncestor and IsDescendant under subsection
2020-04-23 18:12:13 +02:00
hugoreleaser
ade27699e5
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-22 08:07:03 +00:00
hugoreleaser
17661debb6
releaser: Add release notes to /docs for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
hugoreleaser
8549189e8e
releaser: Bump versions for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
hugoreleaser
c2c7a4ce5b
releaser: Add release notes for 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
Panagiotis Koursaris
49e6c8cb4e
hugolib/filesystems: Fix typo in test suite
2020-04-21 23:16:36 +02:00
Bjørn Erik Pedersen
f37e77f2d3
Fix class collector when running with --minify
...
Also add a related stresstest.
Fixes #7161
2020-04-21 21:00:52 +02:00
Bjørn Erik Pedersen
27af5a339a
related: Fix toLower
...
Don't change the slice.
Fixes #7198
2020-04-21 17:46:26 +02:00
Bjørn Erik Pedersen
b3c825756f
Fix broken test
2020-04-21 16:44:35 +02:00
BurtonQin
5146dc614f
tpl/tmplimpl/template: Change defer RLock to RUnlock
2020-04-21 13:23:31 +02:00
Boqin Qin
736f84b2d5
hugolib: Add Unlock before panic
2020-04-20 17:47:34 +02:00
Onur Yaman
cd4d820201
docs: Fix typo in Hugo's Security Model
2020-04-18 14:16:42 +02:00
Niklas Fasching
2b28e5a9cb
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
2020-04-17 22:07:52 +02:00
Steve
102ec2da7a
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
2020-04-13 18:31:33 +02:00
Bjørn Erik Pedersen
feaa582cbe
deps: Update to goldmark v1.1.28
...
Fixes #7113
2020-04-13 16:55:23 +02:00
Bjørn Erik Pedersen
ee67dbeff5
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
2020-04-12 19:18:54 +02:00
hugoreleaser
4a3f2427ed
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-10 09:19:20 +00:00
hugoreleaser
4205844bce
releaser: Add release notes to /docs for release of 0.69.0
...
[ci skip]
2020-04-10 09:08:37 +00:00
hugoreleaser
9b55d13589
releaser: Bump versions for release of 0.69.0
...
[ci skip]
2020-04-10 09:08:37 +00:00