diff options
| author | Xe Iaso <me@christine.website> | 2022-07-10 20:29:07 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-07-10 20:29:07 +0000 |
| commit | 55bf7e4cb403566d7172ef69b8f2f7393ac8627d (patch) | |
| tree | 7b3682e19c97672245cbb97e6c1d1069e812fd8b /templates/notesindex.rs.html | |
| parent | b32f5a25afb7b9901476164663c1b7099dcec7a8 (diff) | |
| download | xesite-55bf7e4cb403566d7172ef69b8f2f7393ac8627d.tar.xz xesite-55bf7e4cb403566d7172ef69b8f2f7393ac8627d.zip | |
basic notes support
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'templates/notesindex.rs.html')
| -rw-r--r-- | templates/notesindex.rs.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/notesindex.rs.html b/templates/notesindex.rs.html new file mode 100644 index 0000000..c1fa08a --- /dev/null +++ b/templates/notesindex.rs.html @@ -0,0 +1,14 @@ +@use crate::handlers::notes::Note; +@use super::{header_html, footer_html}; + +@(notes: Vec<Note>) + +@:header_html(Some("Notes"), None) + +<h1>Notes</h1> + +@for note in notes { + @Html(note.to_html().0) +} + +@:footer_html() |
