diff options
author | Cara Salter <cara@devcara.com> | 2021-12-22 11:48:59 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2021-12-22 11:48:59 -0500 |
commit | 7b455b6152c52059eec584b50d43522de4366a14 (patch) | |
tree | f847044912a0f4494e42970af80dffbe7061b013 /templates | |
parent | 3d7cd8a7addd86b7a97a50821eb348345e0d427a (diff) | |
download | site-7b455b6152c52059eec584b50d43522de4366a14.tar.gz site-7b455b6152c52059eec584b50d43522de4366a14.zip |
code: Fix routing and fill out post templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/post.rs.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/post.rs.html b/templates/post.rs.html index c638bfb..321dbec 100644 --- a/templates/post.rs.html +++ b/templates/post.rs.html @@ -3,7 +3,13 @@ @(post: Post, body: impl ToHtml) -@:header_html(Some(&post.front_matter.title.clone()), None)) +@:header_html(Some(&post.front_matter.title.clone()), None) + +<h1>@post.front_matter.title.clone()</h1> +<span> + <small>Posted @post.clone().date.format("%B %d %Y") by + @post.clone().author</small> +</span> @body |