hide parameters generated by vuepress-plugin-seo2 #2089
-
Accoding to https://vuepress-theme-hope.github.io/v2/seo/guide.html#ogp, https://vuepress-theme-hope.github.io/v2/seo/config.html#ogp and https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/demo/seo2/src/.vuepress/config.ts I try to hide import { seoPlugin } from "vuepress-plugin-seo2";
export default defineUserConfig({
...
plugins: [
seoPlugin({
hostname: "https://vuepress-theme-hope.github.io",
updated_time: "2022-07-27T08:00:09.000Z",
modified_time: "2022-07-27T08:00:09.000Z",
}),
],
}); Naturally, this stupid setup won't get any results. Could you provide an example of how we can hide one of the parameters generated by vuepress-plugin-seo2? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Drop infomation you don’t want in functions , in the following function, you can override some properties or delete them when returning info. |
Beta Was this translation helpful? Give feedback.
Drop infomation you don’t want in functions , in the following function, you can override some properties or delete them when returning info.