Merge branch 'fix_ld_context' of https://yerbamate.ml/grishka/lemmy into grishka_fix_ld_context

pull/1514/head
Felix Ableitner 2021-03-22 13:08:07 +01:00
commit 6b5354fb11
1 changed files with 3 additions and 2 deletions

View File

@ -8,10 +8,11 @@ pub(crate) fn lemmy_context() -> Result<Vec<AnyBase>, LemmyError> {
"sc": "http://schema.org#", "sc": "http://schema.org#",
"sensitive": "as:sensitive", "sensitive": "as:sensitive",
"stickied": "as:stickied", "stickied": "as:stickied",
"pt": "https://join.lemmy.ml#",
"comments_enabled": { "comments_enabled": {
"kind": "sc:Boolean", "type": "sc:Boolean",
"id": "pt:commentsEnabled" "id": "pt:commentsEnabled"
} }
}))?; }))?;
Ok(vec![AnyBase::from(context()), context_ext]) Ok(vec![AnyBase::from(context()), context_ext, "https://w3id.org/security/v1"])
} }