fix: show edit link in pages without siblings

pull/751/head
吕鹿鸣 3 years ago committed by GitHub
parent 81dfe36021
commit 0dcb846ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ const hasLastUpdated = computed(() => {
</script>
<template>
<footer v-if="control.prev || control.next" class="VPDocFooter">
<footer class="VPDocFooter">
<div class="edit-info">
<div v-if="theme.editLink && frontmatter.editLink !== false" class="edit-link">
<VPLink class="edit-link-button" :href="editLink.url" :no-icon="true">

Loading…
Cancel
Save