hyperlinks for source shortcode

This commit is contained in:
Casual 2024-06-14 14:01:24 +03:00
parent 31fe98d890
commit a3b9b3447a

View File

@ -4,7 +4,7 @@
<!-- v1 --> <!-- v1 -->
<ul> <ul>
{{ range split (strings.TrimLeft "\n" (strings.TrimRight "\n" .Inner)) "\n" }} {{ range split (strings.TrimLeft "\n" (strings.TrimRight "\n" .Inner)) "\n" }}
<li>{{ printf "%s\n" . }}</li> <li><a href="{{ printf "%s" . }}">{{ printf "%s\n" . }}</li>
{{ end }} {{ end }}
</ul> </ul>