summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-07 18:17:46 +0100
committerAlan Pearce2020-01-07 18:17:46 +0100
commita8c6cfc8f64d210c61d6da514efc9cd6b73ec2da (patch)
tree593a2b607b68fad2fd2c334dea75daf136024867
parent397d32f7eae7a1073f2d704609c888cdc260eba8 (diff)
downloadwebsite-a8c6cfc8f64d210c61d6da514efc9cd6b73ec2da.tar.lz
website-a8c6cfc8f64d210c61d6da514efc9cd6b73ec2da.tar.zst
website-a8c6cfc8f64d210c61d6da514efc9cd6b73ec2da.zip
Switch to xmin theme
-rw-r--r--.gitmodules3
-rw-r--r--config.toml13
m---------themes/xmin0
3 files changed, 12 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
index 1bc9305..299af8a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "themes/hyde"]
 	path = themes/hyde
 	url = https://git.alanpearce.eu/hyde
+[submodule "themes/xmin"]
+	path = themes/xmin
+	url = https://git.alanpearce.eu/hugo-xmin
diff --git a/config.toml b/config.toml
index 02f7f1d..de9e6a5 100644
--- a/config.toml
+++ b/config.toml
@@ -1,15 +1,16 @@
 languageCode = "en-GB"
 baseurl = "https://www.alanpearce.eu"
 title = "Alan Pearce"
-theme = "hyde"
+theme = "xmin"
 pygmentsUseClasses = true
 pygmentsCodeFences = true
 
+[permalinks]
+    post = "/post/:slug"
+
 [Params]
 Description = "Developer, Emacser"
-themeColor = "theme-base-0b"
-layoutReverse = true
-copyright = "Licensed under a Creative Commons Attribution 4.0 International License."
+footer = "Licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>."
 
 [Params.GPG]
 fingerprint = "48E6 576C 0707 388C B8BE FD0C CD4B EB92 A8D4 6583"
@@ -20,6 +21,10 @@ url = "/public_key.asc"
     image = "/img/me-thumb.jpg"
 
 [[menu.main]]
+    name = "Home"
+    url = "/"
+    weight = 1
+[[menu.main]]
     name = "Posts"
     URL = "/post/"
 [[menu.main]]
diff --git a/themes/xmin b/themes/xmin
new file mode 160000
+Subproject aa6eb5a51f3bdbc4e7c621d2a36701ef57ce014