diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-07 00:29:01 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-07 00:29:01 +0200 |
commit | a16e8a21bb83325f8e40c13ef2d052393e2f6489 (patch) | |
tree | 9ce727b225308953e397a284d4f1fcd5cab75e63 /templates/index.html | |
parent | e7c5dc01cf3bf382c82dd6984808bd3ca21d33a5 (diff) | |
download | macroblog.rs-a16e8a21bb83325f8e40c13ef2d052393e2f6489.tar.gz macroblog.rs-a16e8a21bb83325f8e40c13ef2d052393e2f6489.tar.bz2 macroblog.rs-a16e8a21bb83325f8e40c13ef2d052393e2f6489.zip |
feat: Add early blog implementation
It is just a really crappy implementation to get it running until a
figure the pieces of the project out.
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 41 |
1 files changed, 5 insertions, 36 deletions
diff --git a/templates/index.html b/templates/index.html index 90826de..3558e06 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,49 +1,18 @@ <!DOCTYPE html> <html data-theme="light" lang="en"> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Yet Another Blog</title> - <style> - <%- pico %> - </style> + <% include!("head.html"); %> </head> <body> -<header class="container"> - <nav class="container-fluid"> - <ul> - <li><strong>Yet Another Blog</strong></li> - </ul> - <ul> - <li><a class="secondary">Posts</a></li> - <li><a class="secondary">Projects</a></li> - <li><a class="secondary">Resume</a></li> - </ul> - </nav> - <hgroup> - <h2> - A gathering of information about some things I do on my spare time. You can find me on gitlab , twitter and - linkedin . - </h2> - </hgroup> -</header> - +<% include!("header.html"); %> <main class="container"> <section> <ul> - <li><a>K8S private gitlab registry using podman</a></li> - <li><a>K8S private gitlab registry using podman</a></li> + <% for p in &posts { %> + <li><a href="/post/<%- p.0 %>"><%- p.1 %></a></li> + <% } %> </ul> </section> - <section> - <h2>Title</h2> - <p> - Nice content - <code> - My code here - </code> - </p> - </section> </main> </body> </html>
\ No newline at end of file |