From 3d7cd8a7addd86b7a97a50821eb348345e0d427a Mon Sep 17 00:00:00 2001
From: Cara Salter
Date: Wed, 22 Dec 2021 01:06:39 -0500
Subject: Work for the day
Post parsing, index page, navbar, CSS, blog listings
There's something weird with the path matching that's making it miss the
post view page in favor of the list view page.
---
templates/bloglist.rs.html | 19 +++++++++++++++++++
templates/footer.rs.html | 6 +++---
templates/header.rs.html | 11 ++++++++++-
templates/index.rs.html | 43 +++++++++++++++++++++++++++++++++++++++++--
templates/post.rs.html | 10 ++++++++++
5 files changed, 83 insertions(+), 6 deletions(-)
create mode 100644 templates/bloglist.rs.html
create mode 100644 templates/post.rs.html
(limited to 'templates')
diff --git a/templates/bloglist.rs.html b/templates/bloglist.rs.html
new file mode 100644
index 0000000..98cd171
--- /dev/null
+++ b/templates/bloglist.rs.html
@@ -0,0 +1,19 @@
+@use crate::blog::post::Post;
+@use super::{header_html, footer_html};
+
+@(posts: Vec)
+
+@:header_html(Some("Posts"), None)
+
+Posts
+
+
+
+
+
+@:footer_html()
diff --git a/templates/footer.rs.html b/templates/footer.rs.html
index 5029544..1574a50 100644
--- a/templates/footer.rs.html
+++ b/templates/footer.rs.html
@@ -1,12 +1,12 @@
@()
-
-
-