diff options
author | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
---|---|---|
committer | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
commit | 4719cc03837490ed4bf1b9725d75a686e56e5a6a (patch) | |
tree | 769dd3a3a87153df049b3043196bd131495b10ad /themes/plaintext/layouts/index.html |
fresh start
Diffstat (limited to 'themes/plaintext/layouts/index.html')
-rw-r--r-- | themes/plaintext/layouts/index.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/themes/plaintext/layouts/index.html b/themes/plaintext/layouts/index.html new file mode 100644 index 0000000..da61394 --- /dev/null +++ b/themes/plaintext/layouts/index.html @@ -0,0 +1,45 @@ +{{ define "main" }} +<h1>claw0ry.net</h1> + +<div class="intro"> + <p>Hi, my name is Mads! *waves*</p> + + <p>I'm a developer and Linux enthusiast from Norway. I mainly use this site as a personal reference, cause my brain + too smol. Maybe you'll find something interesting too.</p> + + <ul> + <li>I grew up on the internet with Linux and open source in the early 2000s.</li> + <li>I believe the tech world has become to overengineered, abstracted and complicated.</li> + <li>I'm always searching for a deeper knowledge on how things work.</li> + </ul> + + <p> + Bluesky: <a href="https://bsky.app/profile/claw0ry.net" rel="nofollow">claw0ry.net</a> + </p> +</div> + +<hr /> + +<section class="post-list"> + {{ $pages := where site.RegularPages "Type" "posts" }} + {{ $paginator := .Paginate $pages.ByDate.Reverse 5 }} + + {{ range $paginator.Pages }} + <article class="post-item"> + <h2 class="post-title"> + <a href="{{ .Permalink }}">* {{ .Title }}</a> + </h2> + <p class="post-byline">Posted: {{ .Date.Format "02-03-2006" }} | {{ .WordCount }} words</p> + <div class="post-body">{{ .Summary }}</div> + <p><a href="{{ .Permalink }}">Read more ยป</a></p> + </article> + + <hr /> + + {{ end }} + + {{ template "_internal/pagination.html" (dict "page" . "format" "terse") }} + + <hr /> +</section> <!-- end .post-list --> +{{ end }} |