diff --git a/config.toml b/config.toml
index dc4fe29..081ba71 100644
--- a/config.toml
+++ b/config.toml
@@ -46,9 +46,10 @@ copyright = "copyright by hauleth"
# Menu items to display. You define a url and the name of the menu item.
# NOTE: `$BASE_URL/` must be included in the url name.
main_menu = [
- {url="/post/", name="blog"},
+ {url="https://plan.cat/~hauleth", name=".plan", rel="me"},
{url="https://twitter.com/hauleth", name="twitter", rel="me"},
{url="https://github.com/hauleth", name="github", rel="me"},
+ {url="https://gitlab.com/hauleth", name="gitlab", rel="me"},
]
# Displayed after teaser text for a blog post.
diff --git a/content/_index.md b/content/_index.md
index 52c9df5..5379c36 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,6 +1,10 @@
+++
title = "Hauleth"
-template = "section.html"
+template = "landing.html"
+
+sort_by = "date"
+paginate_by = 1000
+insert_anchor_links = "right"
+++
{{ readme() }}
diff --git a/content/post/_index.md b/content/post/_index.md
index 8778099..077d1ca 100644
--- a/content/post/_index.md
+++ b/content/post/_index.md
@@ -2,5 +2,6 @@
sort_by = "date"
paginate_by = 1000
insert_anchor_links = "right"
-template = "index.html"
+transparent = true
+redirect_to = "/"
+++
diff --git a/netlify.toml b/netlify.toml
index f25f38e..728187f 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -7,3 +7,7 @@
[context.deploy-preview]
command = "zola build --drafts"
+
+[[redirects]]
+ from = "/post"
+ to = "/"
diff --git a/sass/_main.scss b/sass/_main.scss
index 645df17..f93d1c4 100644
--- a/sass/_main.scss
+++ b/sass/_main.scss
@@ -27,7 +27,7 @@ body {
h1, h2, h3, h4, h5, h6 {
line-height: 1.3;
- &:not(first-child) {
+ &:not(:first-child) {
margin-top: 40px;
}
@@ -219,6 +219,7 @@ ul, ol {
.content {
display: flex;
+ flex-direction: column;
}
hr {
diff --git a/sass/_post.scss b/sass/_post.scss
index 375efca..1de5afb 100644
--- a/sass/_post.scss
+++ b/sass/_post.scss
@@ -48,6 +48,8 @@
}
}
+ &.on-list &-title { --border: none; }
+
&-tags {
display: block;
margin-bottom: 20px;
diff --git a/sass/style.scss b/sass/style.scss
index e1e23d5..6401524 100644
--- a/sass/style.scss
+++ b/sass/style.scss
@@ -11,4 +11,3 @@
--phoneWidth: (max-width: #{$phone-max-width + 1px});
--tabletWidth: (max-width: #{$tablet-max-width + 1px});
}
-
diff --git a/templates/landing.html b/templates/landing.html
new file mode 100644
index 0000000..6e0b652
--- /dev/null
+++ b/templates/landing.html
@@ -0,0 +1,14 @@
+{% extends "index.html" -%}
+
+{%- block main -%}
+