Add basic user auth

This commit is contained in:
2023-09-25 01:35:26 -04:00
parent ec394fc170
commit 306059c355
30 changed files with 1433 additions and 663 deletions

View File

@@ -27,7 +27,9 @@ pub async fn get(
let content = fs::read_to_string(content_path).unwrap_or_else(|_| "No content".to_string());
Ok(layout.with_subtitle(&title).render(html! {
article {
h2 class="title" { a href=(entry.url) { (title) } }
header {
h2 class="title" { a href=(entry.url) { (title) } }
}
div {
span class="published" {
strong { "Published: " }