mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Switch from markdownify to Page.Renderstring
Just for consistency
This commit is contained in:
parent
867072103d
commit
d1fd05e56e
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@
|
|||
<span id="{{ $id }}" tabindex="-1">
|
||||
<strong itemprop="name"> <span itemprop="codeSampleType">Code snippet</span> {{ $codeIndex }}</strong>{{with .Get "lang"}} (<span itemprop="programmingLanguage">{{ . }}</span>){{ end -}}
|
||||
</span>:
|
||||
{{ .Inner | markdownify | safeHTML }}
|
||||
{{ .Inner | .Page.RenderString | safeHTML }}
|
||||
</figcaption>
|
||||
{{- .Page.Scratch.Set "codeIndex" (add 1 $codeIndex) -}}
|
||||
|
|
Loading…
Reference in a new issue