Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta keywords, seo description/title, canonical domains #187

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'

const BASE_URL = 'https://diffviewer.vercel.app'
const DESCRIPTION =
'A privacy first diff viewer that is secure, easy, simple and for any text type'
'A tool that helps you compare any two text blocks without sending any of your data to our servers'
const domainAliases = [
'https://diffchecker.vercel.app/',
'https://textdiff.vercel.app/',
'https://differencer.vercel.app/',
'https://diffie.vercel.app/',
'https://differencefinder.vercel.app/',
'https://differentiator.vercel.app/',
'https://text-differentiator.vercel.app/',
]
const canonicalLinks = domainAliases.map((x) => ({ rel: 'canonical', href: x }))
export default {
ssr: false,
head: {
title: `Diff viewer - ${DESCRIPTION}`,
title: `${DESCRIPTION} | Diff Viewer`,
script: [
{
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4467877923505914',
Expand All @@ -24,6 +26,11 @@ export default {
],
meta: [
{ charset: 'utf-8' },
{
name: 'keywords',
content:
'compare text, difference, diff view, diff viewer, hamming distance, difference, data privacy, differentiate, differentiator, text differentiator',
},
{ name: 'color-scheme', content: 'dark light' },
{
name: 'viewport',
Expand Down
2 changes: 1 addition & 1 deletion pages/v2/diff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default Vue.extend({
},
head() {
return {
title: 'Diff Viewer - Diff view',
title: 'Diff view | Diff Viewer',
}
},
computed: {
Expand Down
Loading