diff options
author | Cara Salter <cara@devcara.com> | 2021-12-22 01:06:39 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2021-12-22 01:06:39 -0500 |
commit | 3d7cd8a7addd86b7a97a50821eb348345e0d427a (patch) | |
tree | 875aecda597c8161359005c33a147097fa36c807 /templates/header.rs.html | |
parent | c4d7f8f50d53057005d6bb28ac487f69ea45bd5e (diff) | |
download | site-3d7cd8a7addd86b7a97a50821eb348345e0d427a.tar.gz site-3d7cd8a7addd86b7a97a50821eb348345e0d427a.zip |
Work for the day
Post parsing, index page, navbar, CSS, blog listings
There's something weird with the path matching that's making it miss the
post view page in favor of the list view page.
Diffstat (limited to 'templates/header.rs.html')
-rw-r--r-- | templates/header.rs.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/header.rs.html b/templates/header.rs.html index afcf445..c93566c 100644 --- a/templates/header.rs.html +++ b/templates/header.rs.html @@ -1,4 +1,4 @@ -@use chrono::{DateLike, Utc}; +@use chrono::{Datelike, Utc}; @(title: Option<&str>, styles: Option<&str>) @@ -10,7 +10,16 @@ } else { <title>cara salter</title> } + <link rel="stylesheet" href="/static/gruvbox.css"> + <link rel="stylesheet" href="/static/custom.css"> + <meta name="viewport" content="width=device-width, + initial-scale=1.0"> </head> <body> <div class="container"> + <ul class="navbar"> + <li class="navbar-item"><a href="/">Home</a></li> + <li class="navbar-item"><a + href="/blog">Posts</a></li> + </ul> |