diff options
Diffstat (limited to 'templates/header.rs.html')
-rw-r--r-- | templates/header.rs.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/header.rs.html b/templates/header.rs.html new file mode 100644 index 0000000..afcf445 --- /dev/null +++ b/templates/header.rs.html @@ -0,0 +1,16 @@ +@use chrono::{DateLike, Utc}; + +@(title: Option<&str>, styles: Option<&str>) + +<!DOCTYPE html> +<html lang="en"> + <head> + @if title.is_some() { + <title>@title.unwrap()</title> + } else { + <title>cara salter</title> + } + </head> + <body> + <div class="container"> + |