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:
magmaus3 2023-08-11 14:35:16 +02:00
parent a455ca0ac6
commit b4bdcf092f
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ layout: "LuaFunctions"
page_status: page_status:
- stub - stub
see_also: see_also:
- "/builtincommands/" - "[Builtin Commands](/builtincommands/)"
--- ---
## Usage ## Usage

View file

@ -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>