Use tab size of 4 in content-info

This commit is contained in:
ItsDrike 2022-05-23 18:35:18 +02:00
parent a054677e7d
commit 0ae71e3794
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -1,29 +1,29 @@
<div class="content-info"> <div class="content-info">
{{ if .Params.Sources }} {{ if .Params.Sources }}
<div id="sources"> <div id="sources">
<h2>Sources</h2> <h2>Sources</h2>
<ul>
{{ range $i, $e := .Params.Sources }}
<li>{{ markdownify $e }}</li>
{{ end }}
</ul>
</div>
{{ end }}
{{ if .Params.Changelog }}
<div id="changelog">
<h2> Changelog</h2>
<ul class="changelog-time">
{{ range $i, $e := .Params.Changelog }}
<li>
{{ time $i | time.Format "2006-01-02" }}:
<ul> <ul>
{{ range $c := $e }} {{ range $i, $e := .Params.Sources }}
<li>{{ markdownify $c }}</li> <li>{{ markdownify $e }}</li>
{{ end }} {{ end }}
</ul> </ul>
</li> </div>
{{ end }} {{ end }}
</ul> {{ if .Params.Changelog }}
</div> <div id="changelog">
{{ end }} <h2> Changelog</h2>
<ul>
{{ range $i, $e := .Params.Changelog }}
<li>
{{ time $i | time.Format "2006-01-02" }}:
<ul>
{{ range $c := $e }}
<li>{{ markdownify $c }}</li>
{{ end }}
</ul>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div> </div>