Make see_also use markdown links instead of plain text
(intended to be used when linking to an external source)
This commit is contained in:
parent
a455ca0ac6
commit
b4bdcf092f
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ layout: "LuaFunctions"
|
||||||
page_status:
|
page_status:
|
||||||
- stub
|
- stub
|
||||||
see_also:
|
see_also:
|
||||||
- "/builtincommands/"
|
- "[Builtin Commands](/builtincommands/)"
|
||||||
---
|
---
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<h3>See also: </h3>
|
<h3>See also: </h3>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Params.see_also }}
|
{{ range .Params.see_also }}
|
||||||
<li><a href="{{ (site.GetPage .).Permalink }}">{{ (site.GetPage . ).LinkTitle }}</a></li>
|
<li>{{ . | markdownify }}</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue