Skip to content
Snippets Groups Projects
Commit 23b95abe authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

configure a bit nuxt seo

parent 03ecb672
No related branches found
No related tags found
1 merge request!17Seo
Pipeline #125918 failed
...@@ -99,9 +99,9 @@ function goToAnalysis(analysisId: number) { ...@@ -99,9 +99,9 @@ function goToAnalysis(analysisId: number) {
</v-text-field> </v-text-field>
</template> </template>
<span v-else> <span v-else>
<NuxtLink :to="`/analyses/${analysis.raw.id}/systems`" style="color: inherit; text-decoration: none;"> <SiteLink :to="`/analyses/${analysis.raw.id}/systems`" style="color: inherit; text-decoration: none;">
{{ analysis.raw.name }} {{ analysis.raw.name }}
</NuxtLink> </SiteLink>
</span> </span>
</template> </template>
......
...@@ -19,6 +19,7 @@ export default defineNuxtConfig({ ...@@ -19,6 +19,7 @@ export default defineNuxtConfig({
'vuetify-nuxt-module', 'vuetify-nuxt-module',
'@nuxtjs/plausible', '@nuxtjs/plausible',
"nuxt-security", "nuxt-security",
'@nuxtjs/seo',
// "nuxt-csurf", // "nuxt-csurf",
], ],
css: [ css: [
...@@ -28,7 +29,12 @@ export default defineNuxtConfig({ ...@@ -28,7 +29,12 @@ export default defineNuxtConfig({
'@vue-flow/controls/dist/style.css', '@vue-flow/controls/dist/style.css',
], ],
site: {
url: 'https://defensefinder.mdmlab.fr',
name: 'DefenseFinder webservice and knowledge base',
description: 'On this site, you can freely use (without any login) the DefenseFinder webservice (see below) and get help to navigate the ever expanding world of defense systems.There is a collaborative knowledge base of defense systems that provide essential information on any given defense systems',
defaultLocale: 'en', // not needed if you have @nuxtjs/i18n installed
},
security: { security: {
// csrf: { // csrf: {
// // https: false, // // https: false,
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"devDependencies": { "devDependencies": {
"@nuxt/devtools": "latest", "@nuxt/devtools": "latest",
"@nuxtjs/plausible": "^0.2.4", "@nuxtjs/plausible": "^0.2.4",
"@nuxtjs/seo": "^2.0.0-rc.9",
"@types/node": "^20.11.6", "@types/node": "^20.11.6",
"nuxt": "^3.9.3", "nuxt": "^3.9.3",
"nuxt-security": "^0.14.2", "nuxt-security": "^0.14.2",
......
...@@ -481,7 +481,6 @@ const selectedResult = ref(null); ...@@ -481,7 +481,6 @@ const selectedResult = ref(null);
Hmmer Hmmer
</v-btn> </v-btn>
</v-btn-toggle> </v-btn-toggle>
<!-- <NuxtLink :to="`/analyses/${analysis.id}/genes`">Genes</NuxtLink> -->
</v-card-text> </v-card-text>
</template> </template>
<NuxtPage /> <NuxtPage />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment