diff --git a/layouts/index.html b/layouts/index.html
index 6b4354e..5abca5f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,18 +1,27 @@
{{ partial "header.html" . }}
+ {{ if .Site.Params.contact }}
Contact
- email: christoffer (at) guava.space
-
-
- Writings
-
- {{ range first 10 .Data.Pages }}
+ {{ range $label, $value := .Site.Params.contact }}
+ {{ $label }}: {{ $value }}
+
+ {{ end }}
+ {{ end }}
+
+ Writings
+
-
+ {{ if gt (len (where (where .Site.Pages "Type" "post") "Kind" "page")) .Site.Params.frontPagePosts }}
+ List of all writings
+ {{ end }}
+
Pages
{{ range .Data.Pages }}
@@ -21,13 +30,14 @@
{{ end }}
{{ end }}
-
- Where to find me on the internet
+
+ {{ if .Site.Params.sites }}
+ Where to find me on the internet
+ {{ end }}
+
{{ partial "footer.html" . }}
diff --git a/static/css/style.css b/static/css/style.css
index 7ef2eb5..673737f 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -59,7 +59,7 @@ ul.covers {
list-style: none;
}
-.emailaddr {
+.monospace {
font-family: monospace;
}
@@ -74,4 +74,4 @@ td {
th {
border-bottom: 1px solid #aaa;
-}
\ No newline at end of file
+}