Andreas Deininger
4aceb68551
Fingerprinting, asset management: minor improvements ( #2003 )
...
* Fingerprinting, asset management: minor improvements
* Fixing anchor links
2023-03-17 08:18:11 -07:00
Andreas Deininger
bcbc519bb9
resources.GetRemote: minor improvement ( #2002 )
2023-03-16 10:41:30 -07:00
Joe Mooring
d54185beff
Clarify markdownify behavior ( #1999 )
...
Closes #1992
2023-03-15 11:17:21 -07:00
Joe Mooring
afb582a800
Clarify usage of slug in front matter ( #1998 )
...
Closes #1997
2023-03-15 09:16:53 -07:00
Bjørn Erik Pedersen
b0b1b76dc9
markup/goldmark: Fail on invalid Markdown attributes
2023-03-15 08:54:34 +01:00
Bjørn Erik Pedersen
0fbab7cbc5
commands: Fix data race in test
...
Note that this is a test fix only.
2023-03-14 12:18:42 +01:00
septs
f5eddf89bf
tpl/math: Return error if less than 2 input numbers
...
Fixes #10827
2023-03-14 09:28:38 +01:00
bapps2
f71985315d
Update hasSuffix.md
2023-03-12 15:41:47 +01:00
Bjørn Erik Pedersen
29ad622a3c
netlify: Hugo 0.111.3
2023-03-12 13:08:58 +01:00
Bjørn Erik Pedersen
adf223eccd
Merge branch 'tempv0.111.3'
2023-03-12 13:07:48 +01:00
hugoreleaser
0e8ab20a84
releaser: Prepare repository for 0.112.0-DEV
...
[ci skip]
2023-03-12 11:51:49 +00:00
hugoreleaser
5d4eb5154e
releaser: Bump versions for release of 0.111.3
...
[ci skip]
2023-03-12 11:40:50 +00:00
Niklas Fasching
1c841ec914
deps: Update go-org to v1.6.6
...
among other things, fixes a race condition in html writer and bug preventing
explicit line breaks immediately following emphasis
2023-03-12 12:38:12 +01:00
Bjørn Erik Pedersen
e7148f335f
Fix "unknown shortcode token" when calling shortcode within fenced code block
...
Fixes #10819
2023-03-12 11:39:38 +01:00
Andreas Deininger
d55af2abf0
Run gofmt -s on source files
2023-03-12 10:32:29 +01:00
Joe Mooring
06858c646e
docs: Improve examples of variadic math functions
2023-03-12 10:32:01 +01:00
Joe Mooring
b6f44aaf1a
docs: Improve examples of variadic math functions
2023-03-12 10:32:01 +01:00
septs
8b656994e5
tpl/math: Allow multi numbers in add, sub, mul, div, min and max
2023-03-11 11:21:08 +01:00
septs
84201e8d5d
tpl/math: Allow multi numbers in add, sub, mul, div, min and max
2023-03-11 11:21:08 +01:00
Andreas Deininger
04b9811643
readme: Update dependency list
2023-03-11 10:15:16 +01:00
Andreas Deininger
9818724b5b
Improve error message for unclosed shortcode with inner content
2023-03-10 18:41:17 +01:00
Bjørn Erik Pedersen
34a86e13f6
Don't fail when calling Paginate with an empty pages.PagesGroup
...
Fixes #10802
2023-03-10 16:34:17 +01:00
Oleksandr Redko
0f01bd4637
server: Replace golang.org/x/net/context with context
2023-03-08 10:19:25 +01:00
Jonathan Fisher
2a38c40464
tpl: Add hasSuffix alias
...
strings.HasPrefix already has an alias of hasPrefix
but strings.HasSuffix has no such alias.
This PR adds a hasSuffix alias to the tpl function with corresponding
function documentation.
It also adds a Minor update to the hasPrefix function documentation
re: keywords and relatedfuncs.
Completes https://github.com/gohugoio/hugo/issues/10474
2023-03-08 10:18:34 +01:00
Jonathan Fisher
d171d1543d
tpl: Add hasSuffix alias
...
strings.HasPrefix already has an alias of hasPrefix
but strings.HasSuffix has no such alias.
This PR adds a hasSuffix alias to the tpl function with corresponding
function documentation.
It also adds a Minor update to the hasPrefix function documentation
re: keywords and relatedfuncs.
Completes https://github.com/gohugoio/hugo/issues/10474
2023-03-08 10:18:34 +01:00
Oleksandr Redko
02ab77da3e
watcher: use time.NewTicker to prevent leaks
...
Replace time.Tick with time.NewTicker.
2023-03-08 10:16:34 +01:00
davidejones
4e0b98d546
switch transfers to workers
2023-03-07 15:38:26 +01:00
davidejones
873be9f90a
ensure we default to 10 correctly
2023-03-07 15:38:26 +01:00
davidejones
11651ac0f8
customize parallel transfer count
2023-03-07 15:38:26 +01:00
davidejones
bebb2b8d0a
switch transfers to workers
2023-03-07 15:38:26 +01:00
davidejones
e6f029bdee
customize parallel transfer count
2023-03-07 15:38:26 +01:00
johannesengl
bdbfacb868
metadecoders: Add support for native org dates in frontmatter
...
PR #7433 added support for Org timestamps for the DATE header. This PR widens the support with additional front matter headers LASTMOD, PUBLISHDATE and EXPIRYDATE.
Fixes #8536
2023-03-06 20:37:31 +01:00
Joe Mooring
142f5da818
Update GitHub hosting instructions ( #1991 )
...
Closes #1990
2023-03-06 07:50:04 -08:00
Bjørn Erik Pedersen
ad7901d2f3
netlify: Hugo 0.111.2
2023-03-05 13:45:00 +01:00
hugoreleaser
32ea40aa82
releaser: Prepare repository for 0.112.0-DEV
...
[ci skip]
2023-03-05 12:43:18 +00:00
hugoreleaser
4164f8fef9
releaser: Bump versions for release of 0.111.2
...
[ci skip]
2023-03-05 12:32:20 +00:00
Bjørn Erik Pedersen
b83050cb40
Fix .Fragments when called cross sites on uninitialized output format
...
Fixes #10794
2023-03-05 12:51:57 +01:00
Bjørn Erik Pedersen
df5608f8a0
Allow page.TableOfContents on self in shortcode
...
Fixes #10791
2023-03-05 12:51:57 +01:00
Bjørn Erik Pedersen
f56ce01ae1
tpl/partial: Consolidate GoDoc
2023-03-04 22:04:01 +01:00
Bjørn Erik Pedersen
3bbeb5688c
Fix "context canceled" with partial
...
Make sure the context used for timeouts isn't created based on the incoming
context, as we have cases where this can cancel the context prematurely.
Fixes #10789
2023-03-04 21:29:05 +01:00
Oleksandr Redko
184a67ac47
cache: Fix --gc failure on Windows
...
Fixes "Error: failed to prune cache" on Windows and removes
work around from ec1c97e7e9 .
Follows #10781 .
2023-03-04 18:47:43 +01:00
Bjørn Erik Pedersen
6c798eba60
Page context handling in i18n
...
This is a workaround. We need to improve on this, but not today.
Fixes #10782
2023-03-04 17:19:14 +01:00
Bjørn Erik Pedersen
ec1c97e7e9
Work around --gc failure on Windows <= 10
...
This applies two related fixes/improvements:
* The --gc now keeps empty `_resources/_gen/images` etc folders, even if empty. This should have been the behaviour
from the start.
* Also, if removal of an empty dir on Windows fails with the "used by another process" error, just ignore it for now.
Fixes #10781
2023-03-04 13:40:55 +01:00
Bjørn Erik Pedersen
f10009e7f1
Update to Go 1.20.1
...
Fixes #10785
2023-03-04 10:36:59 +01:00
Joe Mooring
a950950f1b
snap: Fix dart-sass-embedded installation
...
Closes #10783
2023-03-04 10:15:03 +01:00
Jacob Lamont
0651a76e03
add headings to distinguish render hook context params
2023-03-03 18:30:49 +01:00
Oleksandr Redko
36ce3a4a9d
Correct typos in Go comments
2023-03-02 16:32:32 +01:00
Bjørn Erik Pedersen
d96d75be48
netlify: Hugo 0.111.1
2023-03-02 11:33:28 +01:00
hugoreleaser
17e60b77e1
releaser: Prepare repository for 0.112.0-DEV
...
[ci skip]
2023-03-02 10:19:25 +00:00
hugoreleaser
39a4a3cf67
releaser: Bump versions for release of 0.111.1
...
[ci skip]
2023-03-02 10:08:26 +00:00