replace primary domain
This commit is contained in:
@@ -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 doesn’t 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 don’t).
|
||||
|
||||
Or have a look at the [public analytics dashboard](https://plausible.io/next.tiptap.dev) they provide. It’s not a stripped down version, it’s 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. It’s not a stripped down version, it’s 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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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`
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user