Browse Source

Add crawler instructions and open graph meta

pull/36/head
uurgothat 1 year ago
parent
commit
8bb02b1743
  1. 14
      nuxt.config.js
  2. 2969
      package-lock.json
  3. 1
      package.json

14
nuxt.config.js

@ -9,7 +9,9 @@ export default {
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ hid: "description", name: "description", content: "" },
{ name: "format-detection", content: "telephone=no" }
{ name: "format-detection", content: "telephone=no" },
{ name: "og:title", content: "Fosscord - For better and secure communication" },
{ name: "og:description", content: "Fosscord is a free and open source software compatible with Discord. It's a chat, voice and video platform similar to Slack and Rocket.chat." }
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]
},
@ -27,7 +29,7 @@ export default {
buildModules: [],
// Modules: https://go.nuxtjs.dev/config-modules
modules: ["@nuxtjs/markdownit"],
modules: ["@nuxtjs/markdownit", "@nuxtjs/robots"],
markdownit: {
runtime: true, // Support `$md()`
html: true,
@ -41,5 +43,11 @@ export default {
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {},
target: "static"
target: "static",
//Crawler Instruction
robots: {
UserAgent: '*',
Disallow: ''
}
};

2969
package-lock.json
File diff suppressed because it is too large
View File

1
package.json

@ -11,6 +11,7 @@
},
"dependencies": {
"@nuxtjs/markdownit": "^2.0.0",
"@nuxtjs/robots": "^2.5.0",
"core-js": "^3.15.1",
"nuxt": "^2.15.7",
"nuxt-property-decorator": "^2.9.1"

Loading…
Cancel
Save