summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/index.html12
-rw-r--r--layouts/_default/list.html1
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/partials/article_list_item.html7
4 files changed, 12 insertions, 12 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" }}
diff --git a/layouts/partials/article_list_item.html b/layouts/partials/article_list_item.html
index 4190d02..b2d9d20 100644
--- a/layouts/partials/article_list_item.html
+++ b/layouts/partials/article_list_item.html
@@ -1,7 +1,6 @@
-<li>
+<section class="list-item">
<a href="{{ .Page.Permalink }}">
<time>{{ .PublishDate.Format "2006-01-02" }}</time>
- &#183;
- {{ .Page.Title }}
+ <span>{{ .Page.Title }}</span>
</a>
-</li>
+</section>