diff options
-rw-r--r-- | content/archives/all.md (renamed from content/archive/all.md) | 1 | ||||
-rw-r--r-- | layouts/_default/all_posts.html | 18 | ||||
-rw-r--r-- | static/style.css | 5 |
3 files changed, 22 insertions, 2 deletions
diff --git a/content/archive/all.md b/content/archives/all.md index 1c157e1..8065dae 100644 --- a/content/archive/all.md +++ b/content/archives/all.md @@ -1,6 +1,7 @@ --- title: "All" type: "special" +layout: all_posts category: abstract: all archives for this site date: 2009-01-08T13:58:33+01:00 diff --git a/layouts/_default/all_posts.html b/layouts/_default/all_posts.html new file mode 100644 index 0000000..51c9d65 --- /dev/null +++ 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> + · + {{ .Page.Title }} + </a> + </li> + {{ end }} + </ul> +</article> +{{ end }} diff --git a/static/style.css b/static/style.css index f382ab7..c7a664e 100644 --- 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; |