From 0dcae858838d2a4bdd2324b31e6f771de6d68294 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 19 Sep 2019 10:35:27 -0500 Subject: Add single page blog posts --- src/css/styles.css | 5 ++++ src/html/blog-single.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++ src/html/blog.html | 27 +++++++++++++++++---- src/html/bread.html | 5 +++- src/html/email.html | 5 +++- src/html/tags.html | 4 ++-- src/server.js | 2 +- 7 files changed, 99 insertions(+), 10 deletions(-) create mode 100644 src/html/blog-single.html (limited to 'src') diff --git a/src/css/styles.css b/src/css/styles.css index f0f90d2..07d674e 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -204,3 +204,8 @@ textarea { .feed h1 { font-size: 24pt; } + +a.navigation:visited, a.navigation:link { + color: var(--accent); + text-decoration: none; +} \ No newline at end of file diff --git a/src/html/blog-single.html b/src/html/blog-single.html new file mode 100644 index 0000000..75cbf92 --- /dev/null +++ b/src/html/blog-single.html @@ -0,0 +1,61 @@ + + + + + Mark's Kitchen - Blog + + + + + + + + + + +
+

+ < + < + Blog +

+
+
+

+
+ + + +
+

+ {{ post.createdAt.substring(0,10) }} + + {{tag}} + +

+
+
+
+ + + \ No newline at end of file diff --git a/src/html/blog.html b/src/html/blog.html index 4a35319..c034711 100644 --- a/src/html/blog.html +++ b/src/html/blog.html @@ -6,12 +6,11 @@ -
-

Blog

-
+

+ < + Blog +

+
+
+

+
+ + + +
+

+ {{ post.createdAt.substring(0,10) }} + + {{tag}} + +

+
+
diff --git a/src/html/bread.html b/src/html/bread.html index 0658e11..aa52655 100644 --- a/src/html/bread.html +++ b/src/html/bread.html @@ -27,7 +27,10 @@
-

Bread

+

+ < + Bread +

Some highlights (and lowlights) of breadmaking
diff --git a/src/html/email.html b/src/html/email.html index dfd9b51..13f34d5 100644 --- a/src/html/email.html +++ b/src/html/email.html @@ -22,7 +22,10 @@
-

Email

+

+ < + Email +

Sign up to receive Mark's email newsletter

Success, thank you!

diff --git a/src/html/tags.html b/src/html/tags.html index 9c6174d..7f2cb16 100644 --- a/src/html/tags.html +++ b/src/html/tags.html @@ -8,7 +8,7 @@ - +