From: Jannik ZANDER Date: Sun, 22 Dec 2019 11:20:20 +0000 (+0100) Subject: Add favicon.ico X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=5b39caf7a7a2ef9d227d480a780d830dfc4122fc;p=vuepress.git Add favicon.ico --- diff --git a/.gitignore b/.gitignore index 2e831f0..9ca3e1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules -/public/ +docs/.vuepress/public/ *.log* diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1d58a9..6dc2b36 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ pages: artifacts: paths: - - public + - docs/.vuepress/public only: - master diff --git a/deploy.sh b/deploy.sh index 8e8410e..fff8025 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,10 +6,11 @@ set -e # 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 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index db9071d..4f25b22 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -13,22 +13,18 @@ module.exports = { ], }, ], - ], -} - - -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: [ @@ -37,7 +33,7 @@ module.exports = { { 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:'' } ] @@ -49,9 +45,12 @@ module.exports = { { text: 'About', link: '/about.html' - }, + } ], lastUpdate: 'Last Updated', displayAllHeaders: true + }, + markdown: { + lineNumbers: true } } diff --git a/docs/img/favicon.ico b/docs/img/favicon.ico new file mode 100644 index 0000000..beb88a4 Binary files /dev/null and b/docs/img/favicon.ico differ