# build
yarn build
-# copy output files to $HOME/www.zndr.dk
+# copy output files to $HOME/public
echo "Copying files..."
-rm -rf $HOME/www.zndr.dk/*
+rm -rf $HOME/public/*
-cp -R public/* $HOME/www.zndr.dk
+cp -R docs/.vuepress/public/* $HOME/public
+cp docs/img/favicon.ico $HOME/public
],
},
],
- ],
-}
-
-
-module.exports = {
- markdown: {
- lineNumbers: true
- }
+ ]
}
module.exports = {
+ base: '/',
title: 'zndr.dk',
- description: 'Webserver',
-// base: '/vuepress/',
- dest: 'public',
+ description: 'Project for my Vuepress based Home webserver',
+ head: [
+ ['link', { rel: 'icon', href: '/favicon.ico' }]
+ ],
+ dest: 'docs/.vuepress/public',
themeConfig: {
sidebar:'false',
nav: [
{ text: 'Webmail', link: 'https://mail.zndr.dk', target:'_self', rel:'' },
{ text: 'Nextcloud', link: 'https://cloud.zndr.dk', target:'_self', rel:'' },
{ text: 'PostfixAdmin', link: 'https://pfa.zndr.dk', target:'_self', rel:'' },
- { text: 'Gitlab', link: 'https://git.zndr.dk', target:'_self', rel:'' },
+ { text: 'GitLab', link: 'https://git.zndr.dk', target:'_self', rel:'' },
{ text: 'Plex', link: 'https://play.zndr.dk', target:'_self', rel:'' },
{ text: 'phpMyAdmin', link: 'https://pma.zndr.dk', target:'_self', rel:'' }
]
{
text: 'About',
link: '/about.html'
- },
+ }
],
lastUpdate: 'Last Updated',
displayAllHeaders: true
+ },
+ markdown: {
+ lineNumbers: true
}
}