aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--config.toml24
-rw-r--r--content/_index.md1
-rw-r--r--overlays/hyde/templates/index.html (renamed from templates/index.html)0
-rw-r--r--overlays/hyde/templates/tags/list.html (renamed from templates/tags/list.html)0
-rw-r--r--overlays/hyde/templates/tags/single.html (renamed from templates/tags/single.html)0
m---------themes/after-dark0
7 files changed, 25 insertions, 3 deletions
diff --git a/.gitmodules b/.gitmodules
index c1f2100..237bb4b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "themes/hyde"]
path = themes/hyde
url = https://github.com/getzola/hyde.git
+[submodule "themes/after-dark"]
+ path = themes/after-dark
+ url = https://github.com/getzola/after-dark.git
diff --git a/config.toml b/config.toml
index 8acf8d3..dce350b 100644
--- a/config.toml
+++ b/config.toml
@@ -2,11 +2,13 @@ base_url = "https://blog.memzero.de"
#base_url = "https://memzero.de/blog"
title = "memzero"
-description = "Cow says .*"
+#description = "Cow says .*"
-theme = "hyde"
+#theme = "hyde"
+theme = "after-dark"
taxonomies = [
+ { name = "categories" },
{ name = "tags" },
]
@@ -16,8 +18,11 @@ build_search_index = true
[markdown]
highlight_code = true
# https://www.getzola.org/documentation/getting-started/configuration/#syntax-highlighting
-highlight_theme = "OneHalfLight"
+# -- light
+#highlight_theme = "OneHalfLight"
#highlight_theme = "Tomorrow"
+# -- dark
+highlight_theme = "one-dark"
[extra]
hyde_links = [
@@ -27,4 +32,17 @@ hyde_links = [
]
#hyde_theme = "theme-base-0d"
+author = "Johannes Stoelp"
+after_dark_menu = [
+ { url = "$BASE_URL/", name = "Posts" },
+ { url = "$BASE_URL/tags", name = "Tags" },
+ { url = "https://github.com/johannst", name = "GitHub" },
+ { url = "https://twitter.com/xjohannst", name = "Twitter" },
+ { url = "https://memzero.de", name = "About" },
+]
+after_dark_title = "blog.memzero.de"
+
+[link_checker]
+external_level = "error"
+
# vim:ft=config
diff --git a/content/_index.md b/content/_index.md
index 8bc0069..e9dbbc0 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,3 +1,4 @@
+++
sort_by = "date"
+paginate_by = 25
+++
diff --git a/templates/index.html b/overlays/hyde/templates/index.html
index c1cd4e8..c1cd4e8 100644
--- a/templates/index.html
+++ b/overlays/hyde/templates/index.html
diff --git a/templates/tags/list.html b/overlays/hyde/templates/tags/list.html
index 9fdee7e..9fdee7e 100644
--- a/templates/tags/list.html
+++ b/overlays/hyde/templates/tags/list.html
diff --git a/templates/tags/single.html b/overlays/hyde/templates/tags/single.html
index 4062e4a..4062e4a 100644
--- a/templates/tags/single.html
+++ b/overlays/hyde/templates/tags/single.html
diff --git a/themes/after-dark b/themes/after-dark
new file mode 160000
+Subproject e2c7a20ae254942af1f30830baadd6b33e74f6c