Oleksandr Redko
ae435ca77d
tpl: Add math.Abs
...
Fixes #10941 .
2023-05-16 18:32:07 +02:00
Oleksandr Redko
bda082c98c
tpl: Add math.Abs
...
Fixes #10941 .
2023-05-16 18:32:07 +02:00
Bjørn Erik Pedersen
241b21b0fd
Create a struct with all of Hugo's config options
...
Primary motivation is documentation, but it will also hopefully simplify the code.
Also,
* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.
Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00
Oleksandr Redko
742510ae8f
Fix ordinal abbrev example
2023-05-16 13:43:28 +02:00
Oleksandr Redko
fe557031af
Correct spelling for 'GitHub' and 'GitLab' ( #2082 )
2023-05-15 11:33:24 -07:00
Bjørn Erik Pedersen
6aededf6b4
Improve date parsing performance for the common case
...
```
name old time/op new time/op delta
Baseline/skiprender-10 24.5ms ±10% 22.3ms ± 4% -8.93% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
Baseline/skiprender-10 30.0MB ± 0% 26.2MB ± 0% -12.74% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
Baseline/skiprender-10 373k ± 0% 279k ± 0% -25.07% (p=0.029 n=4+4)
```
Fixes #10942
2023-05-15 11:25:24 +02:00
Bjørn Erik Pedersen
0988b76a78
Add a counter helper
2023-05-15 09:23:26 +02:00
Bjørn Erik Pedersen
e0e19a934f
Expand the baseline benchmark a little
2023-05-15 08:39:52 +02:00
mike-ryan-codes
84a059b9ad
Fix typo in hosting-on-azure.md ( #2080 )
2023-05-13 06:59:56 -07:00
Joe Mooring
3383786fe3
Add i18n to list of directories affected by ignoreFiles
2023-05-12 11:16:31 -07:00
bwc69151
5bfb952340
Update 404.md ( #2076 )
2023-05-11 09:10:29 -07:00
bwc69151
87545a4fd7
Update hosting-on-cloudflare-pages.md ( #2078 )
2023-05-11 09:09:38 -07:00
Jacob Lamont
aa5952c289
Add default module mount to example ( #2075 )
2023-05-09 10:32:55 -07:00
zemzelett
ced5292c8d
Align permalinks examples ( #2073 )
2023-05-07 08:16:17 -07:00
Joe Mooring
f340139f84
Revert "Update syntax-highlighting.md ( #10929 )" ( #10930 )
...
This reverts commit a4fb8dc6bc4358ca5c307e1af4a50fee2a0c4c12.
2023-05-06 09:36:29 -07:00
Joe Mooring
bcd7ac7704
Revert "Update syntax-highlighting.md ( #10929 )" ( #10930 )
...
This reverts commit a4fb8dc6bc4358ca5c307e1af4a50fee2a0c4c12.
2023-05-06 09:36:29 -07:00
Joe Mooring
77b5009fd1
Fix typo
2023-05-06 09:31:18 -07:00
Kirill Bobyrev
917a0e24d2
Update syntax-highlighting.md ( #10929 )
2023-05-06 07:00:37 -07:00
Kirill Bobyrev
a4fb8dc6bc
Update syntax-highlighting.md ( #10929 )
2023-05-06 07:00:37 -07:00
Joe Mooring
c79319a6ae
Clarify description of baseURL
2023-05-05 10:48:01 -07:00
Bjørn Erik Pedersen
4f341fa1af
Update README.md
2023-05-04 23:56:57 +02:00
Allan Olweny
e93a9807b1
Fix typo in frontmatter description ( #2071 )
...
Co-authored-by: Allan Olweny <Allan Olweny>
2023-05-03 12:11:03 -07:00
Joe Mooring
05fe9163a6
Remove erroneous statement
2023-05-01 08:41:24 -07:00
Chathan Driehuys
aa59ef383b
docs: Remove note about hugo server not using 404 ( #2068 )
...
The server uses custom 404 pages as of gohugoio/hugo#10267 .
2023-04-28 07:23:25 -07:00
Joe Mooring
5c7b79cf7f
tpl/strings: Clarify findRESubmatch description
2023-04-27 22:02:41 +02:00
Joe Mooring
0cb6ca5906
langs/i18n: Fallback to defaultContentLanguage instead of English
...
Co-authored-by: 641bill <wo23636@126.com>
Fixes #9216
2023-04-24 21:20:09 +02:00
Joe Mooring
4a387a6b8c
Clarify findRESubmatch ( #2065 )
2023-04-24 08:56:13 -07:00
Joe Mooring
47a9181b51
Clarify findRE, replaceRE, and findRESubmatch ( #2064 )
...
Closes #2063
2023-04-24 08:56:13 -07:00
Bjørn Erik Pedersen
e5eedbb5e8
Update theme
2023-04-21 17:28:45 +02:00
Bjørn Erik Pedersen
f1062519ae
tpl/debug: Add VisualizeSpaces
2023-04-20 11:27:55 +02:00
Bjørn Erik Pedersen
46a3cf6186
Update README.md
2023-04-18 08:35:37 +02:00
Joe Mooring
5d392c3d45
Clarify pageRef menu property ( #2059 )
2023-04-15 14:28:54 -07:00
MaoPing
a557b0ebf4
Fix typos on Configure Hugo page ( #2058 )
2023-04-15 07:26:34 -07:00
Bjørn Erik Pedersen
9906c1ae52
Prevent the global error collector to panic when sending on closed channel
2023-04-13 11:44:22 +02:00
Will Faught
17ef283e6c
Clarify module.replacements wording ( #2052 )
2023-04-12 10:44:07 -07:00
Andreas Deininger
5db4aa421d
Fixing broken links ( #2057 )
2023-04-12 08:37:37 -07:00
Bjørn Erik Pedersen
5596dc24a0
markup/goldmark: Add config options for the typographer extension
...
Note that the config per language part of this will be handled in #10602 .
Updates #9772
2023-04-12 14:41:32 +02:00
Andreas Deininger
9afa0c2fa7
Fix broken links ( #2055 )
2023-04-11 14:54:48 -07:00
Andreas Deininger
49b981b1f5
Correct repo URL for migration tool (contentful.com) ( #2056 )
2023-04-11 14:51:59 -07:00
Joe Mooring
969c24c168
Remove duplicate content
2023-04-11 13:59:33 -07:00
Joe Mooring
0b91e7676e
Revert "Delete duplicate content"
...
This reverts commit 3229e79f27da9cda8b3a28dc5f49d5d78c3ef566. We removed
the wrong section.
2023-04-11 13:59:33 -07:00
Hencter
3229e79f27
Delete duplicate content
...
In this document, 'Copy a Resource' appears twice and the content is exactly the same
2023-04-11 20:56:59 +02:00
Joe Mooring
ec4eddb98f
Fix typo
2023-04-11 09:35:51 -07:00
Joe Mooring
6509159d50
Describe snap package strict confinement ( #2050 )
...
Closes #2049
2023-04-09 12:22:25 -07:00
Kiril Isakov
d01731d53c
readme: Fix build command
2023-04-09 11:59:46 +02:00
Rodolfo Carvalho
1589bcdb7a
Remove hugo.Generator admonition ( #2048 )
2023-04-08 11:46:53 -07:00
Carlin MacKenzie
7e553d11b8
Add example
...
It isn't clear from the docs currently how to use this feature
2023-04-05 21:58:42 +02:00
Joe Mooring
48bec0335a
Replace blockquotes with admonitions where appropriate ( #2043 )
2023-04-03 17:25:58 -07:00
Joe Mooring
98226fe61e
Remove orphaned param fron admonition calls ( #2042 )
2023-04-03 16:29:03 -07:00
Joe Mooring
2a37a1d218
Clarify cast functions ( #2041 )
2023-04-03 13:57:02 -07:00