diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/index.html | 12 | ||||
-rw-r--r-- | layouts/_default/list.html | 1 | ||||
-rw-r--r-- | layouts/_default/single.html | 4 |
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" }} |