1
0
web/layouts/card/single.html

25 lines
415 B
HTML
Raw Permalink Normal View History

2024-04-21 07:44:03 +00:00
{{ partial "head-blog.html" . }}
2024-04-05 08:44:02 +00:00
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
<article>
<div class="content">
2024-04-21 07:44:03 +00:00
<h1>{{ .Title }}</h1>
{{ .Content }}
2024-04-05 08:44:02 +00:00
{{ with .Resources.Match "*.webp" }}
<div class="top-card">
<p>
2024-04-07 17:50:00 +00:00
{{ range first 15 . }}
2024-04-05 08:44:02 +00:00
<img src="{{ .RelPermalink }}">
{{ end }}
</p>
</div>
{{ end }}
</div>
</article>
</div>
{{ partial "footer.html" . }}
</body>
</html>