summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authord-s <ds@voyager.local>2023-05-19 13:21:49 +0200
committerd-s <ds@voyager.local>2023-05-19 13:21:49 +0200
commit97e1392c67b26723c3c7deab12ca9fc9844195c0 (patch)
treeda15feb8a8160bdfeaa8814e9e4d83e207be69b5 /layouts/_default
parent8f29ee203e20a38969fdeaa437bea388705eed63 (diff)
feat: pimp my homepage
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/index.html12
-rw-r--r--layouts/_default/list.html1
-rw-r--r--layouts/_default/single.html4
3 files changed, 9 insertions, 8 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 0985c5e..d08b6bc 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -1,10 +1,12 @@
{{ define "main" }}
<article class="list taxonomy">
- <ul>
- {{ range (where site.RegularPages "Type" "!=" "special") }}
- {{ partial "partials/article_list_item.html" . }}
- {{ end }}
- </ul>
+<h2>About</h2>
+Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This website is not dedicated to any particular one thing. Instead, I write whatever interests me most at the moment. No content here is auto-generated, so any bugs, problems, or controversies are entirely on me!
+
+<h2>Articles</h2>
+{{ range (where site.RegularPages "Type" "!=" "special") }}
+ {{ partial "partials/article_list_item.html" . }}
+{{ end }}
</article>
{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index d085926..91d5526 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,6 +3,7 @@
<h2>
{{ replace .Title "-" " " }} archives
</h2>
+ <h3>Articles</h3>
<ul>
{{ range .Data.Pages }}
{{ partial "partials/article_list_item.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5c5b389..52544bf 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,8 +1,6 @@
{{ define "main" }}
<article>
- <a href="{{ .Page.Permalink }}">
- <h2>{{ .Page.Title }}</h2>
- </a>
+ <h2>{{ .Page.Title }}</h2>
{{- if not (eq .Page.Type "special") }}
<time datetime="{{.PublishDate.Format "2006-01-02" }}">
{{ .PublishDate.Format "January 2, 2006" }}