diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-09 20:10:19 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-09 20:10:19 +0200 |
commit | b4472b41214eeeacce071df41bf0f782e1f16d6d (patch) | |
tree | efb666792785ba98c177990cfc349cdb9d6a56c7 /templates/post.html | |
parent | e44658641b75076b702e690df166820c1d133f24 (diff) | |
download | macroblog.rs-b4472b41214eeeacce071df41bf0f782e1f16d6d.tar.gz macroblog.rs-b4472b41214eeeacce071df41bf0f782e1f16d6d.tar.bz2 macroblog.rs-b4472b41214eeeacce071df41bf0f782e1f16d6d.zip |
feat: Move from pico to custom css
Use css from my current blog, which is a lot smaller. The text itself
looks good but the code still breaks the page.
Metrics:
- hyper: 16.37 KB / 16.47 KB transferred
- 1 request
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/templates/post.html b/templates/post.html index 7e0a909..99a7852 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,18 +1,20 @@ <!DOCTYPE html> <html data-theme="light" lang="en"> -<head> - <% include!("head.html"); %> -</head> -<body> -<% include!("header.html"); %> -<main class="container"> - <h2><%- title %></h2> - <h5>Created At: <%- date %></h2> - <%- content %> - </section> -</main> -</body> - -<script> -</script> + <head> + <% include!("head.html"); %> + </head> + <body> + <div class="layout"> + <% include!("header.html"); %> + <main> + <article> + <h1><%- title %></h1> + <time>Created At: <%- date %></time> + <div class="blog-post-content"> + <%- content %> + </div> + </article> + </main> + </div> + </body> </html> |