From dda3ecfa462246becd4b7fb2dddc26fb8aca1286 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Wed, 16 Oct 2019 17:10:00 +0200 Subject: [PATCH] update: add context (LDFlex needing) --- index.prod.html | 299 ------------------------------------------- src/context.jsonld | 6 + src/dependencies.pug | 4 + 3 files changed, 10 insertions(+), 299 deletions(-) delete mode 100644 index.prod.html create mode 100644 src/context.jsonld diff --git a/index.prod.html b/index.prod.html deleted file mode 100644 index b1012ee..0000000 --- a/index.prod.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - HD App - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
-
- - \ No newline at end of file diff --git a/src/context.jsonld b/src/context.jsonld new file mode 100644 index 0000000..be7f99d --- /dev/null +++ b/src/context.jsonld @@ -0,0 +1,6 @@ + + { + "inbox": "http://happy-dev.fr/owl/#inbox", + "object": "http://happy-dev.fr/owl/#object", + "author": "http://happy-dev.fr/owl/#author" + } diff --git a/src/dependencies.pug b/src/dependencies.pug index 058bc3c..8752ff2 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -22,3 +22,7 @@ script(type="module" src="https://unpkg.com/@startinblox/component-notifications //- script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3") //- script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3") //- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3") + +//- Context - Fix for LDFlex +script(data-default-context, type="application/ld+json") + include context.jsonld