You've already forked obsidian-visualiser
Tests connexion
This commit is contained in:
@@ -116,7 +116,7 @@ function hidePreview(e: Event) {
|
||||
}
|
||||
</script>
|
||||
|
||||
<template >
|
||||
<template>
|
||||
<template v-if="href !== ''">
|
||||
<a @mouseenter="(e) => showPreview(e, true)" @mouseleave="hidePreview" v-bind="$attrs"
|
||||
:href="stringifyParsedURL({ host: '/explorer', pathname: (content?._path ?? href) + (isTag && anchor ? '/' + anchor.substring(1) : ''), hash: !isTag ? anchor : '', search: '' })"
|
||||
@@ -160,7 +160,7 @@ function hidePreview(e: Event) {
|
||||
</div>
|
||||
</Teleport>
|
||||
</template>
|
||||
<a v-bind="$attrs" :href="href" :target="target" v-else>
|
||||
<NuxtLink v-bind="$attrs" :to="href" v-else>
|
||||
<slot></slot>
|
||||
</a>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
@@ -2,6 +2,7 @@
|
||||
interface Props
|
||||
{
|
||||
toc: Toc;
|
||||
comments?: Comment[];
|
||||
}
|
||||
const props = defineProps<Props>();
|
||||
</script>
|
||||
@@ -9,14 +10,11 @@ const props = defineProps<Props>();
|
||||
<template>
|
||||
<div class="site-body-right-column">
|
||||
<div class="site-body-right-column-inner">
|
||||
<div v-if="comments !== undefined">
|
||||
{{ comments.length }} commentaire{{ comments.length === 1 ? '' : 's' }}
|
||||
</div>
|
||||
<div v-if="!!toc" class="outline-view-outer node-insert-event">
|
||||
<div class="list-item published-section-header">
|
||||
<span class="published-section-header-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icon lucide-list">
|
||||
<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line>
|
||||
<line x1="3" y1="18" x2="3.01" y2="18"></line>
|
||||
</svg>
|
||||
</span>
|
||||
<span>Sur cette page</span>
|
||||
</div>
|
||||
<div class="outline-view">
|
||||
|
||||
Reference in New Issue
Block a user