Commit Graph
14190 Commits
Author SHA1 Message Date
Andreas Deininger d6c5f940ed Resource methods: add signatures, minor improvements (#2017) 2023-03-23 20:49:38 -07:00
ginaesps d2e594cbcb Modify inner variable shortcode-template explanation (#1985) 2023-03-23 11:05:56 -07:00
Joe Mooring a54927a7f4 Update GitHub Pages starter workflow (#2023)
Upstream changes:

- https://github.com/actions/starter-workflows/pull/1984
- https://github.com/actions/starter-workflows/pull/1991
2023-03-23 09:41:27 -07:00
Joe Mooring 2964c2d44a Remove orphaned static files (#2022) 2023-03-23 09:39:31 -07:00
Andreas Deininger 97e5567cc1 Complete documentation on '.Scratch' and '.Store' (#2016) 2023-03-21 10:02:38 -07:00
Joe Mooring fa7b2e299f Fix typo 2023-03-20 14:12:54 -07:00
Andreas Deininger 05c095a0e6 resources.functions: improve validation 2023-03-20 14:53:57 +01:00
Oleksandr Redko 891b2918d2 resources: Fix typos in error message and variables 2023-03-20 14:52:59 +01:00
Joe Mooring bdce77c57b Remove literal from example menu template 2023-03-20 06:26:51 -07:00
Joe Mooring c0f23b216e Correct and improve menu documentation (#2010)
This is a substantial rewrite of pages describing:

- Menu entries
- Menu templates
- Menu localization
- Variables and methods available to templates

Closes #1594
Closes #1752
2023-03-20 06:16:24 -07:00
Joe Mooring 464368fd92 Document .Page.Store (#2011)
Closes #1668
2023-03-20 05:43:40 -07:00
Joe Mooring a3d7c4a3a9 Improve urls.Parse function (#2012)
Closes #1977
2023-03-20 05:27:43 -07:00
Joe Mooring d2cec3776d Clarify postcss config option (#2013)
Closes #2005
2023-03-20 04:04:24 -07:00
Somrat eb3003fefc Fixed typo (#2007) 2023-03-18 05:26:40 -07:00
Joe Mooring 90c82d7ea4 Clarify mermaid markdown example (#2004) 2023-03-17 08:34:53 -07:00
Sidharth Vinod 1b11dcd5c5 docs(Diagrams): Update mermaid import mechanism (#1967) 2023-03-17 08:29:24 -07:00
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