aboutsummaryrefslogtreecommitdiff
path: root/dhall/types/Config.dhall
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-11-25 19:01:10 -0500
committerGitHub <noreply@github.com>2022-11-25 19:01:10 -0500
commitcc933b31fd23bb06e95bf41f848a1c99353d44ae (patch)
treeaf8288dbd4db2ad886d6b326bffb1c9d5b568de3 /dhall/types/Config.dhall
parent551e0384c923ff3ee98cfddf7e3eb42c6dbb2941 (diff)
downloadxesite-cc933b31fd23bb06e95bf41f848a1c99353d44ae.tar.xz
xesite-cc933b31fd23bb06e95bf41f848a1c99353d44ae.zip
Start version 3 (#573)
* Start version 3 * Change version to 3.0.0 in Cargo.toml * Add metadata for series * Change types for signal boosts * Add start of LaTeX resume generation at Nix time * Add start of proper author tagging for posts in JSONFeed and ldjson * Convert templates to use Maud * Add start of dynamic resume generation from dhall * Make patrons page embed thumbnails TODO: * [ ] Remove the rest of the old templates * [ ] Bring in Xeact for the share on mastodon button * [ ] Site update post Signed-off-by: Xe <me@christine.website> * fix nix builds Signed-off-by: Xe Iaso <me@christine.website> * fix dhall build Signed-off-by: Xe Iaso <me@christine.website> * fix non-flakes build Signed-off-by: Xe Iaso <me@christine.website> * make new mastodon share button Signed-off-by: Xe Iaso <me@christine.website> * remove the rest of the ructe templates that I can remove Signed-off-by: Xe Iaso <me@christine.website> * refactor blogposts to its own file Signed-off-by: Xe Iaso <me@christine.website> * move resume to be generated by nix Signed-off-by: Xe Iaso <me@christine.website> * write article Signed-off-by: Xe Iaso <me@christine.website> * blog/site-update-v3: hero image Signed-off-by: Xe Iaso <me@christine.website> * add site update series tag to site updates Signed-off-by: Xe Iaso <me@christine.website> Signed-off-by: Xe <me@christine.website> Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'dhall/types/Config.dhall')
-rw-r--r--dhall/types/Config.dhall18
1 files changed, 17 insertions, 1 deletions
diff --git a/dhall/types/Config.dhall b/dhall/types/Config.dhall
index 3934a11..914c89a 100644
--- a/dhall/types/Config.dhall
+++ b/dhall/types/Config.dhall
@@ -4,8 +4,14 @@ let Author = ./Author.dhall
let Job = ./Job.dhall
+let Link = ./Link.dhall
+
let NagMessage = ./NagMessage.dhall
+let SeriesDescription = ./SeriesDescription.dhall
+
+let Prelude = ../Prelude.dhall
+
let defaultPort = env:PORT ? 3030
let defaultWebMentionEndpoint =
@@ -14,16 +20,22 @@ let defaultWebMentionEndpoint =
in { Type =
{ signalboost : List Person.Type
- , authors : List Author.Type
+ , defaultAuthor : Author.Type
+ , authors : Prelude.Map.Type Text Author.Type
, port : Natural
, clackSet : List Text
, resumeFname : Text
, webMentionEndpoint : Text
, miToken : Text
, jobHistory : List Job.Type
+ , seriesDescriptions : List SeriesDescription.Type
+ , seriesDescMap : Prelude.Map.Type Text Text
+ , notableProjects : List Link.Type
+ , contactLinks : List Link.Type
}
, default =
{ signalboost = [] : List Person.Type
+ , defaultAuthor = Author::{=}
, authors = [] : List Author.Type
, port = defaultPort
, clackSet = [ "Ashlynn" ]
@@ -31,5 +43,9 @@ in { Type =
, webMentionEndpoint = defaultWebMentionEndpoint
, miToken = "${env:MI_TOKEN as Text ? ""}"
, jobHistory = [] : List Job.Type
+ , seriesDescriptions = [] : List SeriesDescription.Type
+ , seriesDescMap = [] : Prelude.Map.Type Text Text
+ , notableProjects = [] : List Link.Type
+ , contactLinks = [] : List Link.Type
}
}