From 5b39caf7a7a2ef9d227d480a780d830dfc4122fc Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sun, 22 Dec 2019 12:20:20 +0100 Subject: [PATCH] Add favicon.ico --- .gitignore | 2 +- .gitlab-ci.yml | 2 +- deploy.sh | 7 ++++--- docs/.vuepress/config.js | 25 ++++++++++++------------- docs/img/favicon.ico | Bin 0 -> 5182 bytes 5 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 docs/img/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 0000000000000000000000000000000000000000..beb88a4d532d2d18dd3ca8d93ad791b052e2891b GIT binary patch literal 5182 zcmeI0c}!DD9LEa+CV~(YS4~8Lcp%Y;N8%AhLo`tov(ZEZF^CvLB8h@+DX6Pt#bezR zLU3^xB=J}U6cv=9uv~H|$`L5a(E=6Z5DS!+``Z1&m~nV5EzAD9&*3@q=DqpM@ArP! zE01S@fA;n~oEPxyt$4g2csw44<9|Qm|FP?n9e*>&=;)|KA`y$ld_Mp9@#BXNANKV0 z3(Q;wzis@nwXdvM@L6&$=KL9A|hg7V1PWx za=pdgEEg{&GBMJKZv?JygfBbALeZyO$d#U+&dv@F4rXLz5cKNRtBZ?^^>P(Tg~tsK zqKX%JFSObQS%h-u%$bvxmd0|?2m0#Ot42mfkQ%nv-#_*$b;z4jlCwB)F}N<5UFw_a zIjgZl-CW#RQc^N+-aK%fot^O#aAg8F?7N;-J*xAu=K(e58;2!?4Gj;mAWmN|x3#qu zN(OhuiWRlBwH&T%sOwwFTi6mT{Mw(_ECd$d?*4hVyjjixafW)iaI`~*4uJ~`FDfeH zaAyf-Ee~1_)3p`ZLQFtc2Cd94&K?=n;`J<9y5^i2z9*4W<@}A81nNT$>Dlse3Kg!=+U~a%S z*m`k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