From 0e9689bddf5e26079f7c682e91d312c4aff71cdb Mon Sep 17 00:00:00 2001 From: Marco La Rosa Date: Fri, 14 Jun 2024 16:40:52 +1000 Subject: [PATCH] add disqus and apply to article --- .vitepress/theme/index.js | 2 ++ .../articles/taytay-sings-the-budget-blues.md | 2 ++ src/vue-components/Disqus.vue | 29 +++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 src/vue-components/Disqus.vue diff --git a/.vitepress/theme/index.js b/.vitepress/theme/index.js index f68cd8e..0db1dc2 100644 --- a/.vitepress/theme/index.js +++ b/.vitepress/theme/index.js @@ -56,6 +56,7 @@ import MyLayout from "./MyLayout.vue"; // register components globally import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import CardComponent from "../../src/vue-components/Card.vue"; +import Disqus from "../../src/vue-components/Disqus.vue"; import FeatureComponent from "../../src/vue-components/Feature.vue"; import FooterComponent from "../../src/vue-components/Footer.vue"; import ImageComponent from "../../src/vue-components/Image.vue"; @@ -76,6 +77,7 @@ export default { Layout: MyLayout, enhanceApp({ app }) { app.component("CardComponent", CardComponent); + app.component("Disqus", Disqus); app.component("FeatureComponent", FeatureComponent); app.component("FooterComponent", FooterComponent); app.component("ImageComponent", ImageComponent); diff --git a/src/docs/articles/taytay-sings-the-budget-blues.md b/src/docs/articles/taytay-sings-the-budget-blues.md index 650e117..a278859 100644 --- a/src/docs/articles/taytay-sings-the-budget-blues.md +++ b/src/docs/articles/taytay-sings-the-budget-blues.md @@ -151,6 +151,8 @@ And if you have questions about how your data is used and where it's processed: - [Terms and conditions](/terms-and-conditions#describo-cloud) - [Where your data is processed](/docs/guide/data-processing) + + diff --git a/src/vue-components/Disqus.vue b/src/vue-components/Disqus.vue new file mode 100644 index 0000000..459b19f --- /dev/null +++ b/src/vue-components/Disqus.vue @@ -0,0 +1,29 @@ + + +