Condense post list

This commit is contained in:
Dave Gallant
2024-04-07 22:10:00 -04:00
parent 8d898eb69a
commit 3bf6014537
3 changed files with 8 additions and 5 deletions

View File

@@ -16,10 +16,10 @@
--bg3: #665c54;
--bg4: #32344a;
--fg: var(--fg1);
--fg0: #89DDFF;
--fg0: #a1a1a1;
--fg1: #dddfeb;
--fg2: #7da6ff;
--fg3: #9ece6a;
--fg3: #6a6c67;
--fg4: #32344a;
--gray1: var(--fg4);
--gray2: #444b6a;

View File

@@ -1,7 +1,7 @@
.post,
.content-section {
border-bottom: 2px dotted var(--bg1);
padding: 2rem 0;
padding: 0rem 0;
}
.post {

View File

@@ -1,8 +1,11 @@
{{ range $pageIndex, $page := .Pages }}
<article class="post">
<div class="post-header">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
{{ partial "post-meta.html" (dict "page" . "pageIndex" $pageIndex) }}
<div class="post-meta">
{{- with $page.Date -}}
<span>{{ .Format "2006-01-02" }}</span>
{{- end -}}: <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</div>
</div>
</article>
{{ end }}