mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Make it possible to easily add sources
This commit is contained in:
parent
cb9b6b7a7a
commit
319c9b0da3
|
@ -21,5 +21,17 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
|
||||
|
||||
<div id="sources">
|
||||
{{ if .Params.Sources }}
|
||||
<h2>Sources</h2>
|
||||
<ul>
|
||||
{{ range $i, $e := .Params.Sources }}
|
||||
<li>{{ markdownify $e }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue