Change pages title and add third party legal mentions

This commit is contained in:
2024-07-30 00:17:56 +02:00
parent efdfa92775
commit 1d2a89e001
10 changed files with 63 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
import type { MarkdownRoot, ParsedContent, TocLink } from '@nuxt/content/dist/runtime/types';
import type { Canvas, CanvasContent } from '~/types/canvas';
import { stringifyParsedURL } from 'ufo';
import { stringifyParsedURL, parseURL } from 'ufo';
interface ParsedContentExtended extends Omit<ParsedContent, 'body'> {
body: MarkdownRoot | CanvasContent | null;
@@ -160,7 +160,7 @@ function hidePreview(e: Event) {
</div>
</Teleport>
</template>
<a v-bind="$attrs" v-else>
<a v-bind="$attrs" :href="href" :target="target" v-else>
<slot></slot>
</a>
</template>