Enable some theme features
This commit is contained in:
parent
559cb052b0
commit
1590d3fe27
@ -4,6 +4,7 @@ import footnote from 'markdown-it-footnote';
|
||||
|
||||
export default defineConfig({
|
||||
title: 'HPG Romein',
|
||||
description: ' ',
|
||||
lang: 'nl',
|
||||
assetsDir: 'immutable',
|
||||
|
||||
@ -43,6 +44,19 @@ export default defineConfig({
|
||||
darkModeSwitchTitle: 'Licht thema',
|
||||
returnToTopLabel: 'Terug naar boven',
|
||||
|
||||
editLink: {
|
||||
pattern: 'https://code.smartyellow.net/romein/hpg/src/branch/main/content/:path',
|
||||
text: 'Deze pagina is open source!',
|
||||
},
|
||||
|
||||
lastUpdated: {
|
||||
text: 'Laatste aanpassing',
|
||||
formatOptions: {
|
||||
dateStyle: 'long',
|
||||
timeStyle: 'short',
|
||||
},
|
||||
},
|
||||
|
||||
docFooter: {
|
||||
prev: 'Vorige',
|
||||
next: 'Volgende',
|
||||
@ -55,6 +69,15 @@ export default defineConfig({
|
||||
copyright: `© 2022-${new Date().getFullYear()} Romein van Buren.`,
|
||||
},
|
||||
|
||||
head: [
|
||||
[ 'script', {
|
||||
async: '',
|
||||
defer: '',
|
||||
src: 'https://static.cloudflareinsights.com/beacon.min.js',
|
||||
'data-cf-beacon': '{"token": "e1c160a4aa1641b1b8a387ad6438647b"}',
|
||||
} ],
|
||||
],
|
||||
|
||||
markdown: {
|
||||
config: md => {
|
||||
md.use(footnote);
|
||||
|
Loading…
Reference in New Issue
Block a user