hugo.toml (3249B)
1 baseurl = "https://mordaunt.dev/site/" 2 title = "Jack Mordaunt" 3 theme = "hugo-coder" 4 # Content is written with root-relative image paths, and this site is 5 # served from a subdirectory on mordaunt.dev and from the root on 6 # jackmordaunt.com. canonifyURLs resolves those paths against whichever 7 # baseURL the build was given, so one source tree is correct in both 8 # places; without it the project pages 404 their screenshots on one of 9 # them, whichever way the paths are written. 10 canonifyURLs = true 11 languagecode = "en" 12 defaultcontentlanguage = "en" 13 14 [pagination] 15 pagerSize = 20 16 17 [services] 18 # [services.disqus] 19 # shortname = "yourdiscussshortname" 20 21 [markup.highlight] 22 style = "github-dark" 23 24 # Content pages written as .html (about, contact, pay-with-bitcoin). Hugo's 25 # default policy allows everything but text/html; this allowlist admits it. 26 [security] 27 allowContent = ["^text/(html|markdown)$"] 28 29 [params] 30 author = "Jack Mordaunt" 31 info = "Coffee developer, software brewer." 32 description = "Coffee developer, software brewer." 33 keywords = "blog,developer,personal,software,robust,performance,sovereign" 34 # 640px for a 20rem (320px) slot, so it is sharp at 2x and no larger. 35 # The 1196px JPEG it replaced was 530 KB, over half the weight of the 36 # front page. bin/resize-images regenerates it. 37 avatarurl = "images/self.webp" 38 # gravatar = "gravatar@sovereignlife.anonaddy.com" 39 40 # Relative, so relURL resolves them against baseURL: this site is served 41 # under /site/ on mordaunt.dev and at the root on jackmordaunt.com. An 42 # absolute path would be right in exactly one of those places. 43 favicon_32 = "images/favicon-32.png" 44 favicon_16 = "images/favicon-16.png" 45 touchicon = "images/apple-touch-icon.png" 46 47 since = 2025 48 49 enableTwemoji = true 50 51 colorScheme = "auto" 52 hidecolorschemetoggle = false 53 54 customCSS = ["css/custom.css"] 55 # customSCSS = ["scss/custom.scss"] 56 # customJS = ["js/custom.js"] 57 58 [markup.goldmark.renderer] 59 unsafe = true 60 61 [taxonomies] 62 category = "categories" 63 series = "series" 64 tag = "tags" 65 author = "authors" 66 67 # Social links 68 [[params.social]] 69 name = "Github" 70 icon = "fa-brands fa-github fa-2x" 71 weight = 1 72 url = "https://github.com/jackmordaunt" 73 [[params.social]] 74 name = "Sourcehut" 75 icon = "fa-1x" 76 svg = "assets/images/sourcehut.svg" 77 weight = 2 78 url = "https://git.sr.ht/~jackmordaunt" 79 [[params.social]] 80 name = "nostr" 81 icon = "fa-1x" 82 svg = "assets/images/nostr.svg" 83 weight = 3 84 url = "https://njump.me/npub14l0387z0ejfmnn3j38nnalg5p57952d84aqakqguhzx7p7pns2vqg3x78w" 85 [[params.social]] 86 name = "Code" 87 icon = "fa-solid fa-code-branch fa-2x" 88 weight = 4 89 url = "https://mordaunt.dev/code" 90 [[params.social]] 91 name = "Public Keys" 92 icon = "fa-solid fa-key fa-2x" 93 weight = 5 94 url = "https://mordaunt.dev/keys" 95 [[params.social]] 96 name = "Bitcoin" 97 icon = "fa-brands fa-bitcoin fa-2x" 98 weight = 6 99 url = "pay-with-bitcoin/" 100 101 # Menu links 102 [[menu.main]] 103 name = "Blog" 104 weight = 1 105 url = "posts/" 106 [[menu.main]] 107 name = "About" 108 weight = 2 109 url = "about/" 110 [[menu.main]] 111 name = "Projects" 112 weight = 3 113 url = "projects/" 114 [[menu.main]] 115 name = "Contact" 116 weight = 4 117 url = "contact/" 118 [[menu.main]] 119 name = "Pay" 120 weight = 5 121 url = "pay-with-bitcoin/"