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; --bg3: #665c54;
--bg4: #32344a; --bg4: #32344a;
--fg: var(--fg1); --fg: var(--fg1);
--fg0: #89DDFF; --fg0: #a1a1a1;
--fg1: #dddfeb; --fg1: #dddfeb;
--fg2: #7da6ff; --fg2: #7da6ff;
--fg3: #9ece6a; --fg3: #6a6c67;
--fg4: #32344a; --fg4: #32344a;
--gray1: var(--fg4); --gray1: var(--fg4);
--gray2: #444b6a; --gray2: #444b6a;

View File

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

View File

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