replace primary domain

This commit is contained in:
Hans Pagel
2021-04-21 15:28:52 +02:00
parent c0bf58bf18
commit 1677f5064f
5 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ We use Netlify to host the documentation. It features continuous deployment from
### Tracking (Plausible)
We use [Plausible](https://plausible.io) to gain insight about our visitors in general. It doesnt track individual users per se and does not store any personal identifiable information. Go to [their documentation](https://plausible.io/data-policy) to find out what Simple Analytics collects (and more importantly what they dont).
Or have a look at the [public analytics dashboard](https://plausible.io/next.tiptap.dev) they provide. Its not a stripped down version, its the exact same dashboard we use to check the traffic.
Or have a look at the [public analytics dashboard](https://plausible.io/tiptap.dev) they provide. Its not a stripped down version, its the exact same dashboard we use to check the traffic.
### Search (Algolia)
We use [Algolia DocSearch](https://docsearch.algolia.com/) to offer search functionality for the documentation. They crawl the same pages as you see once every day. If you click on the search field on top of this page, their search interface pops up.

View File

@@ -8,7 +8,7 @@
${app}
${scripts}
${process.env.NODE_ENV === 'production'
? '<script async defer data-exclude="/demos/**" data-domain="next.tiptap.dev" src="https://plausible.io/js/plausible.exclusions.js"></script>'
? '<script async defer data-exclude="/demos/**" data-domain="tiptap.dev" src="https://plausible.io/js/plausible.exclusions.js"></script>'
: ''
}
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js"></script>

View File

@@ -248,7 +248,7 @@ export default {
},
{
property: 'og:image',
content: 'https://next.tiptap.dev/images/og-image.png',
content: 'https://www.tiptap.dev/images/og-image.png',
},
/* Twitter */
{
@@ -261,7 +261,7 @@ export default {
},
{
name: 'twitter:image',
content: 'https://next.tiptap.dev/images/og-image.png',
content: 'https://www.tiptap.dev/images/og-image.png',
},
{
name: 'twitter:site',

View File

@@ -69,7 +69,7 @@ export default {
const path = this.$route.path.replace(/\/$/, '')
return path === ''
? 'https://next.tiptap.dev/og-image.png'
? 'https://www.tiptap.dev/og-image.png'
: `/images${path}/og-image.png`
},
},