summaryrefslogtreecommitdiff
path: root/themes/plaintext/layouts/index.html
blob: da61394a9342f81ee5d749dfbcd3ea1658a52f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 }}