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
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
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
hugoreleaser
a849cb2d9b
releaser: Add release notes to /docs for release of 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
hugoreleaser
58c56e9ded
releaser: Add release notes to /docs for release of 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
hugoreleaser
9b00e64765
releaser: Add release notes to /docs for release of 0.57.0
...
[ci skip]
2019-08-14 08:05:33 +00:00
hugoreleaser
f637a1eace
releaser: Add release notes to /docs for release of 0.56.3
...
[ci skip]
2019-07-31 12:48:33 +00:00
Bjørn Erik Pedersen
02b947eaa3
docs: Regenerate CLI docs
2019-07-31 12:11:22 +02:00
hugoreleaser
5f033a7fcc
releaser: Add release notes to /docs for release of 0.56.2
...
[ci skip]
2019-07-30 09:05:09 +00:00
hugoreleaser
0ad218afc5
releaser: Add release notes to /docs for release of 0.56.1
...
[ci skip]
2019-07-28 14:51:43 +00:00
hugoreleaser
45f4eb9846
releaser: Add release notes to /docs for release of 0.56.0
...
[ci skip]
2019-07-25 16:37:58 +00:00
Bjørn Erik Pedersen
77bf2991b1
docs: Add Hugo Modules docs
2019-07-25 13:21:30 +02:00
Bjørn Erik Pedersen
215d2ed883
docs: Regenerate CLI docs
2019-07-24 09:40:41 +02:00
Bjørn Erik Pedersen
461b0e066f
Merge commit '5cb4e46cfa65bddae8ac5344540e3dd1e4c266b2'
2019-07-24 09:36:50 +02:00
Bjørn Erik Pedersen
05d0eddd2b
Merge commit '35febb2e2a3780c3338a2665fddea7dda28a17f4'
2019-07-15 23:50:56 +02:00
Niklas Fasching
020086cb2b
Add org to front matter formats
...
actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
2019-07-10 11:14:37 +02:00
Niklas Fasching
b6867bf806
Improve Org mode support: Replace goorgeous with go-org
...
Sadly, goorgeous has not been updated in over a year and still has a lot of
open issues (e.g. no support for nested lists).
go-org fixes most of those issues and supports a larger subset of Org mode
syntax.
2019-06-08 10:13:00 +02:00
Robert van Gent
9df57154ee
deploy: Default --target to the first deployment target
2019-06-08 00:41:59 +02:00
Robert van Gent
b0f536fb27
Drop dashes in http header matcher attributes; other changes from code review
2019-05-31 22:08:12 +02:00
Robert van Gent
1384d77a04
docs: Add documentation for "hugo deploy"
2019-05-31 22:08:12 +02:00
Bruno Amaral
d1cf53f5f4
Remove references to Google+
...
According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/6083347?hl=en
2019-05-26 19:24:45 +02:00
Bjørn Erik Pedersen
4f61a926f6
Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211'
2019-05-25 10:41:51 +02:00
Brice BERDAH
2278b0eb02
Medium -> Hugo exporting tool
...
Suggesting a simple yet powerful tool for people looking to export their Medium blog to Hugo
2019-05-24 15:35:41 +02:00
hugoreleaser
a5d4c82d2f
releaser: Add release notes to /docs for release of 0.55.6
...
[ci skip]
2019-05-18 07:55:28 +00:00
hugoreleaser
a83256b9cd
releaser: Add release notes to /docs for release of 0.55.5
...
[ci skip]
2019-05-02 13:03:34 +00:00
Bjørn Erik Pedersen
b1d438ea28
Merge commit 'f147b5c53eda15982e0fe762847532eeddb7485f'
2019-05-02 14:24:13 +02:00
hugoreleaser
579004178b
releaser: Add release notes to /docs for release of 0.55.4
...
[ci skip]
2019-04-25 07:38:48 +00:00
hugoreleaser
993b84333c
releaser: Add release notes to /docs for release of 0.55.3
...
[ci skip]
2019-04-20 14:23:12 +00:00
Bjørn Erik Pedersen
0508ca1856
Merge commit 'a0c28c943c2f4714fa340b22a583b96f5013090b'
2019-04-20 15:19:38 +02:00
hugoreleaser
9d02034881
releaser: Add release notes to /docs for release of 0.55.2
...
[ci skip]
2019-04-17 12:20:37 +00:00
hugoreleaser
223b3c2eec
releaser: Add release notes to /docs for release of 0.55.1
...
[ci skip]
2019-04-12 09:56:13 +00:00
Yihui Xie
7966c0b5b7
Remove the space in . RelPermalink
...
The same fix as 3b86b4a9f5
, applied to doc.
2019-04-10 22:45:20 +02:00
Bjørn Erik Pedersen
cc98fc8ad2
Merge commit '8b73644d81a81e82851b7f7c90aa8ab5524fbe93'
2019-04-09 23:59:59 +02:00
hugoreleaser
4333cc77fe
releaser: Add release notes to /docs for release of 0.55.0
...
[ci skip]
2019-04-08 16:39:45 +00:00
Jim McDonald
ed65bda3b4
docs: Add information about summary front matter variable
2019-04-06 00:17:54 +02:00
Bjørn Erik Pedersen
d1553b4b0f
integrity: Add support for sha384
...
Fixes #5815
2019-04-05 16:35:07 +02:00
Bjørn Erik Pedersen
87b16abd93
Add HUGO_NUMWORKERMULTIPLIER
...
And use that to calculate number of workers, if set, else fall back to number of logical CPUs.
Also tweak the relevant related settings to match the new setup.
Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5.
Fixes #5814
2019-04-05 10:21:25 +02:00
Bjørn Erik Pedersen
92baa14fd3
hugolib: Allow page-relative aliases
...
Fixes #5757
2019-04-02 10:32:47 +02:00
Bjørn Erik Pedersen
bb533ca5e1
docs: Regenerate CLI docs
...
Fixes #5779
2019-03-26 18:46:01 +01:00
Bjørn Erik Pedersen
876e5f67b1
Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
2019-03-26 18:41:36 +01:00
Bjørn Erik Pedersen
597e418cb0
Make Page an interface
...
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct.
This is all a preparation step for issue #5074 , "pages from other data sources".
But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes.
Most notable changes:
* The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday.
This means that any markdown will partake in the global ToC and footnote context etc.
* The Custom Output formats are now "fully virtualized". This removes many of the current limitations.
* The taxonomy list type now has a reference to the `Page` object.
This improves the taxonomy template `.Title` situation and make common template constructs much simpler.
See #5074
Fixes #5763
Fixes #5758
Fixes #5090
Fixes #5204
Fixes #4695
Fixes #5607
Fixes #5707
Fixes #5719
Fixes #3113
Fixes #5706
Fixes #5767
Fixes #5723
Fixes #5769
Fixes #5770
Fixes #5771
Fixes #5759
Fixes #5776
Fixes #5777
Fixes #5778
2019-03-23 18:51:22 +01:00