Add feed form

This commit is contained in:
2023-07-08 01:05:49 -04:00
parent f69d0f2752
commit 478e72d8f0
12 changed files with 272 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ pub async fn get(
Ok(layout.render(html! {
article {
@let title = entry.title.unwrap_or_else(|| "Untitled".to_string());
h1 { a href=(entry.url) { (title) } }
h2 { a href=(entry.url) { (title) } }
@let published_at = entry.published_at.to_rfc3339_opts(chrono::SecondsFormat::Millis, true);
span class="published" {
strong { "Published: " }