site

personal website, served at mordaunt.dev/site
Log | Files | Refs

commit f07d82137d863cd3c0c90d171e07647142ca95ca
parent c2c44d2fad569653054cb8b78a409dfd3b9f6757
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Wed, 16 Jul 2025 14:51:47 -0300

config: add npub

Diffstat:
Mhugo.toml | 17++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/hugo.toml b/hugo.toml @@ -14,6 +14,18 @@ pagerSize = 20 [markup.highlight] style = "github-dark" +# Required output format for the nostr.json file. +[outputFormats.nostrjson] +mediaType = "application/json" +baseName = "nostr" +path = ".well-known" +isPlainText = true +notAlternative = true +permalinkable = true + +[outputs] +home = ["HTML", "nostrjson"] + [params] author = "Jack Mordaunt" info = "Coffee developer, software brewer." @@ -36,7 +48,10 @@ style = "github-dark" customCSS = ["css/custom.css"] # customSCSS = ["scss/custom.scss"] # customJS = ["js/custom.js"] - # + +[[params.nostr]] + name = "mordaunt" + pub_key = "npub14l0387z0ejfmnn3j38nnalg5p57952d84aqakqguhzx7p7pns2vqg3x78w" [markup.goldmark.renderer] unsafe = true