mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
Condense post list
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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 {
|
||||||
|
@@ -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 }}
|
||||||
|
Reference in New Issue
Block a user