From: Jannik ZANDER Date: Sun, 26 Jul 2020 07:39:23 +0000 (+0200) Subject: Disable blog theme X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=b0484df42fa2ef971b9ad1ecd6f8bbaa623db4db;p=vuepress.git Disable blog theme --- diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b3051b4..209c8aa 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,33 +1,11 @@ module.exports = { title: 'Jannik Zander', description: 'This my personal server. The concept is to use my own server instead of others. Whenever possible I will install and maintain a service myself.', - theme: '@vuepress/blog', - plugins: { - '@vuepress/blog': { - directories: [ - { - id: 'post', - dirname: '_posts', - path: '/posts/', - itemPermalink: '/posts/:year/:month/:day/:slug', - }, - ], - frontmatters: [ - { - id: "tag", - keys: ['tag', 'tags'], - path: '/tags/', - }, - ], - }, - 'sitemap': { - hostname: 'https://zndr.dk' - } - }, + //theme: '@vuepress/blog', themeConfig: { nav: [ - { text: 'Blog', link: '/posts/' }, - { text: 'Tags', link: '/tags/' }, + ////{ text: 'Blog', link: '/posts/' }, + ////{ text: 'Tags', link: '/tags/' }, ], footer: { contact: [{type: 'mail', link: 'mailto:webmaster@zndr.dk'}], @@ -35,6 +13,24 @@ module.exports = { }, logo: 'logo.png', lastUpdate: 'Last Updated', + directories: [ + { + id: 'post', + dirname: '_posts', + path: '/posts/', + itemPermalink: '/posts/:year/:month/:day/:slug', + }, + ], + frontmatters: [ + { + id: "tag", + keys: ['tag', 'tags'], + path: '/tags/', + }, + ], + }, + 'sitemap': { + hostname: 'https://zndr.dk' }, markdown: { lineNumbers: true @@ -43,5 +39,5 @@ module.exports = { ['link', { rel: 'icon', href: 'favicon.ico'}] ], base: '/', - dest: 'build', + dest: 'build' } diff --git a/docs/README.md b/docs/README.md index 1c9d70c..650c685 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,7 +10,7 @@ title: 'Jannik Zander' * [Mediaserver](https://play.zndr.dk) * [Gitserver](https://git.zndr.dk) * [UsersAdmin](https://users.zndr.dk) -* [MySQLserver](https://mysql.zndr.dk) +* [MySQLserver](https://my.zndr.dk) ### Linux server diff --git a/package.json b/package.json index 616a580..605b59c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "vuepress build docs" }, "devDependencies": { - "@vuepress/theme-blog": "^1.3.3", + "@vuepress/theme-blog": "^2.3.0", "vuepress": "^1.2.0" } } diff --git a/yarn.lock b/yarn.lock index 05b938a..95cb72d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -909,17 +909,19 @@ dependencies: lodash.debounce "^4.0.8" -"@vuepress/plugin-blog@^1.5.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-blog/-/plugin-blog-1.6.1.tgz#d24b9a4009a2501b26d7570c63272953de43b387" - integrity sha512-urLJxB2aLbIZ0uwfIX0tokistB5VnnRe2dViXujGu7Ijt+gAOqA/qOKR884tlBGMpmbtsfG6uxPgm04qsp/3Jg== +"@vuepress/plugin-blog@^1.9.2": + version "1.9.2" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-blog/-/plugin-blog-1.9.2.tgz#d463a218bf54b51a07b87eb703dc1cc9eddeef3c" + integrity sha512-1y4C7miuJyhP2YV9+8SGPzcwbyNqQWB1WQQf1AYdWvlAK/QrFdTXOtFyBKoViJppHxIkLLz+45bvOm5sIqjv6w== dependencies: "@vssue/api-github-v3" "^1.1.2" "@vssue/vuepress-plugin-vssue" "^1.2.0" + dayjs "^1.8.19" vuejs-paginate "^2.1.0" - vuepress-plugin-disqus-comment "^0.2.3" - vuepress-plugin-mailchimp "^1.2.0" - vuepress-plugin-sitemap "^2.3.0" + vuepress-plugin-disqus "^0.2.0" + vuepress-plugin-feed "^0.1.8" + vuepress-plugin-mailchimp "^1.4.1" + vuepress-plugin-sitemap "^2.3.1" "@vuepress/plugin-last-updated@^1.2.0": version "1.2.0" @@ -990,18 +992,20 @@ semver "^6.0.0" upath "^1.1.0" -"@vuepress/theme-blog@^1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@vuepress/theme-blog/-/theme-blog-1.3.3.tgz#52206fa4eb8235f24b7fa083bbbc389cba3acb76" - integrity sha512-6lk7z8YeUc075SXqQY11TeDRpJszB00bG6lPXIf4npBW37JFNYAZu47KguVFV9lGW1nANbHvMmyKj75/aUBJKQ== +"@vuepress/theme-blog@^2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@vuepress/theme-blog/-/theme-blog-2.3.0.tgz#8398b62bfdbcdd9731b47693ec7e7bad13c7e412" + integrity sha512-5uI2aBotjLZGF8i/AwLLCGkAetCBqIZSRmKXq9UyKkvqSk5WUISHLw6UMv3s+Hrpbiaea6hIBKtAtomxOBTr/g== dependencies: - "@vuepress/plugin-blog" "^1.5.1" + "@vuepress/plugin-blog" "^1.9.2" "@vuepress/plugin-medium-zoom" "1.0.0" "@vuepress/plugin-nprogress" "1.0.0" "@vuepress/plugin-pwa" "1.0.0" "@vuepress/plugin-search" "1.0.0" + dayjs "^1.8.19" remove-markdown "^0.3.0" vue-feather-icons "^4.21.0" + vuepress-plugin-smooth-scroll "^0.0.9" "@vuepress/theme-default@^1.2.0": version "1.2.0" @@ -2464,6 +2468,11 @@ date-fns@^1.29.0: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== +dayjs@^1.8.19: + version "1.8.30" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.30.tgz#d3b314d3ccdc179015d915fd3c6e14422c026378" + integrity sha512-5s5IGuP5bVvIbOWkEDcfmXsUj24fZW1NMHVVSdSFF/kW8d+alZcI9SpBKC+baEyBe+z3fUp17y75ulstv5swUw== + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -3098,6 +3107,14 @@ faye-websocket@~0.11.1: dependencies: websocket-driver ">=0.5.1" +feed@2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/feed/-/feed-2.0.4.tgz#14cd71b3bae1e965b81f7e0c5927e8941de996f8" + integrity sha512-sWatfulDP6d18qVaWcu34qmq9ml6UeN6nHSBJpNZ2muBqxjPAdT375whPYAHP+gqLfyabtYU5qf2Dv4nqtlp0w== + dependencies: + luxon "^1.3.3" + xml "^1.0.1" + figgy-pudding@^3.5.1: version "3.5.1" resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" @@ -4393,6 +4410,16 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.defaultsdeep@4.6.1: + version "4.6.1" + resolved "https://registry.yarnpkg.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6" + integrity sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA== + +lodash.isempty@4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" + integrity sha1-b4bL7di+TsmHvpqvM8loTbGzHn4= + lodash.kebabcase@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" @@ -4428,6 +4455,16 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" +lodash.trimend@^4.5.1: + version "4.5.1" + resolved "https://registry.yarnpkg.com/lodash.trimend/-/lodash.trimend-4.5.1.tgz#12804437286b98cad8996b79414e11300114082f" + integrity sha1-EoBENyhrmMrYmWt5QU4RMAEUCC8= + +lodash.trimstart@^4.5.1: + version "4.5.1" + resolved "https://registry.yarnpkg.com/lodash.trimstart/-/lodash.trimstart-4.5.1.tgz#8ff4dec532d82486af59573c39445914e944a7f1" + integrity sha1-j/TexTLYJIavWVc8OURZFOlEp/E= + lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -4470,6 +4507,11 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +luxon@^1.3.3: + version "1.24.1" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.24.1.tgz#a8383266131ed4eaed4b5f430f96f3695403a52a" + integrity sha512-CgnIMKAWT0ghcuWFfCWBnWGOddM0zu6c4wZAWmD0NN7MZTnro0+833DF6tJep+xlxRPg4KtsYEHYLfTMBQKwYg== + make-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -6103,7 +6145,7 @@ relateurl@0.2.x: resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -remove-markdown@^0.3.0: +remove-markdown@0.3.0, remove-markdown@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/remove-markdown/-/remove-markdown-0.3.0.tgz#5e4b667493a93579728f3d52ecc1db9ca505dc98" integrity sha1-XktmdJOpNXlyjz1S7MHbnKUF3Jg= @@ -6451,7 +6493,7 @@ slash@^2.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== -smoothscroll-polyfill@^0.4.3: +smoothscroll-polyfill@^0.4.3, smoothscroll-polyfill@^0.4.4: version "0.4.4" resolved "https://registry.yarnpkg.com/smoothscroll-polyfill/-/smoothscroll-polyfill-0.4.4.tgz#3a259131dc6930e6ca80003e1cb03b603b69abf8" integrity sha512-TK5ZA9U5RqCwMpfoMq/l1mrH0JAR7y7KRvOBx0n2869aLxch+gT9GhN3yUfjiw+d/DiF1mKo14+hd62JyMmoBg== @@ -6805,6 +6847,11 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +striptags@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/striptags/-/striptags-3.1.1.tgz#c8c3e7fdd6fb4bb3a32a3b752e5b5e3e38093ebd" + integrity sha1-yMPn/db7S7OjKjt1LltePjgJPr0= + stylehacks@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-4.0.3.tgz#6718fcaf4d1e07d8a1318690881e8d96726a71d5" @@ -7416,22 +7463,35 @@ vuepress-plugin-container@^2.0.2: dependencies: markdown-it-container "^2.0.0" -vuepress-plugin-disqus-comment@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/vuepress-plugin-disqus-comment/-/vuepress-plugin-disqus-comment-0.2.3.tgz#606c79af48a73ab21af95013154de8c3ddddad30" - integrity sha512-M1oBosK3XkXnmFg2MIUI420VRSk7hF0QXXAiyTUVb7tzdzAjKnRLzRAvLcnrLrXq7XklV7wxTa7o6R7NdWlirg== +vuepress-plugin-disqus@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/vuepress-plugin-disqus/-/vuepress-plugin-disqus-0.2.0.tgz#0a5bde424f81e0185eda36fba23d7ac4cae6ff07" + integrity sha512-kx+AeVzjJ9lx9bufLt1/X35V1VXfnQ1srkDMIzFKD9NyQ3eycsWQRcGO1dFe1HMrY3+7fTu+1/JeUEUEpGZ5tw== dependencies: vue-disqus "^3.0.5" -vuepress-plugin-mailchimp@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/vuepress-plugin-mailchimp/-/vuepress-plugin-mailchimp-1.3.1.tgz#c2001d4b5dc526617094d834cba8c961d5792a40" - integrity sha512-oyS2DrM5Wnr2/dYoGEig/IQff+vRtt7YXj/yRWDMy+fu/yscdwVvkLjBwVsJBeqDx+GWL4pXQtHY3majHIwH8g== +vuepress-plugin-feed@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/vuepress-plugin-feed/-/vuepress-plugin-feed-0.1.8.tgz#134c69f98c71994d17f926e3c7c2ad006f573195" + integrity sha512-ZDJ2KTAxdeXiykBKOWTht4qleImaY9OEbm9cqQdc/54j0P45ax1PhJjsq5aTs3GcIE1nbZKLCd4fSzhRY6bijg== + dependencies: + feed "2.0.4" + lodash.defaultsdeep "4.6.1" + lodash.isempty "4.4.0" + lodash.trimend "^4.5.1" + lodash.trimstart "^4.5.1" + remove-markdown "0.3.0" + striptags "3.1.1" + +vuepress-plugin-mailchimp@^1.4.1: + version "1.4.2" + resolved "https://registry.yarnpkg.com/vuepress-plugin-mailchimp/-/vuepress-plugin-mailchimp-1.4.2.tgz#373fa1df8f03a8993817b09ddfb8bd9d04a1c665" + integrity sha512-4t5ZaKZXu5ZkwgE+WW//7CgXgz6DEhRefGrO5aql4PwapauNXlHKgQ2JMf9FRe5y5WHjNpDHYveEDNzISZmxJw== dependencies: jsonp "^0.2.1" query-string "^6.9.0" -vuepress-plugin-sitemap@^2.3.0: +vuepress-plugin-sitemap@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-2.3.1.tgz#51298aca77a5de96396fdbd1103e1637dd61ae6a" integrity sha512-n+8lbukhrKrsI9H/EX0EBgkE1pn85LAQFvQ5dIvrZP4Kz6JxPOPPNTQmZMhahQV1tXbLZQCEN7A1WZH4x+arJQ== @@ -7445,6 +7505,13 @@ vuepress-plugin-smooth-scroll@^0.0.3: dependencies: smoothscroll-polyfill "^0.4.3" +vuepress-plugin-smooth-scroll@^0.0.9: + version "0.0.9" + resolved "https://registry.yarnpkg.com/vuepress-plugin-smooth-scroll/-/vuepress-plugin-smooth-scroll-0.0.9.tgz#6c5d01db60def3d7b976b53404e56b97da9e8f39" + integrity sha512-UXX+HLZO1NKVwyiOJlj0smh8F9dKnwybjEi7w/Mj9EYLhKrNYr5uXs+N+OTt8VwKCn3f0vZ1XAwFIjsPlD7GJA== + dependencies: + smoothscroll-polyfill "^0.4.4" + vuepress@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.2.0.tgz#2f2cdf337ad40a3e4866dfd33e97b840db386af7" @@ -7802,6 +7869,11 @@ ws@^6.2.1: dependencies: async-limiter "~1.0.0" +xml@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5" + integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU= + xmlbuilder@^13.0.0: version "13.0.2" resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-13.0.2.tgz#02ae33614b6a047d1c32b5389c1fdacb2bce47a7"