From 84e2201641ea64bb11e7ea863fc928e5e1588c54 Mon Sep 17 00:00:00 2001 From: Dorian Wood Date: Sat, 1 May 2021 15:08:36 -0400 Subject: [PATCH] Change an ID and class to be more semantic --- layouts/_default/list.html | 4 ++-- static/css/style.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c98ccdd..8a076b1 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,10 +2,10 @@ {{ .Title }} {{ end }} {{ define "main" }} -
+
{{- range first 10 .Data.Pages }} -
+

{{ .Title }}

{{ .Plain | truncate 500 | htmlUnescape | safeHTML }}
diff --git a/static/css/style.css b/static/css/style.css index b96c408..e313bd4 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -132,13 +132,13 @@ h4 { border-color: var(--base00); } -#projects { +#list { display: flex; flex-wrap: wrap; - justify-content: space-around; + justify-content: space-evenly; } -.project-tile { +.list-item{ max-width: 25em; margin: 1em; padding: 1em;