Skip to content

Commit 0fc8678

Browse files
committed
Merge commit 'e9fbadacc3f09191e2e19f112a49777eeb8df06c'
2 parents 2a7bb1c + e9fbada commit 0fc8678

File tree

33 files changed

+598
-433
lines changed

33 files changed

+598
-433
lines changed

‎docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_shame.css‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_vendor/github.com/gohugoio/gohugoioTheme/data/sponsors.toml‎

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/_markup/render-link.html‎

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/include.html‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_vendor/modules.txt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# github.com/gohugoio/gohugoioTheme v0.0.0-20241119115653-b92d27ede3e1
2-
1+
# github.com/gohugoio/gohugoioTheme v0.0.0-20250106044328-feb60697e056

‎docs/content/en/content-management/related.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ To list up to 5 related pages (which share the same _date_ or _keyword_ paramete
2121
{{< code file=layouts/partials/related.html >}}
2222
{{ $related := .Site.RegularPages.Related . | first 5 }}
2323
{{ with $related }}
24-
<h3>See Also</h3>
25-
<ul>
26-
{{ range . }}
27-
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
28-
{{ end }}
29-
</ul>
24+
<h3>See Also</h3>
25+
<ul>
26+
{{ range . }}
27+
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
28+
{{ end }}
29+
</ul>
3030
{{ end }}
3131
{{< /code >}}
3232

‎docs/content/en/functions/collections/Dictionary.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ action:
77
aliases: [dict]
88
related:
99
- functions/collections/Slice
10-
returnType: mapany
10+
returnType: map[string]any
1111
signatures: ['collections.Dictionary [VALUE...]']
1212
aliases: [/functions/dict]
1313
---

‎docs/content/en/functions/collections/Querify.md‎

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: collections.Querify
3-
description: Returns a URL query string composed of the given key-value pairs.
3+
description: Returns a URL query string composed of the given key-value pairs, encoded and sorted by key.
44
categories: []
55
keywords: []
66
action:
@@ -13,18 +13,18 @@ action:
1313
aliases: [/functions/querify]
1414
---
1515

16-
Specify the key-value pairs as individual arguments, or as a slice. The following are equivalent:
17-
16+
Specify the key-value pairs as a map, a slice, or a sequence of scalar values. For example, the following are equivalent:
1817

1918
```go-html-template
20-
{{ collections.Querify "a" 1 "b" 2 }}
19+
{{ collections.Querify (dict "a" 1 "b" 2) }}
2120
{{ collections.Querify (slice "a" 1 "b" 2) }}
21+
{{ collections.Querify "a" 1 "b" 2 }}
2222
```
2323

2424
To append a query string to a URL:
2525

2626
```go-html-template
27-
{{ $qs := collections.Querify "a" 1 "b" 2 }}
27+
{{ $qs := collections.Querify (dict "a" 1 "b" 2) }}
2828
{{ $href := printf "https://example.org?%s" $qs }}
2929
3030
<a href="{{ $href }}">Link</a>
@@ -35,3 +35,16 @@ Hugo renders this to:
3535
```html
3636
<a href="https://example.org?a=1&amp;b=2">Link</a>
3737
```
38+
39+
You can also pass in a map from your site configuration or front matter. For example:
40+
41+
{{< code-toggle file=content/example.md fm=true >}}
42+
title = 'Example'
43+
[params.query]
44+
a = 1
45+
b = 2
46+
{{< /code-toggle >}}
47+
48+
```go-html-template
49+
{{ collections.Querify .Params.query }}
50+
```

‎docs/content/en/functions/js/Babel.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ title: js.Babel
33
description: Compiles the given JavaScript resource with Babel.
44
categories: []
55
keywords: []
6+
weight: 100
67
action:
7-
aliases: [babel]
8+
aliases: [babel,/hugo-pipes/babel/]
89
related:
910
- functions/js/Build
1011
- functions/resources/Fingerprint

0 commit comments

Comments
 (0)