diff options
-rw-r--r-- | config.toml | 1 | ||||
-rw-r--r-- | content/_index.md (renamed from content/index.md) | 1 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/list.html | 7 | ||||
-rw-r--r-- | themes/markskitchen/layouts/index.html | 3 |
5 files changed, 10 insertions, 4 deletions
diff --git a/config.toml b/config.toml index 78c300c..22f883f 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,7 @@ theme = "markskitchen" baseURL = "https://marks.kitchen" paginate = 5 rssLimit = 10 +description = "Mark's personal blog and more, showcasing lots of programming projects." [author] name = "Mark Powers" diff --git a/content/index.md b/content/_index.md index 4603676..f9b7b0d 100644 --- a/content/index.md +++ b/content/_index.md @@ -17,3 +17,4 @@ Writing Follow: - [Mastodon](https://fosstodon.org/@markp) - [RSS feed](/index.xml) +- [Email](https://email.marks.kitchen) diff --git a/themes/markskitchen/layouts/_default/baseof.html b/themes/markskitchen/layouts/_default/baseof.html index c4963da..5dc4b24 100644 --- a/themes/markskitchen/layouts/_default/baseof.html +++ b/themes/markskitchen/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang="en"> {{- partial "head.html" . -}} <body> {{- partial "header.html" . -}} diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html index 9388e7d..5c745d6 100644 --- a/themes/markskitchen/layouts/_default/list.html +++ b/themes/markskitchen/layouts/_default/list.html @@ -3,6 +3,12 @@ {{ end }} {{ define "main" }} +{{ if .Content }} +<main id="main" class="post"> + <article class="content"> + {{ .Content }} + </article> +{{ else }} <main id="main"> <ul> {{ range .Pages }} @@ -11,5 +17,6 @@ </li> {{ end }} </ul> +{{ end}} </main> {{ end }} diff --git a/themes/markskitchen/layouts/index.html b/themes/markskitchen/layouts/index.html deleted file mode 100644 index 422469a..0000000 --- a/themes/markskitchen/layouts/index.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "head" }} -<link rel="stylesheet" href='{{ "css/index.css" | absURL }}'> -{{ end }} |