aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndre Jiroh Halili <andreijiroheugeniohalili24680@gmail.com>2022-11-24 11:03:06 +0800
committerGitHub <noreply@github.com>2022-11-23 22:03:06 -0500
commitaadc8f4fce5008a55a7ebb6d4992dc5633431ce5 (patch)
treeffee44938cea5324e2b0c7387d2cafe491d56c5b /src
parent2e050921f15bb2b3c0bc852fb0040a6cbb400e43 (diff)
downloadxesite-aadc8f4fce5008a55a7ebb6d4992dc5633431ce5.tar.xz
xesite-aadc8f4fce5008a55a7ebb6d4992dc5633431ce5.zip
signalboost: add entry for ~ajhalili2006 (#567)
* signalboost: add entry for ~ajhalili2006 Also in this commit: * Add linkedin and cover_letter (per https://github.com/Xe/site/pull/550#discussion_r1019824691) anmong other things, including adding fediverse and website fields * Update the signalboost.rs HTML template to reflect these changes to Person.dhall types * Fix compilation In the future it would be nice if you ran the test suite. You can get to a development environment with `nix develop` or by installing direnv and running `direnv allow`. Alternatively you can do a full build with `nix build`. Updating the dhall type isn't enough to make the rust code automagically be updated too. You need to also update the corresponding rust type. Dhall prefers camelCase identifiers for items. The formatting for dhall was wrong. Running `dhall format $FILE` will make dhall format the file correctly for you. Signed-off-by: Xe <me@xeiaso.net>
Diffstat (limited to 'src')
-rw-r--r--src/signalboost.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/signalboost.rs b/src/signalboost.rs
index 3d1b534..6adfc8f 100644
--- a/src/signalboost.rs
+++ b/src/signalboost.rs
@@ -4,11 +4,14 @@ use serde::Deserialize;
pub struct Person {
pub name: String,
pub tags: Vec<String>,
-
#[serde(rename = "gitLink")]
pub git_link: Option<String>,
-
pub twitter: Option<String>,
+ pub linkedin: Option<String>,
+ pub fediverse: Option<String>,
+ #[serde(rename = "coverLetter")]
+ pub cover_letter: Option<String>,
+ pub website: Option<String>,
}
#[cfg(test)]