Bjørn Erik Pedersen
f8c67f93e1
Allow hook template per section/type
...
Fixes #7349
2020-06-02 19:02:10 +02:00
hugoreleaser
8a7ef3cf4e
releaser: Add release notes to /docs for release of 0.72.0
...
[ci skip]
2020-05-31 12:05:36 +00:00
Bjørn Erik Pedersen
626b16e024
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
2020-05-31 12:43:33 +02:00
Bjørn Erik Pedersen
2919a6a503
common/maps: Add Scratch.Values
...
Fixes #7335
2020-05-29 19:51:49 +02:00
Bjørn Erik Pedersen
6a3e89743c
Add redirect support to the server
...
Fixes #7323
2020-05-28 16:25:34 +02:00
Yash Murty
9613e3e8a8
Fix typo in install instructions
2020-05-27 13:54:11 +02:00
hugoreleaser
a301f6b2ae
releaser: Add release notes to /docs for release of 0.71.1
...
[ci skip]
2020-05-25 09:08:55 +00:00
hugoreleaser
06150c87be
releaser: Add release notes to /docs for release of 0.71.0
...
[ci skip]
2020-05-18 16:05:47 +00:00
Bjørn Erik Pedersen
e0e81b280f
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
2020-05-18 15:25:26 +02:00
Joe Mooring
991934497e
Add math.Pow
...
Closes #7266
2020-05-14 10:00:31 +02: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
Bjørn Erik Pedersen
57ebab7c23
Release 0.70.0
2020-05-06 13:06:10 +02:00
Bjørn Erik Pedersen
e4621446ce
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
2020-05-06 12:12:57 +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
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
17661debb6
releaser: Add release notes to /docs for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
Onur Yaman
cd4d820201
docs: Fix typo in Hugo's Security Model
2020-04-18 14:16:42 +02: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
Bjørn Erik Pedersen
b7ff4dc23e
docs: Regen docs helper
2020-04-10 09:07:41 +02:00
Bjørn Erik Pedersen
30748decf1
Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
2020-04-10 09:06:04 +02:00
Helicer
c774b230e9
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.
2020-04-07 22:48:55 +02:00
Bjørn Erik Pedersen
3d84ef9720
Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b'
2020-03-31 22:11:54 +02:00
Stéphane Wirtel
b6e097cfe6
fix typo in getting started
2020-03-24 17:31:37 +01:00
hugoreleaser
157669a0e6
releaser: Add release notes to /docs for release of 0.68.3
...
[ci skip]
2020-03-24 12:04:27 +00:00
hugoreleaser
63bbb40dfb
releaser: Add release notes to /docs for release of 0.68.2
...
[ci skip]
2020-03-24 08:21:09 +00:00
hugoreleaser
98dc46e1a9
releaser: Add release notes to /docs for release of 0.68.1
...
[ci skip]
2020-03-22 10:36:42 +00:00
hugoreleaser
1e67854b1a
releaser: Add release notes to /docs for release of 0.68.0
...
[ci skip]
2020-03-21 11:47:37 +00:00
Bjørn Erik Pedersen
7204b354a9
Some minify configuration adjustments
2020-03-20 20:35:57 +01:00
SatowTakeshi
574c2959b8
Add minify config
...
Fixes #6750
Updates #6892
2020-03-20 20:35:57 +01:00
Bjørn Erik Pedersen
99958f90fe
Allow headless bundles to list pages via $page.Pages and $page.RegularPages
...
Fixes #7075
2020-03-20 18:28:55 +01:00
Bjørn Erik Pedersen
c947351d7c
Merge commit 'aa54803a84208816e9c678359bd3f86760484ce0'
2020-03-20 09:19:29 +01:00
hugoreleaser
4f44227bd8
releaser: Add release notes to /docs for release of 0.67.1
...
[ci skip]
2020-03-15 19:30:34 +00:00
Tan Yuanhong
5914f91b6c
Add languageDirection to language configuration
...
Fixes #6550
2020-03-10 10:10:58 +01:00
hugoreleaser
7f1da3efcd
releaser: Add release notes to /docs for release of 0.67.0
...
[ci skip]
2020-03-09 20:35:43 +00:00
Bjørn Erik Pedersen
63393230c9
docs: Doument the server config
2020-03-09 20:36:00 +01:00
Bjørn Erik Pedersen
6b61f2a5bb
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
2020-03-09 20:21:17 +01:00
David Jones
51e178a6a2
deploy: Add include and exclude support for remote
2020-03-08 17:35:32 +01:00
hugoreleaser
78c3c78fca
releaser: Add release notes to /docs for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
Bjørn Erik Pedersen
ee31e61fb0
docs: Regen CLI docs
2020-03-03 13:36:35 +01:00
Bjørn Erik Pedersen
3d3fa5c3fe
Add build.UseResourceCacheWhen
...
Fixes #6993
2020-03-03 13:29:58 +01:00
Bjørn Erik Pedersen
b66d38c419
resources: Add basic @import support to resources.PostCSS
...
This commit also makes the HUGO_ENVIRONMENT environment variable available to Node.
Fixes #6957
Fixes #6961
2020-02-27 11:47:24 +01:00
Robert van Gent
05a74eaec0
deploy: Implement include/exclude filters for deploy
...
Fixes #6922
2020-02-27 07:26:05 +01:00
Joshua Wong
1352bc880d
Add hugo.IsProduction function
...
Fixes #6873
2020-02-25 17:58:07 +01:00
Chris Dennis
d184e5059c
tpl: Add math.Sqrt
...
Fixes #6941
2020-02-24 23:45:04 +01:00
hugoreleaser
211ba42a95
releaser: Add release notes to /docs for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
Bjørn Erik Pedersen
a524124beb
Fix crashes for 404 in IsAncestor etc.
...
Fixes #6931
2020-02-22 13:36:04 +01:00
hugoreleaser
c1eb625124
releaser: Add release notes to /docs for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
6be6684cc5
releaser: Add release notes to /docs for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
24afe2b822
releaser: Add release notes to /docs for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
Bjørn Erik Pedersen
a5ebdf7d17
docs: Regenerate CLI docs
2020-02-19 22:28:06 +01:00
Bjørn Erik Pedersen
fa520a2d98
Add Page.GetTerms
...
Fixes #6905
2020-02-19 14:52:23 +01:00
Bjørn Erik Pedersen
82029c1ec9
Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
2020-02-19 09:16:56 +01:00
Bjørn Erik Pedersen
775c7c2474
commands: Support "hugo mod get -u ./..."
...
Fixes #6828
2020-02-18 12:17:16 +01:00
hugoreleaser
c327e75d05
releaser: Add release notes to /docs for release of 0.64.1
...
[ci skip]
2020-02-09 20:44:34 +00:00
Bjørn Erik Pedersen
1e5eb8679e
Merge commit '3c0036805d64fdd8290f1c4a31371780ff3ea365'
2020-02-06 13:03:30 +01:00
hugoreleaser
241db8f78a
releaser: Add release notes to /docs for release of 0.64.0
...
[ci skip]
2020-02-04 09:07:21 +00:00
hugoreleaser
934ee21fac
releaser: Add release notes to /docs for release of 0.63.2
...
[ci skip]
2020-01-27 12:13:04 +00:00
hugoreleaser
ce9aceb749
releaser: Add release notes to /docs for release of 0.63.1
...
[ci skip]
2020-01-23 20:08:10 +00:00
hugoreleaser
745ddcbbab
releaser: Add release notes to /docs for release of 0.63.0
...
[ci skip]
2020-01-23 12:39:31 +00:00
Bjørn Erik Pedersen
cafb1d53c0
docs, output: Add base template lookup variant to docs.json
2020-01-23 11:59:52 +01:00
Bjørn Erik Pedersen
4f466db666
docs: Regen docs helper
2020-01-23 11:55:08 +01:00
hugoreleaser
83e501849e
releaser: Add release notes to /docs for release of 0.62.2
...
[ci skip]
2020-01-05 18:50:35 +00:00
Bjørn Erik Pedersen
d62ede8e9e
docs: Document the new autoHeadingIDType setting
...
See #6707
See #6616
2020-01-05 12:10:12 +01:00
Bjørn Erik Pedersen
81b7e48a55
docs: Regenerate docshelper
...
See #6707
See #6616
2020-01-05 11:57:49 +01:00
Bjørn Erik Pedersen
469351d5b6
Merge commit '26f1458a2df6b55eee3a5de46f5fec23a43a7c7d'
2020-01-05 11:14:51 +01:00
hugoreleaser
a1518704a7
releaser: Add release notes to /docs for release of 0.62.1
...
[ci skip]
2020-01-01 17:38:22 +00:00
hugoreleaser
6608f15570
releaser: Add release notes to /docs for release of 0.62.0
...
[ci skip]
2019-12-23 10:23:27 +00:00
Bjørn Erik Pedersen
740b72558b
Merge commit '8a4005cf2b0ef34265ff8051a6b76226685fc226'
2019-12-22 22:51:45 +01:00
Bjørn Erik Pedersen
c8bfe47c6a
docs: More on hooks
2019-12-21 11:59:36 +01:00
Bjørn Erik Pedersen
50cc7fe545
tpl: Do not return any value in errorf
...
Fixes #6653
2019-12-21 10:26:14 +01:00
Bjørn Erik Pedersen
1773d71d5b
tpl: Add a warnf template func
...
Fixes #6628
2019-12-21 10:23:00 +01:00
Bjørn Erik Pedersen
55c29d4de3
docs: Regen docshelper
2019-12-19 23:48:01 +01:00
John Zaitseff
158e7ec204
Fix incorrect MIME type from image/jpg to image/jpeg
...
According to multiple sources, both official ([IANA] and [RFC2046]) and
otherwise (eg, [Mozilla] and [Wikipedia]), the official MIME type for
JPEG images is `image/jpeg`, not `image/jpg`. Change Hugo to match.
[IANA]: https://www.iana.org/assignments/media-types/media-types.xhtml#image
[RFC2046]: https://tools.ietf.org/html/rfc2046
[Mozilla]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
[Wikipedia]: https://en.wikipedia.org/wiki/JPEG
2019-12-19 18:02:11 +01:00
Bjørn Erik Pedersen
00954c5d1f
Preserve HTML Text for link render hooks
...
The context now have two text methods:
* Text - rendered
* PlainText
Fixes #6629
2019-12-18 22:55:19 +01:00
Bjørn Erik Pedersen
3e316155c5
docs: Footnote
2019-12-18 16:37:43 +01:00
Bjørn Erik Pedersen
e625088ef5
Add render template hooks for links and images
...
This commit also
* revises the change detection for templates used by content files in server mode.
* Adds a Page.RenderString method
Fixes #6545
Fixes #4663
Closes #6043
2019-12-18 11:44:40 +01:00
Bjørn Erik Pedersen
67f3aa72cf
Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
2019-12-15 10:37:36 +01:00
Gavin D. Howard
4c804319f6
markup/tableofcontents: Add config option for ordered list
2019-12-12 07:48:40 +01:00
hugoreleaser
9b445b9da2
releaser: Add release notes to /docs for release of 0.61.0
...
[ci skip]
2019-12-11 08:26:33 +00:00
hugoreleaser
960667561f
releaser: Add release notes to /docs for release of 0.60.1
...
[ci skip]
2019-11-29 14:56:16 +00:00
hugoreleaser
f2dea9b036
releaser: Add release notes to /docs for release of 0.60.0
...
[ci skip]
2019-11-27 10:09:46 +00:00
Bjørn Erik Pedersen
bfb9613a14
Add Goldmark as the new default markdown handler
...
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo.
If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration:
```toml
[markup]
defaultMarkdownHandler="blackfriday"
```
Fixes #5963
Fixes #1778
Fixes #6355
2019-11-23 14:12:24 +01:00
Bjørn Erik Pedersen
14a985f8ab
Update homepage.md
...
Fixes https://github.com/gohugoio/hugo/issues/6510
2019-11-18 09:17:49 +01:00
Bjørn Erik Pedersen
a2670bf460
tpl/collections: Allow dict to create nested structures
...
Fixes #6497
2019-11-11 21:55:16 +01:00
Bjørn Erik Pedersen
79355043e8
Merge commit 'efc0b1bb6c6564f54d596467dbc6a18cb206954e'
2019-11-11 11:46:22 +01:00
Luke Francl
70a1aa345b
Support Go time format strings in permalinks
...
In the vein of an ancient TODO about supporting custom date formatting with
strftime, this allows `:`-prefixed Go time format strings in permalink segments.
This allows users to customize date-based permalinks any way they need to.
For example, with a date of 2019-11-09, the permalink `/:06/:1/:2` will render
as `/19/11/9`.
See:
07978e4a49 (diff-0688a3b65c7f5d01aa216f8d9b57fd00R111-R112)
https://discourse.gohugo.io/t/implementing-additional-date-formats-for-permalinks/17860
https://github.com/gohugoio/hugo/pull/6488
2019-11-10 11:00:02 +01:00
hugoreleaser
d5dab232c2
releaser: Add release notes to /docs for release of 0.59.1
...
[ci skip]
2019-10-31 15:20:53 +00:00
hugoreleaser
1dd0c69c7b
releaser: Add release notes to /docs for release of 0.59.0
...
[ci skip]
2019-10-21 09:38:50 +00:00
Bjørn Erik Pedersen
de8ca7e4d4
Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'
2019-10-21 10:52:23 +02:00
Bjørn Erik Pedersen
ec5962278f
Merge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d'
2019-10-21 10:49:16 +02:00
Bjørn Erik Pedersen
27aef3f1fb
Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
2019-10-21 10:22:28 +02:00
Bjørn Erik Pedersen
39121de4d9
docs: Replace /docs
2019-10-21 10:21:51 +02:00
Bjørn Erik Pedersen
4b286b9d27
resources/images: Allow to set background fill colour
...
Closes #6298
2019-10-20 22:06:58 +02:00
Zach Bayoff
7b3edc2931
tpl: Add optional "title" attribute to iframe in Vimeo shortcode
...
Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64 .
2019-10-12 18:10:14 +02:00
Jamie Tanna
c466b88c99
deps: Upgrade to latest version of emoji dependency
...
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.
Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.
Follow-up to #6391 . (170f18d935
and
2df5d202c6
)
2019-10-05 22:58:53 +02:00
hugoreleaser
4aac02d49c
releaser: Add release notes to /docs for release of 0.58.3
...
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
253e5fdc69
releaser: Add release notes to /docs for release of 0.58.2
...
[ci skip]
2019-09-13 08:04:20 +00:00
hugoreleaser
24277b9202
releaser: Add release notes to /docs for release of 0.58.1
...
[ci skip]
2019-09-06 09:18:56 +00:00
hugoreleaser
64d8bf1ee9
releaser: Add release notes to /docs for release of 0.58.0
...
[ci skip]
2019-09-04 15:41:58 +00:00