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
arrtchiu
75904332f3
Add skipHTML option to blackfriday config
2019-03-04 11:27:18 +01:00
hugoreleaser
b1a82c61ab
releaser: Add release notes to /docs for release of 0.54.0
...
[ci skip]
2019-02-01 09:40:32 +00:00
Bjørn Erik Pedersen
ddc15ed41b
Merge commit '5e078383a787e8b5ec3ba73f05ea4130840afbe2'
2019-02-01 09:01:04 +01:00
Marc Robinson
507451229c
Update _index.md
...
Corrects misspelling of sync (synch)
2019-01-02 09:58:39 +01:00
Cameron Moore
9e4f9e0bb6
tpl: Fix reflect
...
Fixes #5564
2018-12-28 10:41:46 +01:00
Bjørn Erik Pedersen
22afe28047
Merge commit '978856e2ad12d2bcaf37bb9e31f806b30a4c42f4'
2018-12-26 10:27:54 +01:00
hugoreleaser
8fc339dc25
releaser: Add release notes to /docs for release of 0.53
...
[ci skip]
2018-12-24 08:24:42 +00:00
Bjørn Erik Pedersen
62d031aedf
docs: Adjust CSV example
...
See #5555
2018-12-23 21:12:41 +01:00
Bjørn Erik Pedersen
ce06bdb16a
Rename CSV option from comma to delimiter
...
See #5555
2018-12-23 21:09:09 +01:00
Bjørn Erik Pedersen
2efc1a64c3
docs: Document transform.Unmarshal
...
Fixes #5556
2018-12-23 19:43:17 +01:00
Bjørn Erik Pedersen
e691c48a5a
docs: Regenerate CLI docs
...
Fixes #5544
2018-12-23 19:05:40 +01:00
Bjørn Erik Pedersen
1021714449
hugolib: Add .Name as a shortcode variable
...
Fixes #5546
2018-12-21 09:51:15 +01:00
Bjørn Erik Pedersen
6f069e549b
Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154'
2018-12-21 09:45:41 +01:00
Bjørn Erik Pedersen
5068681707
docs: Regenerate CLI docs
...
Fixes #5507
2018-12-12 09:09:45 +01:00
Bjørn Erik Pedersen
b17a61a605
Merge commit 'eb16165694f868d73e57b6aed5c26ba5e98229de'
2018-12-12 09:06:42 +01:00
Cameron Moore
c84f506f8e
tpl: Add reflect namespace
...
Add a reflect namespace that offers a two boolean functions for
testing if a value is a map or slice.
Fixes #4081
2018-12-07 23:29:37 +01:00
hugoreleaser
9433cf5a92
releaser: Add release notes to /docs for release of 0.52
...
[ci skip]
2018-11-28 14:06:31 +00:00
Bjørn Erik Pedersen
f37c5a2567
tpl: Add "param" shortcode
...
Fixes #4010
2018-11-27 17:34:03 +01:00
Bjørn Erik Pedersen
aded0f25fd
docs: Document inline shortcodes
...
See #4011
2018-11-27 16:14:09 +01:00
Bjørn Erik Pedersen
94f0f7e597
cache/filecache: Add a :project placeholder
...
This allows for "cache per Hugo project", making `hugo --gc` work as expected, even if you have several Hugo projects running on the same PC.
See #5439
2018-11-14 23:14:51 +01:00
Bjørn Erik Pedersen
d3489eba5d
cache/filecache: Use time.Duration for maxAge
...
Fixes #5438
2018-11-14 23:14:50 +01:00
Bjørn Erik Pedersen
abeeff1325
docs: Document the new file cache
...
See #5404
2018-11-13 14:29:45 +01:00
Bjørn Erik Pedersen
5570a6e478
Revert "Add Elasticsearch/bonsai.io to services doc."
...
This reverts commit c0b3a1af03
.
2018-11-09 23:12:27 +01:00
Allison Zadrozny
c0b3a1af03
Add Elasticsearch/bonsai.io to services doc.
...
Hip hip for OSS! 🙌
2018-11-09 22:56:38 +01:00
hugoreleaser
f3d5190793
releaser: Add release notes to /docs for release of 0.51
...
[ci skip]
2018-11-07 10:09:43 +00:00
Bjørn Erik Pedersen
e456e34bdb
docs: Document shortcode error handling
...
Closes https://github.com/gohugoio/hugoDocs/issues/660
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
5d14d04ac6
docs: Document symdiff
...
Closes https://github.com/gohugoio/hugoDocs/issues/659
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
ddcb402859
docs: Document complement
...
Closes https://github.com/gohugoio/hugoDocs/issues/658
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
2998fa0cd5
docs: Re-generate CLI docs
2018-11-05 14:18:45 +01:00
Bjørn Erik Pedersen
4f3c095963
Revert "tpl: Update Jsonify to return pretty-print output"
...
This reverts commit 5a52cd5f92
.
Closes #5394
2018-11-02 19:03:48 +01:00
Christian Oliff
e65268f2c2
Correct minor typo ( #5372 )
...
> Errors will no show up
should be:
> Errors will now show up
2018-10-29 12:09:19 +01:00
hugoreleaser
f5be599204
releaser: Add release notes to /docs for release of 0.50
...
[ci skip]
2018-10-29 09:51:50 +00:00
Bjørn Erik Pedersen
3250198724
docs: Regenerate CLI docs
2018-10-29 09:29:27 +01:00
Bjørn Erik Pedersen
27569275b1
Merge commit 'd6a4af7018e8618944a6471ceeb7aae1d4df6afa'
2018-10-29 09:28:01 +01:00
Bjørn Erik Pedersen
4b2738d871
Merge commit '74309fe5699a595080fdb3a14711e0869babce99'
2018-10-29 09:23:25 +01:00
Bjørn Erik Pedersen
40e99672b6
docs: Regenerate CLI docs
...
Closes #5354
2018-10-26 15:10:43 +02:00
Sean Prashad
5a52cd5f92
tpl: Update Jsonify to return pretty-print output
...
Fixes #5040
2018-10-21 23:36:35 +02:00
Bjørn Erik Pedersen
604ddb90c5
Merge branch 'release-0.49.2'
2018-10-11 12:01:51 +02:00
hugoreleaser
42cde66663
releaser: Add release notes to /docs for release of 0.49.2
...
[ci skip]
2018-10-11 09:47:57 +00:00
Bjørn Erik Pedersen
3583dd6d71
Merge branch 'release-0.49.1'
2018-10-10 13:00:01 +02:00
hugoreleaser
821adf3ae8
releaser: Add release notes to /docs for release of 0.49.1
...
[ci skip]
2018-10-10 10:36:37 +00:00
Cameron Moore
ce264b936c
tpl: Add a delimiter parameter to lang.NumFmt
...
The original implementation of NumFmt did not take into account that the
options delimiter (a space) could be a valid option. Adding a delim
parameter seems like the simplest, safest, and most flexible way to
solve this oversight in a backwards-compatible way.
Fixes #5260
2018-10-02 17:41:48 +03:00
Ricardo N Feliciano
ad705aac06
hugolib: Introduce Page.NextPage and Page.PrevPage
...
Introduce new page position variables in order to fix the ordering issue
of `.Next` and `.Prev` while also allowing an upgrade path via
deprecation.
`.NextInSection` becomes `.NextPageInSection`.
`.PrevInSection` becomes `.PrevPageInSection`.
`.Next` becomes a function returning `.PrevPage`.
`.Prev` becomes a function returning `.NextPage`.
Fixes #1061
2018-09-26 09:22:43 +02:00
hugoreleaser
398996e8b0
releaser: Add release notes to /docs for release of 0.49
...
[ci skip]
2018-09-24 10:01:04 +00:00
Bjørn Erik Pedersen
3697448450
docs: Document directory based archetypes
...
See #4535
2018-09-24 11:52:25 +02:00
Bjørn Erik Pedersen
3b6bd1210a
docs: Regenerate CLI docs
2018-09-24 10:11:41 +02:00
Bjørn Erik Pedersen
8388cd90e8
docs: Document group
...
Fixes https://github.com/gohugoio/hugoDocs/issues/597
2018-09-24 10:07:50 +02:00
Bjørn Erik Pedersen
bc57f5c36e
Merge commit '807c551922707fc5ae0eb26e8f01638c0c63fdb3'
2018-09-23 23:48:53 +02:00
Ricardo N Feliciano
cae07ce84b
tpl/collections: Allow first function to return an empty slice
...
Fixes #5235
2018-09-22 20:58:46 +02:00
Bjørn Erik Pedersen
df50c108ba
docs: Add docs for append
...
See #5190
2018-09-14 10:12:08 +02:00
Bjørn Erik Pedersen
b7ca3e1b3a
Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'
2018-09-14 08:35:23 +02:00
Bjørn Erik Pedersen
e5d66074ce
tpl/strings: Add strings.FirstUpper
...
Fixes #5174
2018-09-07 09:08:14 +02:00
Thomas Jost
be3ae3ec92
hugolib: Do not FirstUpper taxonomy titles
...
Doing so was probably a mistake. This may be a breaking change for some people,
but it's easy to restore the previous behaviour in the layouts.
Fixes #5172
2018-09-06 20:29:21 +02:00
hugoreleaser
456f5476cf
releaser: Add release notes to /docs for release of 0.48
...
[ci skip]
2018-08-29 06:33:03 +00:00
hugoreleaser
7ef5096257
releaser: Add release notes to /docs for release of 0.47.1
...
[ci skip]
2018-08-20 08:16:49 +00:00
hugoreleaser
caf608d566
releaser: Add release notes to /docs for release of 0.47
...
[ci skip]
2018-08-17 09:15:18 +00:00
Bjørn Erik Pedersen
4a16b5f4b0
docs: Regenerate CLI docs
2018-08-17 10:12:19 +02:00
Bjørn Erik Pedersen
873f8805cb
Merge commit 'a95896878f4b4a79448b39ce93a4e0d3258b4a43'
2018-08-17 10:09:42 +02:00
Bjørn Erik Pedersen
1639fd20d8
Merge commit '3a44bf182fed5f34621f450114083a6dd7e88a07'
2018-08-08 13:54:42 +02:00
hugoreleaser
f14d773841
releaser: Add release notes to /docs for release of 0.46
...
[ci skip]
2018-08-01 09:00:52 +00:00
Bjørn Erik Pedersen
e6dd54943f
Merge commit '766085c2dc6fc95ac30fda2a9ebde2355fc12554'
2018-08-01 10:01:49 +02:00
hugoreleaser
3b18042ee6
releaser: Add release notes to /docs for release of 0.45.1
...
[ci skip]
2018-07-25 08:56:21 +00:00
hugoreleaser
48d7a641d0
releaser: Add release notes to /docs for release of 0.45
...
[ci skip]
2018-07-22 12:09:26 +00:00
Bjørn Erik Pedersen
1eb8b36b38
docs: Update ref, relref, GetPage docs
2018-07-19 17:02:03 +02:00
Bjørn Erik Pedersen
00c74ee7ff
docs: Document refLinksErrorLevel and refLinksNotFoundURL
...
See #4964
2018-07-19 15:04:00 +02:00
Bjørn Erik Pedersen
9da617912b
Merge commit 'a3535c8486b2ce762b1a8a9c30b03985c3e02cee'
2018-07-19 09:18:11 +02:00
Bjørn Erik Pedersen
59ebc83d72
Merge commit 'b6b37a1f00f808f3c0d2715f65ca2d3091f36495'
2018-07-18 11:05:58 +02:00
Lucas Bickel
fd1f4a7860
Fix addkit link to account for i18n
2018-07-16 21:23:27 +02:00
hugoreleaser
9f9695cf7b
releaser: Add release notes to /docs for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
Bjørn Erik Pedersen
a4fad5be6b
Adjust release notes
...
[ci skip]
2018-07-09 12:11:57 +02:00
hugoreleaser
cbb7214b6c
releaser: Add release notes to /docs for release of 0.43
...
[ci skip]
2018-07-09 10:00:04 +00:00
Yang Li
3cea2932e1
Fix typos
2018-07-07 12:29:56 +02:00
Bjørn Erik Pedersen
0efd374805
Merge commit '98293eaa1570b5aff4452021c8b6d6c8560b3f06'
2018-07-06 17:53:17 +02:00
Bjørn Erik Pedersen
2b8d907ab7
Add a newScratch template func
...
Fixes #4685
2018-07-06 17:51:38 +02:00
hugoreleaser
02aa320030
releaser: Add release notes to /docs for release of 0.42.2
...
[ci skip]
2018-06-28 12:36:15 +00:00
hugoreleaser
4172a835e5
releaser: Add release notes to /docs for release of 0.42.1
...
[ci skip]
2018-06-13 10:16:33 +00:00
hugoreleaser
ffb609f4ab
releaser: Add release notes to /docs for release of 0.42
...
[ci skip]
2018-06-12 06:37:19 +00:00
Bjørn Erik Pedersen
c74b0f8f9b
docs: Update theme documentation
...
See #4460
2018-06-12 07:38:41 +02:00
Bjørn Erik Pedersen
e02629f81a
Merge commit 'b239595af5a9fc1fc9a1ccc666c3ab06ccc32f04'
2018-06-11 22:32:19 +02:00
Alexandros
65deb72dc4
tplimpl: Remove speakerdeck shortcode
...
Fixes #4830
2018-06-09 11:13:36 +02:00
David E. Wheeler
019bd5576b
tpl/strings: strings.RuneCount
2018-06-04 20:47:03 +03:00
David E. Wheeler
13435a6f60
tpl: Add strings.Repeat
2018-06-03 09:55:37 +03:00
Stefan Neuhaus
20cbc2c785
Add a BlackFriday option for rel="noreferrer" on external links
...
Add a configuration option "noreferrerLinks". When set to "true" the "HTML_NOREFERRER_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "noreferrer" value for their "rel" attribute.
See #4722
2018-05-29 16:54:43 +02:00
Stefan Neuhaus
7a6192647a
Add a BlackFriday option for rel="nofollow" on external links
...
Add a configuration option "nofollowLinks". When set to "true" the "HTML_NOFOLLOW_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "nofollow" value for the "rel" attribute.
Fixes #4722
2018-05-28 01:21:36 +02:00
hugoreleaser
171caf28a9
releaser: Add release notes to /docs for release of 0.41
...
[ci skip]
2018-05-25 16:57:18 +00:00
Bjørn Erik Pedersen
c71f201fd9
docs: Document the GDPR Privacy Config
...
See #4751
2018-05-25 17:25:33 +02:00
Bjørn Erik Pedersen
7b9dbef41a
Merge commit 'd2b1030060d3c91d5f9ffa3456418da16bd74f1d'
2018-05-25 15:05:23 +02:00
Bjørn Erik Pedersen
914cc85e22
Merge commit '83bef6955e014d40c0f00db9cebe09113154e999'
2018-05-04 09:44:59 +02:00