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
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
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
davidejones
4e0b98d546
switch transfers to workers
2023-03-07 15:38:26 +01:00
davidejones
11651ac0f8
customize parallel transfer count
2023-03-07 15:38:26 +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
Jacob Lamont
0651a76e03
add headings to distinguish render hook context params
2023-03-03 18:30:49 +01:00
Bjørn Erik Pedersen
d96d75be48
netlify: Hugo 0.111.1
2023-03-02 11:33:28 +01:00
Bjørn Erik Pedersen
226cb9e3a8
Add a paragraph about the new page template function
2023-03-02 11:02:41 +01:00
Bjørn Erik Pedersen
4c0157a49a
Add .Fragments docs
2023-03-02 10:35:54 +01:00
Bjørn Erik Pedersen
6c78c06795
netlify: Bump to Hugo 0.111.0
v0.111.0
2023-03-01 22:18:28 +01:00
Bjørn Erik Pedersen
7b11c24cfd
Merge branch 'feat/related-fragments'
2023-03-01 22:17:43 +01:00
Bjørn Erik Pedersen
615d18ef8d
Add Related fragments config
2023-03-01 16:45:13 +01:00
Bjørn Erik Pedersen
a36449b0cc
cods: Regen docs helper
2023-03-01 16:35:23 +01:00
Bjørn Erik Pedersen
0272fa45f2
Merge commit '336622d5e7afd9334cd2de7150d4f16bdf7c24f9'
2023-03-01 11:56:07 +01:00
Nicolas Lelong
6e32d05910
Update quick-start.md ( #1984 )
...
Clarify that Windows users are expected to use PowerShell or a Linux shell
2023-02-27 14:51:36 -08:00
JB
eddd25ff46
Mermaid: reflect latest docs specifications
...
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
2023-02-27 11:35:33 +01:00
JB
b2a23b6f5d
Mermaid: switch to ESM import
2023-02-27 11:35:33 +01:00
Bjørn Erik Pedersen
43d83c1312
Update index.md
2023-02-25 16:28:21 +01:00
Bjørn Erik Pedersen
c5a962b93c
related: Add config option cardinalityThreshold
...
Fixes #10744
2023-02-23 17:06:22 +01:00
Bjørn Erik Pedersen
f916773779
docs: Another fix related docs example
2023-02-23 11:09:55 +01:00
Bjørn Erik Pedersen
17aa939ea7
docs: Fix related docs example
2023-02-23 10:54:30 +01:00
Bjørn Erik Pedersen
12c4491506
Merge commit 'cf591b7c0c598d34896709db6d28598da37e3ff6'
2023-02-23 07:52:04 +01:00
Bjørn Erik Pedersen
cb998b3d6f
Add page fragments support to Related
...
The main topic of this commit is that you can now index fragments (content heading identifiers) when calling `.Related`.
You can do this by:
* Configure one or more indices with type `fragments`
* The name of those index configurations maps to an (optional) front matter slice with fragment references. This allows you to link
page<->fragment and page<->page.
* This also will index all the fragments (heading identifiers) of the pages.
It's also possible to use type `fragments` indices in shortcode, e.g.:
```
{{ $related := site.RegularPages.Related .Page }}
```
But, and this is important, you need to include the shortcode using the `{{<` delimiter. Not doing so will create infinite loops and timeouts.
This commit also:
* Adds two new methods to Page: Fragments (can also be used to build ToC) and HeadingsFiltered (this is only used in Related Content with
index type `fragments` and `enableFilter` set to true.
* Consolidates all `.Related*` methods into one, which takes either a `Page` or an options map as its only argument.
* Add `context.Context` to all of the content related Page API. Turns out it wasn't strictly needed for this particular feature, but it will
soon become usefil, e.g. in #9339 .
Closes #10711
Updates #9339
Updates #10725
2023-02-21 17:56:41 +01:00
Joe Mooring
36dd5483fb
Clarify placement of 404 template
2023-02-20 17:57:24 -08:00
Joe Mooring
6f0a5f3f0f
Update urls.Parse.md
2023-02-19 13:34:08 -08:00
Joris Roovers
c8070e5787
Remove reference to Internet Explorer conditional comments ( #1975 )
...
The Internet Explorer conditional comments example was removed in 8e3f9ca64b48caffe39eba9469e9fc0daa57ca9e
2023-02-19 13:33:12 -08:00
Joe Mooring
3e3458f09d
Describe default source map behavior for js.build ( #1974 )
...
Closes #1973
2023-02-18 15:59:07 -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
Max Efremov
596af47f58
Fixing typo in configuration.md doc ( #1966 )
...
Co-authored-by: Joe Mooring <joe@mooring.com>
2023-02-07 20:46:31 -08:00
Olivér Falvai
c47cadfcbd
Fix hardWraps
config spelling ( #1964 )
2023-02-03 13:03:47 -08:00
Joe Mooring
5739a174ee
Add detail to tabWidth highlighting option
2023-01-31 18:48:44 -08:00
Paolo Mainardi
73a4bcd1f4
doc: Add hugo-lyra search engine ( #1959 )
...
* doc: Add hugo-lyra search engine
* Fix capitalization
2023-01-31 14:11:08 -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
58347d41f3
Update theme
2023-01-24 14:58:17 +01:00
aaron
7c806371f6
Fix 404 error for CloudCannon community learn docs ( #1955 )
2023-01-21 10:02:30 -08:00
Bjørn Erik Pedersen
58e42b03dc
Update theme
2023-01-20 19:51:51 +01:00
Bjørn Erik Pedersen
fd0385ee20
Update theme
2023-01-19 11:36:03 +01:00
Bjørn Erik Pedersen
513b7a43aa
Update findRe.md
2023-01-18 09:36:25 +01:00
Bjørn Erik Pedersen
4d39137ef9
Update configuration.md
2023-01-18 09:29:46 +01:00