mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-17 10:14:20 +00:00
Remove superfluous shortcode param
This commit is contained in:
1 parent
2a0544757c
commit
45ec53fe00
27 files changed
+49
-49
No files matched your search
@@ -15,7 +15,7 @@ Based on front matter, Hugo uses several factors to identify content related to
|
||||
|
||||
The argument passed to the `Related` method may be a `Page` or an options map. For example, to pass the current page:
|
||||
|
||||
{{< code file="layouts/_default/single.html" lang=go-html-template copy=false >}}
|
||||
{{< code file="layouts/_default/single.html" lang=go-html-template >}}
|
||||
{{ with .Site.RegularPages.Related . | first 5 }}
|
||||
<p>Related pages:</p>
|
||||
<ul>
|
||||
@@ -28,7 +28,7 @@ The argument passed to the `Related` method may be a `Page` or an options map. F
|
||||
|
||||
To pass an options map:
|
||||
|
||||
{{< code file="layouts/_default/single.html" lang=go-html-template copy=false >}}
|
||||
{{< code file="layouts/_default/single.html" lang=go-html-template >}}
|
||||
{{ $opts := dict
|
||||
"document" .
|
||||
"indices" (slice "tags" "keywords")
|
||||
|
||||
Reference in new issue
Block a user