diff options
author | Alan Pearce | 2020-11-14 21:15:27 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-14 21:16:07 +0100 |
commit | d996657be5efda94f4a934d5d78c407ba47bf76c (patch) | |
tree | dda5bc891ba522ef1a827660daa75d9fe8add2c9 | |
parent | c6801bf514b48b5298aaf004f02fd1ec59ce6552 (diff) | |
download | website-d996657be5efda94f4a934d5d78c407ba47bf76c.tar.lz website-d996657be5efda94f4a934d5d78c407ba47bf76c.tar.zst website-d996657be5efda94f4a934d5d78c407ba47bf76c.zip |
Port config to zola
-rw-r--r-- | config.toml | 79 | ||||
-rw-r--r-- | netlify.toml | 12 |
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''' |