michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit 648f69aa0a2ef10095e23e58760eef4f68b396cb
parent 774625fd212104296a6d14ecb852e972d7e9fa34
Author: MichaƂ M. Sapka <michal@sapka.me>
Date:   Sun, 26 Feb 2023 00:11:47 +0100

feat: all all archives page

Diffstat:
Dcontent/archive/all.md | 12------------
Acontent/archives/all.md | 13+++++++++++++
Alayouts/_default/all_posts.html | 18++++++++++++++++++
Mstatic/style.css | 5+++--
4 files changed, 34 insertions(+), 14 deletions(-)

diff --git a/content/archive/all.md b/content/archive/all.md @@ -1,12 +0,0 @@ ---- -title: "All" -type: "special" -category: -abstract: all archives for this site -date: 2009-01-08T13:58:33+01:00 -year: -draft: false -tags: [] ---- -a - diff --git a/content/archives/all.md b/content/archives/all.md @@ -0,0 +1,13 @@ +--- +title: "All" +type: "special" +layout: all_posts +category: +abstract: all archives for this site +date: 2009-01-08T13:58:33+01:00 +year: +draft: false +tags: [] +--- +a + diff --git a/layouts/_default/all_posts.html b/layouts/_default/all_posts.html @@ -0,0 +1,18 @@ +{{ define "main" }} +<article class="list taxonomy"> + <h2> + All posts on this blog + </h2> + <ul> + {{ range where site.RegularPages "Type" "!=" "special"}} + <li> + <a href="{{ .Page.Permalink }}"> + <time>{{ .PublishDate.Format "2006-01-02" }}</time> + &#183; + {{ .Page.Title }} + </a> + </li> + {{ end }} + </ul> +</article> +{{ end }} diff --git a/static/style.css b/static/style.css @@ -140,13 +140,14 @@ article { margin-bottom: 20px; padding: 25px; - text-align: justify; background-color: ##fcfcfc; border-style: solid; border-color: #f3f1f1; border-radius: 3px; box-shadow: -1px 8px 35px -18px rgba(0,0,0,0.42); - +} +article p { + text-align: justify; } article a { text-decoration: underline;