From 98e4714f98f58a04dedc102672a3e47b97904b7f Mon Sep 17 00:00:00 2001 From: Pagwin Date: Fri, 2 Aug 2024 01:21:55 -0400 Subject: [PATCH] lots of deleting and a bit of theming --- posts/hello.yaml | 2 +- static/css/default.css | 13 +++++++++++-- templates/default.html | 6 ++---- templates/home.html | 2 -- templates/post.html | 9 ++------- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/posts/hello.yaml b/posts/hello.yaml index e409d0f..b680872 100644 --- a/posts/hello.yaml +++ b/posts/hello.yaml @@ -1,4 +1,4 @@ title: hello author: pagwin -tags: [] +tags: [hello, this is a list] date: 2024-8-1 diff --git a/static/css/default.css b/static/css/default.css index 47409ca..90677b3 100644 --- a/static/css/default.css +++ b/static/css/default.css @@ -1,4 +1,13 @@ -body .dark { +/*https://color.adobe.com/create/color-contrast-analyzer*/ +/*dark theme*/ +/* TODO: make links stand out more*/ +body{ background: #000; - color: #49b; + color: #5ac; } +/*light theme*/ +/* +body { + background: #FA8072; + color: #000; +}*/ diff --git a/templates/default.html b/templates/default.html index 735135a..86c6520 100644 --- a/templates/default.html +++ b/templates/default.html @@ -10,9 +10,8 @@
@@ -20,7 +19,6 @@ {{{content}}}
diff --git a/templates/home.html b/templates/home.html index 68a219c..608d74b 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,7 +1,5 @@

Welcome

-

Welcome to my blog!

My recent posts here for your reading pleasure:

Posts

{{> templates/post-list.html }} -

You can find all posts in the archives. diff --git a/templates/post.html b/templates/post.html index e59221b..919a094 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,15 +1,10 @@

- Posted on {{{date}}} - {{#author}} - by {{{author}}} - {{/author}} + {{{date}}}
Tags: -
{{{content}}}