300 Commits

Author SHA1 Message Date
Joe Mooring
85befbb4dc
Update plainify.md 2023-06-12 14:45:05 -07:00
Joe Mooring
56e137043c
Update comparison operators (#2104)
These became variadic with https://github.com/gohugoio/hugo/pull/6775
2023-06-11 10:36:50 -07:00
Joe Mooring
73197046fb
Change config.xxx to hugo.xxx throughout the documentation (#2090)
- Updates copy
- Updates code-toggle shortcode
2023-05-23 20:53:44 -07:00
Joe Mooring
d489d4c6f7
Add hugo.WorkingDir to docs (#2089) 2023-05-23 16:55:36 -07:00
Bjørn Erik Pedersen
8e7b8e987a Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb' 2023-05-22 16:47:07 +02:00
Joe Mooring
0e0c7b25e3 tpl/urls: Return empty string when JoinPath has zero args 2023-05-20 11:14:18 +02:00
Joe Mooring
310ce949ad tpl/urls: Add JoinPath template function
See https://pkg.go.dev/net/url#JoinPath

Closes #9694
2023-05-19 10:31:17 +02:00
Oleksandr Redko
ae435ca77d tpl: Add math.Abs
Fixes #10941.
2023-05-16 18:32:07 +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
Rodolfo Carvalho
1589bcdb7a
Remove hugo.Generator admonition (#2048) 2023-04-08 11:46:53 -07: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
Joe Mooring
1898013ef5 Fix typos 2023-04-03 11:50:31 -07:00
Joe Mooring
944e274304 Replace output shortcode calls 2023-04-03 11:50:31 -07:00
Joe Mooring
f25a79c69e Replace tip and warning shortcode calls 2023-04-03 11:50:31 -07:00
Joe Mooring
3afac22fc1 Refactor code shortcode 2023-04-03 11:50:31 -07:00
Joe Mooring
ad65d2931d Clarify seq function 2023-04-03 11:50:31 -07:00
Joe Mooring
59f8a1f48e Clarify title function 2023-04-03 11:50:31 -07:00
Joe Mooring
47535dc873 Cleanup hasPrefix hasSuffix 2023-04-03 11:50:31 -07:00
Joe Mooring
7bee3e4c14 Cleanup action delimiters 2023-04-03 11:50:31 -07:00
Joe Mooring
075c9f3fe1 Remove old todos 2023-04-03 11:50:31 -07:00
Joe Mooring
bc3ec033c8
Front matter cleanup (#2039) 2023-04-01 08:29:16 -07:00
Will Faught
928b945054
Add code fence types (#2038)
* Add code fence types

* Revert back to html
2023-03-31 21:05:20 -07:00
Will Faught
289da5658e Change findRe to findRE 2023-03-31 09:08:25 +02:00
Joe Mooring
7785fa7d9f Use code-toggle shortcode where appropriate 2023-03-27 15:05:07 -07:00
Joe Mooring
f11cabf375 Add space after and before action delimiters 2023-03-27 15:05:07 -07:00
Joe Mooring
ac333c7954 Replace erroneous use of nocopy shortcode param 2023-03-27 15:05:07 -07:00
Joe Mooring
064896c06e Use bool param when calling code-toggle 2023-03-27 15:05:07 -07:00
Will Faught
6ddeab4f80
Add missing go-html-template code fence type (#2030) 2023-03-27 10:18:04 -07:00
Joe Mooring
77f4d6c32f
Link destination cleanup (#2028)
- Fix broken links (including fragments)
- Remove ref and relref shortcodes
2023-03-25 20:48:48 -07:00
Joe Mooring
6ebb37b1b2
Clarify sort function (#2024)
Closes #1365
2023-03-24 15:23:40 -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
d54185beff
Clarify markdownify behavior (#1999)
Closes #1992
2023-03-15 11:17:21 -07:00
bapps2
f71985315d Update hasSuffix.md 2023-03-12 15:41:47 +01:00
Joe Mooring
06858c646e 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
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
Joe Mooring
6f0a5f3f0f
Update urls.Parse.md 2023-02-19 13:34:08 -08:00
Kiran Castellino
08c9ed09a9
Simplify ordinal abbreviation example... (#1970)
Simplify ordinal abbreviation example
2023-02-14 17:12:10 -08:00
Jakub Mikulas
b5aa8d598e
docs(markdownify): mention a context limitation (#1968) 2023-02-09 06:49:26 -08:00
Joe Mooring
5739a174ee
Add detail to tabWidth highlighting option 2023-01-31 18:48:44 -08:00
Joe Mooring
6cc9ebdfd8
Update uniq function example (#1963) 2023-01-30 11:50:25 -08:00
Joe Mooring
686a65cf69
Update uniq.md 2023-01-30 08:37:49 -08:00
Joe Mooring
096f794d0c
Update uniq.md 2023-01-30 08:37:20 -08:00
Christian Oliff
914ca0c387
remove version from SVG example (#1957)
version is deprecated and is not needed

REF: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/version
2023-01-29 18:23:25 -08:00
Bjørn Erik Pedersen
513b7a43aa
Update findRe.md 2023-01-18 09:36:25 +01:00
Joe Mooring
27ca65463c
Clarify .Page.Param method (#1953) 2023-01-11 13:06:41 -08:00