blog/themes/shockrah.xyz/layouts/index.html

25 lines
733 B
HTML
Raw Normal View History

2021-08-14 20:46:18 +00:00
<!DOCTYPE html>
<html lang="en">
{{- partial "head.html" . -}}
<body>
<div id="layout">
2022-03-09 09:14:59 +00:00
{{- partial "header.html" . -}}
<div id="main">
<div class="content">
2021-08-17 04:34:17 +00:00
<h1>Welcome to my not-a-blog</h1>
<!-- Title | date | description is all we want from each post -->
{{ $articles := where .Site.Pages "Params.Category" "article" }}
{{ range $articles }}
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<blockquote><p>{{.Date.Format "January 2, 2006"}}</p></blockquote>
{{ if isset .Params "description" }}
<blockquote><p>{{ .Description }}</p></blockquote>
{{ end }}
{{ end }}
</div>
2021-08-14 20:46:18 +00:00
</div>
</div>
2022-03-09 09:14:59 +00:00
{{- partial "footer.html" . -}}
2021-08-14 20:46:18 +00:00
</body>
</html>