finale Anpassung
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
{{ define "title" }}Alle Artikel{{ end }}
|
||||
|
||||
{{ define "body" }}
|
||||
<ul class="post-list" style="list-style:none; padding:0; display:grid; gap:var(--gap);">
|
||||
<ul class="post-list">
|
||||
{{ range . }}
|
||||
<li>
|
||||
<a class="card" href="/post/{{ .Slug }}">
|
||||
@@ -10,7 +8,7 @@
|
||||
{{ else }}
|
||||
<img src="/static/img/placeholder.png" alt="">
|
||||
{{ end }}
|
||||
<div>
|
||||
<div class="card-content">
|
||||
<h2>{{ .Title }}</h2>
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
||||
</div>
|
||||
@@ -19,5 +17,3 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
{{ define "list" }}{{ template "layout" . }}{{ end }}
|
||||
|
Reference in New Issue
Block a user