diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html index 92dfab7..162782a 100644 --- a/templates/blogpost.rs.html +++ b/templates/blogpost.rs.html @@ -68,10 +68,14 @@
@:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {}. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the Patreon. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri())))
+} else { + } A @post.read_time_estimate_minutes minute read. +
+ @body
diff --git a/templates/talkpost.rs.html b/templates/talkpost.rs.html index bd77577..a9d6581 100644 --- a/templates/talkpost.rs.html +++ b/templates/talkpost.rs.html @@ -47,6 +47,16 @@ @} +@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() { +
+ @:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {}. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the Patreon. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri()))) +
+} else { + +} + +
+ @body Link to the slides