mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 12:50:40 +00:00
replace missing markdownify by RenderString
This commit is contained in:
parent
50a56fcd75
commit
81988b477a
@ -32,7 +32,7 @@ Attributes:
|
|||||||
|
|
||||||
### Include \*.md file
|
### Include \*.md file
|
||||||
|
|
||||||
Included markdown files will be rendered using the `markdownify` filter.
|
Included markdown files will be rendered using the `RenderString` [function](https://gohugo.io/functions/renderstring/).
|
||||||
|
|
||||||
{{< hint warning >}}
|
{{< hint warning >}}
|
||||||
**Location of markdown files**\
|
**Location of markdown files**\
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
{{ end }}/>
|
{{ end }}/>
|
||||||
</a>
|
</a>
|
||||||
{{ with $caption }}
|
{{ with $caption }}
|
||||||
<figcaption>{{ . }}{{ with $source.Params.credits }} ({{ . | markdownify }}){{ end }}</figcaption>
|
<figcaption>{{ . }}{{ with $source.Params.credits }} ({{ . | $.Page.RenderString }}){{ end }}</figcaption>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user