From e7cf09322988983b6a0f05116af92e538dbd391c Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Thu, 7 Apr 2022 11:30:57 -0400 Subject: templates: Initial h-card and h-entry support --- Cargo.toml | 2 +- templates/index.rs.html | 7 ++++--- templates/post.rs.html | 17 +++++++++++------ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5c15097..b628da5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "site" -version = "0.1.0" +version = "0.2.0" edition = "2021" build = "src/build.rs" diff --git a/templates/index.rs.html b/templates/index.rs.html index 31ed504..0b8ddc0 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -5,15 +5,15 @@ @:header_html(None, None) - -

Cara Salter

+
+

Cara Salter

About me

I am a:
    -
  • Trans woman (she/her)
  • +
  • Trans
    woman
    (she/her)
  • Eagle Scout
  • Software Engineer
@@ -69,4 +69,5 @@
+
@:footer_html() diff --git a/templates/post.rs.html b/templates/post.rs.html index 321dbec..2823b3b 100644 --- a/templates/post.rs.html +++ b/templates/post.rs.html @@ -5,12 +5,17 @@ @:header_html(Some(&post.front_matter.title.clone()), None) -

@post.front_matter.title.clone()

- - Posted @post.clone().date.format("%B %d %Y") by - @post.clone().author - +
+

@post.front_matter.title.clone()

+ + Posted + -@body + @body +
@:footer_html() -- cgit v1.2.3