From e83f344cdc0a6c3d4830735a01209a9b5620b8f8 Mon Sep 17 00:00:00 2001 From: Luca Spezzano Date: Tue, 2 Nov 2021 20:51:40 +0100 Subject: [PATCH] feat(docs): removed meta robots and added meta og:url --- docs/src/pages/Index.vue | 10 ++++------ docs/src/templates/MarkdownPage.vue | 12 +++++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/src/pages/Index.vue b/docs/src/pages/Index.vue index 79c864a0..0a29eaf6 100644 --- a/docs/src/pages/Index.vue +++ b/docs/src/pages/Index.vue @@ -146,12 +146,10 @@ export default { property: "twitter:description", content: this.$page.metadata.siteDescription, }, - // { - // property: "og:url", - // content: window.location.href , - // }, - // TO CHANGE - { name: "robots", content: "noindex, nofollow" }, + { + property: "og:url", + content: "https://capsule.clastix.io/", + }, ], }; }, diff --git a/docs/src/templates/MarkdownPage.vue b/docs/src/templates/MarkdownPage.vue index b1f49895..5987c65d 100644 --- a/docs/src/templates/MarkdownPage.vue +++ b/docs/src/templates/MarkdownPage.vue @@ -63,12 +63,10 @@ export default { property: "twitter:description", content: this.$page.metadata.siteDescription, }, - // { - // property: "og:url", - // content: "", - // }, - // TO CHANGE - { name: "robots", content: "noindex, nofollow" }, + { + property: "og:url", + content: `https://capsule.clastix.io${this.$page.markdownPage.path}`, + }, ], }; }, @@ -131,7 +129,7 @@ export default { blockquote { @apply border-l-4 pl-4 ml-4 my-4 border-solid border-primary; } - + ol, ul { @apply pl-5;