about 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 @@
1languageCode = "en-GB" 1default_language = "en-GB"
2baseurl = "https://www.alanpearce.eu" 2base_url = "https://www.alanpearce.eu"
3
3title = "Alan Pearce" 4title = "Alan Pearce"
4theme = "xmin" 5description = "Developer, Emacs User"
5pygmentsUseClasses = true
6pygmentsCodeFences = true
7disableHugoGeneratorInject = true
8 6
9[permalinks] 7generate_feed = true
10 post = "/post/:slug"
11 8
12[Params] 9highlight_code = true
13Description = "Developer, Emacser" 10highlight_theme = "ascetic-white"
14footer = "Licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>."
15 11
16[Params.GPG] 12[[taxonomies]]
17fingerprint = "48E6 576C 0707 388C B8BE FD0C CD4B EB92 A8D4 6583" 13name = "tags"
18url = "/public_key.asc" 14feed = true
19 15
20[author] 16[[taxonomies]]
21 name = "Alan Pearce" 17name = "categories"
22 image = "/img/me-thumb.jpg" 18feed = true
23 19
24[[menu.main]] 20[extra]
21footer = "Licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>."
22gpg_fingerprint = "48E6 576C 0707 388C B8BE FD0C CD4B EB92 A8D4 6583"
23gpg_url = "/public_key.asc"
24author_name = "Alan Pearce"
25author_image = "/img/me-thumb.jpg"
26
27[[extra.menu.main]]
25 name = "Home" 28 name = "Home"
26 url = "/" 29 url = "/"
27 weight = 1 30 weight = 1
28[[menu.main]] 31[[extra.menu.main]]
29 name = "Posts" 32 name = "Posts"
30 URL = "/post/" 33 url = "/post/"
31[[menu.main]] 34[[extra.menu.main]]
32 name = "Repositories" 35 name = "Repositories"
33 URL = "https://git.alanpearce.eu" 36 url = "https://git.alanpearce.eu"
34 37
35[[menu.contact]] 38[[extra.menu.contact]]
36 name = "alan@alanpearce.eu" 39 name = "alan@alanpearce.eu"
37 URL = "mailto:alan@alanpearce.eu" 40 url = "mailto:alan@alanpearce.eu"
38 weight = 1 41 weight = 1
39[[menu.contact]] 42[[extra.menu.contact]]
40 name = "GitLab" 43 name = "GitLab"
41 URL = "https://gitlab.com/alanpearce" 44 url = "https://gitlab.com/alanpearce"
42[[menu.contact]] 45[[extra.menu.contact]]
43 name = "GitHub" 46 name = "GitHub"
44 URL = "https://github.com/alanpearce" 47 url = "https://github.com/alanpearce"
45[[menu.contact]] 48[[extra.menu.contact]]
46 name = "StackOverflow Jobs" 49 name = "StackOverflow Jobs"
47 url = "http://stackoverflow.com/users/story/381895" 50 url = "http://stackoverflow.com/users/story/381895"
48 51
49[privacy]
50 [privacy.disqus]
51 disable = true
52 [privacy.googleAnalytics]
53 disable = true
54 [privacy.instagram]
55 disable = true
56 [privacy.twitter]
57 disable = true
58 [privacy.vimeo]
59 disable = true
60 [privacy.youtube]
61 disable = true
62
63[markup]
64 [markup.goldmark]
65 [markup.goldmark.renderer]
66 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 @@
1[build] 1[build]
2 publish = "public" 2 publish = "public"
3 command = "hugo" 3 command = "zola build"
4 [build.environment] 4 [build.environment]
5 HUGO_VERSION = "0.74.0" 5 ZOLA_VERSION = "0.12.2"
6
7[context.production.environment]
8 HUGO_ENV = "production"
9
10[context.branch-deploy.environment]
11 HUGO_ENABLEGITINFO = "true"
12 6
13[[redirects]] 7[[redirects]]
14 from = "https://alanpearceeu.netlify.com/*" 8 from = "https://alanpearceeu.netlify.com/*"
@@ -78,4 +72,4 @@
78 for = "/*" 72 for = "/*"
79 [headers.values] 73 [headers.values]
80 Link = ''' 74 Link = '''
81</css/style.css>; rel=preload; as=style''' \ No newline at end of file 75</css/style.css>; rel=preload; as=style'''