summaryrefslogtreecommitdiff
path: root/themes/24-unification/layouts/_default/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/24-unification/layouts/_default/index.html')
-rw-r--r--themes/24-unification/layouts/_default/index.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/themes/24-unification/layouts/_default/index.html b/themes/24-unification/layouts/_default/index.html
new file mode 100644
index 0000000..b168a8e
--- /dev/null
+++ b/themes/24-unification/layouts/_default/index.html
@@ -0,0 +1,39 @@
+{{ define "main" }}
+{{ $oldDate := "aaa" }}
+<article>
+ <div class="all">
+ <h2>CrysSITE</h2>
+ <p>
+ est. 2022
+ </p>
+ <hr>
+ <p>
+ Hello and welcome!
+ My name is Michal and this is my personal website.
+ I am a software engineer from southern Poland.
+ There's quite a lot here, as you can see bellow, but this does not include things like <a href="/contact">contact</a> or <a href="/mirror/userfriendly">mirrors of other pages</a>.
+ You can jump to dedicated sections using the menu on the left (or, on top, if you surf the web using a mobile phone).
+ </p>
+
+ <p>
+ Nothing here was created with the use of GenAI.
+ </p>
+ {{ range where .Site.RegularPages.ByDate.Reverse ".Params.nolist" "<>" true }}
+ {{$newDate := .PublishDate.Format "2006"}}
+
+ {{ if not (eq $oldDate $newDate) }}
+ {{ if not (eq $oldDate "aaa") }} </ul>{{ end }}
+ <ul>
+ <h3>{{ $newDate }}</h3>
+ {{ end }}
+
+ <li>
+ {{ .Section}}/<a href="{{.Permalink}}">{{ .Title }}</a>
+
+
+ {{ $oldDate = $newDate }}
+ {{ end }}
+ </div>
+</article>
+{{ end }}
+