aboutsummaryrefslogtreecommitdiff
path: root/config.dhall
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2020-11-18 12:18:24 -0500
committerGitHub <noreply@github.com>2020-11-18 12:18:24 -0500
commitf643496416c75ea468ffd866ccfee6436a3912f0 (patch)
tree902a3b987474906360544c55bd28b96f9e2bb44a /config.dhall
parent089b14788dbc0fe9a6b3a9263d5926a27c96f237 (diff)
downloadxesite-f643496416c75ea468ffd866ccfee6436a3912f0.tar.xz
xesite-f643496416c75ea468ffd866ccfee6436a3912f0.zip
various updates (#263)
* various updates * fix glory shot * fix mi url for updating my blog * fix CI
Diffstat (limited to 'config.dhall')
-rw-r--r--config.dhall18
1 files changed, 12 insertions, 6 deletions
diff --git a/config.dhall b/config.dhall
index f461134..192955d 100644
--- a/config.dhall
+++ b/config.dhall
@@ -1,24 +1,30 @@
let Person =
{ Type = { name : Text, tags : List Text, gitLink : Text, twitter : Text }
, default =
- { name = "", tags = [] : List Text, gitLink = "", twitter = "" }
+ { name = "", tags = [] : List Text, gitLink = "", twitter = "" }
}
let defaultPort = env:PORT ? 3030
+let defaultWebMentionEndpoint =
+ env:WEBMENTION_ENDPOINT
+ ? "https://mi.within.website/api/webmention/accept"
+
let Config =
{ Type =
{ signalboost : List Person.Type
, port : Natural
, clackSet : List Text
, resumeFname : Text
+ , webMentionEndpoint : Text
}
, default =
- { signalboost = [] : List Person.Type
- , port = defaultPort
- , clackSet = [ "Ashlynn" ]
- , resumeFname = "./static/resume/resume.md"
- }
+ { signalboost = [] : List Person.Type
+ , port = defaultPort
+ , clackSet = [ "Ashlynn" ]
+ , resumeFname = "./static/resume/resume.md"
+ , webMentionEndpoint = defaultWebMentionEndpoint
+ }
}
in Config::{