diff --git a/layouts/index.html b/layouts/index.html index b5b27ad..aa901fc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,5 @@ {{ define "main" }} -{{ partial "metadata.html" . }} -
@@ -10,7 +8,9 @@

{{ .LinkTitle }}

{{ partial "metadata.html" . }} -

{{ .Summary }}

+
+ {{ .Summary }} +
{{ end }} diff --git a/static/css/homepage.css b/static/css/homepage.css index 13fb174..50dbf7d 100644 --- a/static/css/homepage.css +++ b/static/css/homepage.css @@ -1,12 +1,14 @@ html, html[data-theme="light"] { --background-color: snow; --color: #000; + --scolor: #387f7e; } html[data-theme="dark"] { --background-color: #1f272d; --color: #fff; --tcolor: pink; + --scolor: #fff; } @media (prefers-color-scheme: dark) { html { @@ -42,6 +44,7 @@ html[data-theme="dark"] { .summary { padding-left: 1.5rem; margin-top: 0.1rem; + color: var(--scolor); } .metadata { padding-left: 0.5rem;