diff --git a/config.json b/config.json index 54a8f83..ab8cce5 100755 --- a/config.json +++ b/config.json @@ -9,6 +9,13 @@ "WhiteLabel": "true", "FooterVersion": "true" }, + "FeelbackConfig": { + "Enabled": false, + "ContentSetId": "566e8b96-c65e-4bf7-87df-d22a9f4994a2", + "Present": "like-dislike", + "Question": "Did this article help?", + "Answer": "Thank you for your feedback." + }, "HeaderItems": [ { "text": "Syntax", diff --git a/src/layouts/Document.astro b/src/layouts/Document.astro index 9c166fd..d90c2de 100755 --- a/src/layouts/Document.astro +++ b/src/layouts/Document.astro @@ -1,6 +1,6 @@ --- // Settings -import { SiteSettings } from '@config' +import { SiteSettings, FeelbackConfig } from '@config' import {version} from '../../package.json' // Properties @@ -29,21 +29,16 @@ import "@styles/prism.css" - + {FeelbackConfig.Enabled ? + + : + null + }