From: Jannik ZANDER Date: Tue, 10 Dec 2019 21:24:24 +0000 (+0100) Subject: Add sidebar and dropdown menu X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=bca822692c75742d4a11c8850e860fe388b376be;p=vuepress.git Add sidebar and dropdown menu --- diff --git a/deploy.sh b/deploy.sh index 83087ce..20fde6f 100755 --- a/deploy.sh +++ b/deploy.sh @@ -13,6 +13,3 @@ rm -rf $HOME/www.zndr.dk/* cp -R docs/.vuepress/dist/* $HOME/www.zndr.dk - - - diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 85f25f5..ac4ed76 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -25,26 +25,32 @@ module.exports = { module.exports = { - title: "My personal server", - description: "Learning linux", + title: 'zndr.dk', + description: 'Home server', themeConfig: { + sidebar:'auto', nav: [ - { - text: 'Home', - link: '/' + { text: 'Links', + items: [ + { text: 'Nextcloud server', link: 'https://cloud.zndr.dk', target:'_self', rel:'' }, + { text: 'Gitlib server', link: 'https://git.zndr.dk', target:'_self', rel:'' }, + { text: 'Plex server', link: 'https://play.zndr.dk', target:'_self', rel:'' }, + { text: 'PostfixAdmin server', link: 'https://mail.zndr.dk', target:'_self', rel:'' }, + { text: 'phpMyAdmin server', link: 'https://pma.zndr.dk', target:'_self', rel:'' } + ] }, { - text: 'Links', - link: '/links/' + text: 'Blog', + link: '/pages/' }, { text: 'About', link: '/about/' }, - { - text: 'Blog', - link: '/pages/' - } - ] + ], + lastUpdate: 'Last Updated', + displayAllHeaders: true } } + + diff --git a/docs/README.md b/docs/README.md index e68ea30..59211af 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,9 @@ -# Home server +--- +--- -This is my personal server at home. The main idea is simply to use my own server, to the extend possible, instead of 'others' servers. And having some learning experiences while doing it. It runs mail-, cloud-, media-, git-, and the web-server you are looking at right now :). +# Home server +This is my personal home server. The idea is simply to use my own server, to the extend possible, instead of using 'others' servers. And having some learning experiences while doing it. It runs mail-, cloud-, media-, git-, and the web-server you are looking at right now :). +![Floating Dock](./assets/img/logo.jpg) diff --git a/docs/about.md b/docs/about.md index 775b803..88b37b9 100644 --- a/docs/about.md +++ b/docs/about.md @@ -1,3 +1,6 @@ +--- +--- + # About Hello! diff --git a/docs/assets/img/logo.jpg b/docs/assets/img/logo.jpg new file mode 100644 index 0000000..44e863a Binary files /dev/null and b/docs/assets/img/logo.jpg differ diff --git a/docs/links.md b/docs/links.md deleted file mode 100644 index f1730a6..0000000 --- a/docs/links.md +++ /dev/null @@ -1,12 +0,0 @@ -# Links - -[ Cloud ](https://cloud.zndr.dk) - -[ Mail ](https://mail.zndr.dk) - -[ Git ](https://git.zndr.dk) - -[ Play ](https://play.zndr.dk) - -[ pma ](https://pma.zndr.dk) -