mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +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
@@ -11,7 +11,7 @@ action:
|
||||
|
||||
With this content:
|
||||
|
||||
{{< code-toggle file=content/books/les-miserables.md copy=false fm=true >}}
|
||||
{{< code-toggle file=content/books/les-miserables.md fm=true >}}
|
||||
title = 'Les Misérables'
|
||||
author = 'Victor Hugo'
|
||||
published = 1862
|
||||
@@ -26,7 +26,7 @@ Calling this shortcode:
|
||||
|
||||
We can access the front matter values using the `Page` method:
|
||||
|
||||
{{< code file="layouts/shortcodes/book-details.html" lang=go-html-template copy=false >}}
|
||||
{{< code file="layouts/shortcodes/book-details.html" lang=go-html-template >}}
|
||||
<ul>
|
||||
<li>Title: {{ .Page.Title }}</li>
|
||||
<li>Author: {{ .Page.Params.author }}</li>
|
||||
|
||||
Reference in new issue
Block a user