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/index.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/index.html')
| -rw-r--r-- | templates/index.html | 44 | 
1 files changed, 25 insertions, 19 deletions
diff --git a/templates/index.html b/templates/index.html index 006643a..f6f3ca9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,22 +1,28 @@  <!DOCTYPE html>  <html data-theme="light" lang="en"> -<head> -    <% include!("head.html"); %> -</head> -<body> -<% include!("header.html"); %> -<main class="container"> -    <section> -            A gathering of information about some things I do on my spare time. -            You can find me on gitlab, twitter and linkedin. -    </section> -    <section> -        <ul> -        <% for p in &posts { %> -            <li><a href="/posts/<%- p.file %>"><%- p.title %></a></li> -        <% } %> -        </ul> -    </section> -</main> -</body> +    <head> +        <% include!("head.html"); %> +    </head> +    <body> +        <div class="layout"> +            <% include!("header.html"); %> +            <main> +                <div class="slim-description"> +                    A gathering of information about some things I do on my +                    spare time. You can find me on gitlab, twitter and +                    linkedin. +                </div> +                <div class="blog-list"> +                    <% for p in &posts { %> +                    <article class="list-item"> +                        <div class="post-title"> +                            <a href="/posts/<%- p.file %>"><%- p.title %></a> +                        </div> +                        <span classname="data-label"><%- p.datetime | disp %></span> +                    </article> +                    <% } %> +                </div> +            </main> +        </div> +    </body>  </html>  | 
