From b9d8e0a2a47951bb9af8ed5556cc31610ed93d31 Mon Sep 17 00:00:00 2001 From: rawleyIfowler Date: Sat, 16 Apr 2022 12:05:18 -0500 Subject: [PATCH] fixed: blog post inconsistencies, hr at end of blog post, and added br before footers --- static/index.css | 5 ++++- templates/blog_post.tmpl | 5 ----- templates/donate.tmpl | 22 ++++++++++++++++++++++ templates/footer.tmpl | 1 + templates/footer_no_banners.tmpl | 2 ++ 5 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 templates/donate.tmpl diff --git a/static/index.css b/static/index.css index dbe1fcf..08d0330 100644 --- a/static/index.css +++ b/static/index.css @@ -102,7 +102,7 @@ a:hover:after { .nav-bar { display: flex; flex-direction: row; - font-size: 1.1em; + font-size: 1.3em; margin-top: calc(12px + 1vh); margin-bottom: 1vw; } @@ -186,4 +186,7 @@ code { a::after { background-color: #bd93f9; } + code { + color: #50fa7b; + } } diff --git a/templates/blog_post.tmpl b/templates/blog_post.tmpl index 3a06c0a..40c3788 100644 --- a/templates/blog_post.tmpl +++ b/templates/blog_post.tmpl @@ -9,11 +9,6 @@ {{ template "nav.tmpl" . }} -

{{ .Title }}

{{ .Content | UnescapeHTML }}
-
-

-This site used to have comments. Unfortunatley maintaining a comment system that can resist bots, spammers, and other hooligans is quite tiresome. Until I figure out a way to efficiently handle comments, they are disabled. Sorry for the inconvenience. -

{{ template "footer_no_banners.tmpl" . }} diff --git a/templates/donate.tmpl b/templates/donate.tmpl new file mode 100644 index 0000000..b3687e9 --- /dev/null +++ b/templates/donate.tmpl @@ -0,0 +1,22 @@ + + + + + + + + rawley.xyz | blog + + + {{ template "nav.tmpl" . }} +

Donate

+

+Donations are greatly appreciated, but nowhere near necessary. +

+

+Bitcoin: +

+

+bc1qkvh6r23lv8t0tquwgzet9t07qwyk8ng96hkw7r +

+{{ template "footer_no_banners.tmpl" }} diff --git a/templates/footer.tmpl b/templates/footer.tmpl index f340b9c..c93e739 100644 --- a/templates/footer.tmpl +++ b/templates/footer.tmpl @@ -1,3 +1,4 @@ +