This commit is contained in:
1 parent
3344072a9a
commit
4eff4de734
1 file changed
+2
-2
@@ -1,7 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
|
||||||
import { resolve } from '$app/paths';
|
|
||||||
import { addToast } from '$lib/stores/toast.svelte';
|
import { addToast } from '$lib/stores/toast.svelte';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import Tabs from './Tabs.svelte';
|
import Tabs from './Tabs.svelte';
|
||||||
@@ -141,7 +140,8 @@
|
|||||||
{#if previewable}
|
{#if previewable}
|
||||||
<a
|
<a
|
||||||
class="cover-preview-link"
|
class="cover-preview-link"
|
||||||
href={resolve(cover)}
|
href={cover}
|
||||||
|
rel="external"
|
||||||
data-fancybox="featured-image-preview"
|
data-fancybox="featured-image-preview"
|
||||||
data-caption={title || '特色图'}
|
data-caption={title || '特色图'}
|
||||||
aria-label="查看特色图大图"
|
aria-label="查看特色图大图"
|
||||||
|
|||||||
Reference in new issue
Block a user