summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.toml79
-rw-r--r--netlify.toml12
2 files changed, 35 insertions, 56 deletions
diff --git a/config.toml b/config.toml
index c0bdbdc..36f5635 100644
--- a/config.toml
+++ b/config.toml
@@ -1,66 +1,51 @@
-languageCode = "en-GB"
-baseurl = "https://www.alanpearce.eu"
+default_language = "en-GB"
+base_url = "https://www.alanpearce.eu"
+
 title = "Alan Pearce"
-theme = "xmin"
-pygmentsUseClasses = true
-pygmentsCodeFences = true
-disableHugoGeneratorInject = true
+description = "Developer, Emacs User"
 
-[permalinks]
-    post = "/post/:slug"
+generate_feed = true
 
-[Params]
-Description = "Developer, Emacser"
-footer = "Licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>."
+highlight_code = true
+highlight_theme = "ascetic-white"
 
-[Params.GPG]
-fingerprint = "48E6 576C 0707 388C B8BE FD0C CD4B EB92 A8D4 6583"
-url = "/public_key.asc"
+[[taxonomies]]
+name = "tags"
+feed = true
 
-[author]
-    name = "Alan Pearce"
-    image = "/img/me-thumb.jpg"
+[[taxonomies]]
+name = "categories"
+feed = true
 
-[[menu.main]]
+[extra]
+footer = "Licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>."
+gpg_fingerprint = "48E6 576C 0707 388C B8BE FD0C CD4B EB92 A8D4 6583"
+gpg_url = "/public_key.asc"
+author_name = "Alan Pearce"
+author_image = "/img/me-thumb.jpg"
+
+[[extra.menu.main]]
     name = "Home"
     url = "/"
     weight = 1
-[[menu.main]]
+[[extra.menu.main]]
     name = "Posts"
-    URL = "/post/"
-[[menu.main]]
+    url = "/post/"
+[[extra.menu.main]]
     name = "Repositories"
-    URL = "https://git.alanpearce.eu"
+    url = "https://git.alanpearce.eu"
 
-[[menu.contact]]
+[[extra.menu.contact]]
     name = "alan@alanpearce.eu"
-    URL = "mailto:alan@alanpearce.eu"
+    url = "mailto:alan@alanpearce.eu"
     weight = 1
-[[menu.contact]]
+[[extra.menu.contact]]
     name = "GitLab"
-    URL = "https://gitlab.com/alanpearce"
-[[menu.contact]]
+    url = "https://gitlab.com/alanpearce"
+[[extra.menu.contact]]
     name = "GitHub"
-    URL = "https://github.com/alanpearce"
-[[menu.contact]]
+    url = "https://github.com/alanpearce"
+[[extra.menu.contact]]
     name = "StackOverflow Jobs"
     url = "http://stackoverflow.com/users/story/381895"
 
-[privacy]
-  [privacy.disqus]
-    disable = true
-  [privacy.googleAnalytics]
-    disable = true
-  [privacy.instagram]
-    disable = true
-  [privacy.twitter]
-    disable = true
-  [privacy.vimeo]
-    disable = true
-  [privacy.youtube]
-    disable = true
-
-[markup]
-  [markup.goldmark]
-    [markup.goldmark.renderer]
-      unsafe = true
\ No newline at end of file
diff --git a/netlify.toml b/netlify.toml
index 9314f55..7e16e93 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,14 +1,8 @@
 [build]
   publish = "public"
-  command = "hugo"
+  command = "zola build"
   [build.environment]
-    HUGO_VERSION = "0.74.0"
-
-[context.production.environment]
-  HUGO_ENV = "production"
-
-[context.branch-deploy.environment]
-  HUGO_ENABLEGITINFO = "true"
+    ZOLA_VERSION = "0.12.2"
 
 [[redirects]]
   from = "https://alanpearceeu.netlify.com/*"
@@ -78,4 +72,4 @@
   for = "/*"
   [headers.values]
     Link = '''
-</css/style.css>; rel=preload; as=style'''
\ No newline at end of file
+</css/style.css>; rel=preload; as=style'''