mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-05 08:13:40 +00:00
Condense post list
This commit is contained in:
@@ -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;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
.post,
|
||||
.content-section {
|
||||
border-bottom: 2px dotted var(--bg1);
|
||||
padding: 2rem 0;
|
||||
padding: 0rem 0;
|
||||
}
|
||||
|
||||
.post {
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user