From 9ab533dc327b4da41e2f7101ab48d334ea7b1724 Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Fri, 5 Jul 2024 15:57:05 -0500 Subject: [PATCH] Further blog post tweaks --- src/templates/src/blog_post.html | 144 +++++++++--------- .../src/include/newsletter_signup.html | 2 +- 2 files changed, 74 insertions(+), 72 deletions(-) diff --git a/src/templates/src/blog_post.html b/src/templates/src/blog_post.html index 6f1bb6ec..4452b12e 100644 --- a/src/templates/src/blog_post.html +++ b/src/templates/src/blog_post.html @@ -22,81 +22,83 @@ {{ if not .IsProjectPage }} - {{ template "newsletter_signup.html" . }} +
+ {{ template "newsletter_signup.html" . }} +
{{ end }} -
- -
-
-

Comments

- {{ if .Project.HasBlog }} - {{ svg "add" }}Leave a Comment - {{ end }} -
-
- {{ range .Comments }} -
- -
- {{ .Content }} -
-
- {{ else }} -
- No comments yet. -
- {{ end }} -
- {{ if .Project.HasBlog }} - {{ if gt (len .Comments) 0 }} -
+
+
+
+

Comments

+ {{ if .Project.HasBlog }} {{ svg "add" }}Leave a Comment -
+ {{ end }} +
+
+ {{ range .Comments }} +
+ +
+ {{ .Content }} +
+
+ {{ else }} +
+ No comments yet. +
+ {{ end }} +
+ {{ if .Project.HasBlog }} + {{ if gt (len .Comments) 0 }} + + {{ end }} {{ end }} - {{ end }} +
{{ end }} diff --git a/src/templates/src/include/newsletter_signup.html b/src/templates/src/include/newsletter_signup.html index 7346025d..413691e2 100644 --- a/src/templates/src/include/newsletter_signup.html +++ b/src/templates/src/include/newsletter_signup.html @@ -1,4 +1,4 @@ -
+
Sign up for our email newsletter: