Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
aslilac committed Sep 30, 2023
1 parent b866823 commit 0a83dfd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Empty file added ideas/we-are-not-robots.md
Empty file.
8 changes: 8 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ pub static EXTERNAL_LINKS: Lazy<BTreeSet<External>> = Lazy::new(|| {
// "date": "2023.5.2",
// "summary": "The web used to be a lot more fun. and a lot easier, too.",
// },
{
"canonical_url": "https://drewdevault.com/2023/08/29/2023-08-29-AI-crap.html",
"path": "https://drewdevault.com/2023/08/29/2023-08-29-AI-crap.html",
"title": "AI crap",
"author": "Drew DeVault",
"date": "2023.8.29",
"summary": "The singularity is not coming, but the most realistic promises of AI are going to make the world worse.",
},
{
"canonical_url": "https://wejn.org/2023/09/running-ones-own-root-certificate-authority-in-2023/",
"path": "https://wejn.org/2023/09/running-ones-own-root-certificate-authority-in-2023/",
Expand Down
3 changes: 1 addition & 2 deletions src/pocky/page/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ impl<M: DeserializeOwned> TextPage<M> {
.map(|line| format!("{}\n", line))
.collect::<String>();

serde_yaml::from_str(&metadata_source)
.expect("failed to deserialize frontmatter metadata")
serde_yaml::from_str(&metadata_source).expect("failed to deserialize frontmatter metadata")
});

// The remaining lines are the actual document content
Expand Down

0 comments on commit 0a83dfd

Please sign in to comment.