mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
24 lines
754 B
TypeScript
24 lines
754 B
TypeScript
export default defineNuxtPlugin(() => {
|
|
useHead({
|
|
script: [
|
|
{
|
|
type: 'speculationrules',
|
|
innerHTML: JSON.stringify({
|
|
prerender: [
|
|
{
|
|
where: {
|
|
and: [
|
|
{ href_matches: '/*' },
|
|
{ not: { selector_matches: '.no-prerender' } },
|
|
{ not: { selector_matches: '[rel~=nofollow]' } },
|
|
],
|
|
},
|
|
},
|
|
],
|
|
eagerness: 'moderate',
|
|
}),
|
|
},
|
|
],
|
|
});
|
|
});
|