From c4d7f8f50d53057005d6bb28ac487f69ea45bd5e Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sun, 19 Dec 2021 12:48:36 -0500 Subject: Add blog post parsing and templates templates WIP, not building properly --- templates/header.rs.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/header.rs.html (limited to 'templates/header.rs.html') diff --git a/templates/header.rs.html b/templates/header.rs.html new file mode 100644 index 0000000..afcf445 --- /dev/null +++ b/templates/header.rs.html @@ -0,0 +1,16 @@ +@use chrono::{DateLike, Utc}; + +@(title: Option<&str>, styles: Option<&str>) + + + + + @if title.is_some() { + @title.unwrap() + } else { + cara salter + } + + +
+ -- cgit v1.2.3