forked from cadey/xesite
start mutliple author support
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
a716286f37
commit
79c5238817
53
config.dhall
53
config.dhall
|
@ -4,6 +4,27 @@ let Person =
|
||||||
{ name = "", tags = [] : List Text, gitLink = "", twitter = "" }
|
{ name = "", tags = [] : List Text, gitLink = "", twitter = "" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let Author =
|
||||||
|
{ Type =
|
||||||
|
{ name : Text
|
||||||
|
, handle : Text
|
||||||
|
, picUrl : Optional Text
|
||||||
|
, link : Optional Text
|
||||||
|
, twitter : Optional Text
|
||||||
|
, default : Bool
|
||||||
|
, inSystem : Bool
|
||||||
|
}
|
||||||
|
, default =
|
||||||
|
{ name = ""
|
||||||
|
, handle = ""
|
||||||
|
, picUrl = None Text
|
||||||
|
, link = None Text
|
||||||
|
, twitter = None Text
|
||||||
|
, default = False
|
||||||
|
, inSystem = True
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let defaultPort = env:PORT ? 3030
|
let defaultPort = env:PORT ? 3030
|
||||||
|
|
||||||
let defaultWebMentionEndpoint =
|
let defaultWebMentionEndpoint =
|
||||||
|
@ -13,6 +34,7 @@ let defaultWebMentionEndpoint =
|
||||||
let Config =
|
let Config =
|
||||||
{ Type =
|
{ Type =
|
||||||
{ signalboost : List Person.Type
|
{ signalboost : List Person.Type
|
||||||
|
, authors : List Author.Type
|
||||||
, port : Natural
|
, port : Natural
|
||||||
, clackSet : List Text
|
, clackSet : List Text
|
||||||
, resumeFname : Text
|
, resumeFname : Text
|
||||||
|
@ -21,6 +43,34 @@ let Config =
|
||||||
}
|
}
|
||||||
, default =
|
, default =
|
||||||
{ signalboost = [] : List Person.Type
|
{ signalboost = [] : List Person.Type
|
||||||
|
, authors =
|
||||||
|
[ Author::{
|
||||||
|
, name = "Xe"
|
||||||
|
, handle = "xe"
|
||||||
|
, picUrl = Some "/static/img/avatar.png"
|
||||||
|
, link = Some "https://christine.website"
|
||||||
|
, twitter = Some "theprincessxena"
|
||||||
|
, default = True
|
||||||
|
, inSystem = True
|
||||||
|
}
|
||||||
|
, Author::{
|
||||||
|
, name = "Ashe"
|
||||||
|
, handle = "ectamorphic"
|
||||||
|
, picUrl = None Text
|
||||||
|
, link = None Text
|
||||||
|
, twitter = None Text
|
||||||
|
, inSystem = True
|
||||||
|
}
|
||||||
|
, Author::{
|
||||||
|
, name = "Jessie"
|
||||||
|
, handle = "Heartmender"
|
||||||
|
, picUrl = Some
|
||||||
|
"https://cdn.christine.website/file/christine-static/img/UPRcp1pO_400x400.jpg"
|
||||||
|
, link = Some "https://heartmender.writeas.com"
|
||||||
|
, twitter = Some "BeJustFine"
|
||||||
|
, inSystem = True
|
||||||
|
}
|
||||||
|
]
|
||||||
, port = defaultPort
|
, port = defaultPort
|
||||||
, clackSet = [ "Ashlynn" ]
|
, clackSet = [ "Ashlynn" ]
|
||||||
, resumeFname = "./static/resume/resume.md"
|
, resumeFname = "./static/resume/resume.md"
|
||||||
|
@ -31,5 +81,6 @@ let Config =
|
||||||
|
|
||||||
in Config::{
|
in Config::{
|
||||||
, signalboost = ./signalboost.dhall
|
, signalboost = ./signalboost.dhall
|
||||||
, clackSet = [ "Ashlynn", "Terry Davis", "Dennis Ritchie" ]
|
, clackSet =
|
||||||
|
[ "Ashlynn", "Terry Davis", "Dennis Ritchie", "Steven Hawking" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue