Bjørn Erik Pedersen
00a522e6ad
docs: Regenerate docshelper
2021-06-18 12:58:07 +02:00
Bjørn Erik Pedersen
bc171954bd
Merge commit '92405e5b0adc5d8c3dfde88d6a8b67eb09169190'
2021-06-18 12:57:19 +02:00
Bjørn Erik Pedersen
ef73ffc3bc
Misc config loading fixes
...
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster:
```
BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op
BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op
```
Fixes #8633
Fixes #8618
Fixes #8630
Updates #8591
Closes #6680
Closes #5192
2021-06-14 17:00:32 +02:00
Bjørn Erik Pedersen
3a923e1550
Update configuration.md
2021-06-13 19:45:14 +02:00
Bjørn Erik Pedersen
0b4117f7f6
docs: Regenerate docs helper
2021-06-08 18:52:38 +02:00
Bjørn Erik Pedersen
9b9452b9c3
Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8'
2021-06-08 18:47:53 +02:00
Bjørn Erik Pedersen
9c4413dd9e
tpl/fmt: Add erroridf template func
...
Fixes #8613
2021-06-07 19:11:03 +02:00
Lucas Eduardo
4c81c6c2ac
live reload: add section about --navigateToChanged
2021-06-07 10:20:00 +02:00
Bjørn Erik Pedersen
e1875742e2
tpl/data: Misc header improvements, tests, allow multiple headers of same key
...
Closes #5617
2021-06-06 13:32:12 +02:00
Joe Mooring
e4560893c9
Add math.Max and math.Min
...
Closes #8583
2021-05-28 20:38:45 +02:00
whs
2710142579
Update netify hugo version to 0.83.1
2021-05-26 13:18:59 +02:00
Shohei Ueda
14199cff13
Add pull_request event
...
- Add pull_request event
- Add filter to deploy with a default branch only
2021-05-17 17:27:24 +02:00
meehawk
7dc282eaf9
common/maps: Add Scratch.DeleteInMap
...
Add Scratch.DeleteInMap method. This method works similar to Scratch.SetInMap. It takes in two string parameters, key and mapKey and deletes the value mapped to mapKey in key
Closes #8504
2021-05-17 15:45:33 +02:00
Valentin Heidelberger
0c33b05de5
Hosting on GitHub: Little wording fixes and update Ubuntu runner in example workflow to 20.04 ( #1457 )
2021-05-13 20:50:41 +09:00
Facundo Giuliani
e47b6c33a4
Hugo Modules plural typo ( #1266 )
2021-05-11 21:26:58 +09:00
Bjørn Erik Pedersen
0f2bbacdd0
Add node_modules to .gitignore
2021-05-11 11:17:29 +02:00
Joe Mooring
b9cd77171d
docs: Update querify function description and examples
...
The querify function now accepts a slice per #8305 .
2021-05-10 17:18:37 +02:00
Salim B
1d645d79f5
Overhaul scratch.md ( #1451 )
...
* Overhaul scratch.md
* Tweak scratch.md
* Small fixes
* Add link
* Use local Scratch in all examples
* Simplify intro and context vs local examples
I think this doc page was getting closer to blog post. All the history is not very relevant now that we're on 0.83.0. I took the liberty of simplifying. Let me know what you think...
* Remove redundancies and be more consistent
* Add history note
* Fix syntax error in example
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-05-05 10:23:32 -04:00
Thomas Jensen
5727668891
Add link to golang regex syntax, change modified date
2021-05-04 09:27:13 +02:00
Thomas Jensen
21b0c74594
Add info about contentType config
...
Add `contentType`to deploy config example, and a note that matching stops on first match.
2021-05-04 09:27:13 +02:00
Joe Mooring
de7d96fa28
Document Go template's multiline support
...
Closes #764
2021-05-03 21:38:07 +02:00
Salim B
0c8f2dcb13
Avoid scratch usage
2021-05-03 21:08:23 +02:00
Salim B
696fa92e11
Rename scratch var
2021-05-03 21:08:23 +02:00
Salim B
44193f267d
Update usage instructions
2021-05-03 21:08:23 +02:00
Salim B
4230f8fa54
Rename and refactor shortcode
2021-05-03 21:08:23 +02:00
Salim B
e9953751ec
Strip leading whitespaces
2021-05-03 21:08:23 +02:00
Salim B
d61a580103
Add insertpages
shortcode
...
This is an improvement over the `readfiles` shortcode in that it allows to insert content files that contain shortcodes themselves.
This new shortcode is used to fix a regression introduced in https://github.com/gohugoio/hugoDocs/pull/1442 (`new-in` shortcode was not rendered as intended).
2021-05-03 21:08:23 +02:00
Salim B
04d30677dd
Mention WebP under 'Target Format' ( #1431 )
...
Plus use [official spelling](https://en.wikipedia.org/wiki/WebP ) of `WebP`.
2021-05-02 20:47:53 -07:00
Jackson Lucky
9467845085
Update lookup-order.md ( #1443 )
...
Improve subject-verb agreement.
2021-05-02 20:45:56 -07:00
Bjørn Erik Pedersen
a7b5879889
Update index.md
2021-05-02 17:38:19 +02:00
Bjørn Erik Pedersen
27907f7ea3
netlify: Hugo 0.83.1
v0.83.1
2021-05-02 17:34:10 +02:00
Bjørn Erik Pedersen
044d37e570
Merge branch 'tempv0.83.1'
2021-05-02 17:33:30 +02:00
Salim B
b81aedb03f
Fix page .Kind
...
In case of a taxonomy term page, `.Kind` (at least in Hugo v0.83) returns the string **`"term"`**, not `taxonomyTerm`.
2021-05-02 16:38:48 +02:00
hugoreleaser
fcf7775adc
releaser: Add release notes to /docs for release of 0.83.1
...
[ci skip]
2021-05-02 14:38:02 +00:00
Christian Oliff
9b39c77c87
fix typo in 0.83 release notes
2021-05-02 16:17:50 +02:00
Bjørn Erik Pedersen
1c38993ce7
Update index.md
2021-05-01 18:41:47 +02:00
Bjørn Erik Pedersen
45b8aefa67
Update index.md
2021-05-01 18:41:28 +02:00
Bjørn Erik Pedersen
43902dfaad
Update index.md
2021-05-01 18:38:51 +02:00
Bjørn Erik Pedersen
3d959c7ae8
Merge branch 'tempv0.83.0'
v0.83.0
2021-05-01 15:33:05 +02:00
Salim B
6c22dc3279
Fix URL
2021-05-01 14:52:39 +02:00
Salim B
497ea32247
Use Hugo version badge shortcode
2021-05-01 14:52:10 +02:00
hugoreleaser
a182d10ddd
releaser: Add release notes to /docs for release of 0.83.0
...
[ci skip]
2021-05-01 12:10:05 +00:00
Bjørn Erik Pedersen
287fd9ac09
docs: Fix shortcode
2021-05-01 13:01:23 +02:00
Bjørn Erik Pedersen
e789c879ab
docs: Regenerate docs helper
2021-05-01 12:06:24 +02:00
Bjørn Erik Pedersen
1666c7f31a
docs: Regenerate CLI docs
2021-05-01 12:05:31 +02:00
Bjørn Erik Pedersen
117de1d12d
Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10'
2021-05-01 11:45:45 +02:00
Darius Lupsa
bcc4f93242
Add transparent background in rgba for search field
...
Safari has a bug for not showing transparent background when isn't in rgba. For unknown reasons, using commit d28cf15e1d20470a71a45f3d2337b97519f313c5 and 'hugo server', the search field is displayed corectly, but after deployment, isn't anymore. For this reasons I've added the background-color property separately and in rgba.
2021-05-01 11:02:33 +02:00
Joe Mooring
fce835fead
Trim newlines from .Inner in the 'code' shortcode
...
Closes #1437
2021-05-01 00:46:18 +02:00
Joe Mooring
9117f54b39
Remove code toggle from netlify.toml
...
Closes #1421
2021-04-30 22:27:41 +02:00
Darius Lupsa
babbb9090a
fix version number - 404 error
2021-04-30 09:16:40 +02:00