diff options
| author | Cara Salter <cara@devcara.com> | 2021-12-19 12:48:36 -0500 | 
|---|---|---|
| committer | Cara Salter <cara@devcara.com> | 2021-12-19 12:48:36 -0500 | 
| commit | c4d7f8f50d53057005d6bb28ac487f69ea45bd5e (patch) | |
| tree | 34968e205ebbb97264a2df4e8951af5a01db22cb /templates/header.rs.html | |
| parent | ef01d3badb9765271a5bf55a4f0702b68f099e2e (diff) | |
| download | site-c4d7f8f50d53057005d6bb28ac487f69ea45bd5e.tar.gz site-c4d7f8f50d53057005d6bb28ac487f69ea45bd5e.zip | |
Add blog post parsing and templates
templates WIP, not building properly
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"> + | 
