From 755695121de29be8714f7a7660a4c50c94cf932c Mon Sep 17 00:00:00 2001 From: "Tim J. Kicker" Date: Thu, 18 May 2023 19:16:02 +0200 Subject: [PATCH] fix bugs --- _config.yml | 17 ++++++++++++++++- package-lock.json | 13 +++++++++++++ package.json | 1 + source/About/index.md | 18 ++++++++++++------ themes/minima/_config.yml | 6 +++--- themes/minima/layout/partial/footer.ejs | 12 +++++++----- themes/minima/layout/partial/header.ejs | 9 +++++++++ 7 files changed, 61 insertions(+), 15 deletions(-) diff --git a/_config.yml b/_config.yml index 90a72ca..912959b 100644 --- a/_config.yml +++ b/_config.yml @@ -3,7 +3,7 @@ ## Source: https://github.com/hexojs/hexo/ # Site -title: Hexo +title: Tim's Blog subtitle: '' description: '' keywords: @@ -120,3 +120,18 @@ hfc_js: compress: exclude: - '*.min.js' + + +feed: + enable: true + type: atom + path: atom.xml + limit: 20 + hub: + content: + content_limit: 140 + content_limit_delim: ' ' + order_by: -date + icon: icon.png + autodiscovery: true + template: diff --git a/package-lock.json b/package-lock.json index 7358775..4d2b5dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "hexo": "^6.3.0", "hexo-generator-archive": "^2.0.0", "hexo-generator-category": "^2.0.0", + "hexo-generator-feed": "^3.0.0", "hexo-generator-index": "^3.0.0", "hexo-generator-tag": "^2.0.0", "hexo-renderer-ejs": "^2.0.0", @@ -1004,6 +1005,18 @@ "node": ">=14" } }, + "node_modules/hexo-generator-feed": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-generator-feed/-/hexo-generator-feed-3.0.0.tgz", + "integrity": "sha512-Jo35VSRSNeMitS2JmjCq3OHAXXYU4+JIODujHtubdG/NRj2++b3Tgyz9pwTmROx6Yxr2php/hC8og5AGZHh8UQ==", + "dependencies": { + "hexo-util": "^2.1.0", + "nunjucks": "^3.0.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/hexo-generator-index": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/hexo-generator-index/-/hexo-generator-index-3.0.0.tgz", diff --git a/package.json b/package.json index 9644bd2..7a75d11 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "hexo": "^6.3.0", "hexo-generator-archive": "^2.0.0", "hexo-generator-category": "^2.0.0", + "hexo-generator-feed": "^3.0.0", "hexo-generator-index": "^3.0.0", "hexo-generator-tag": "^2.0.0", "hexo-renderer-ejs": "^2.0.0", diff --git a/source/About/index.md b/source/About/index.md index a96e167..41da4d0 100644 --- a/source/About/index.md +++ b/source/About/index.md @@ -16,18 +16,18 @@ And since I find it difficult to describe myself in sentences, I'll just throw s var tK = new Person("Tim","Kicker"); tK.State = "Austria"; -tk.Interests = {"Linux","Selfhosting","Vinyl", +tK.Interests = {"Linux","Selfhosting","Vinyl", "Data curation", "Privacy (Datnschützr würd ma sega)"}; -tk.FavGames = {"Half-Life 2", +tK.FavGames = {"Half-Life 2", "Lego Universe", "Far Cry 3", "Portal 2"}; -tk.FavLang = "CSharp"; -tk.LeastFavLang = "JS"; -tk.FavColor = "Black (If that's a color??)"; +tK.FavLang = "CSharp"; +tK.LeastFavLang = "JS"; +tK.FavColor = "Black (If that's a color??)"; {% endcodeblock %} @@ -36,4 +36,10 @@ tk.FavColor = "Black (If that's a color??)"; Feel free to leave me a message! (github, mail, blog-comment,...) -c: \ No newline at end of file +c: + + diff --git a/themes/minima/_config.yml b/themes/minima/_config.yml index d4d5194..6ed7f5c 100644 --- a/themes/minima/_config.yml +++ b/themes/minima/_config.yml @@ -31,8 +31,8 @@ footer: true placename: opensource placelink: https://github.com/timkicker/timkicker.github.io github: https://github.com/timkicker +twitter: https://twitter.com/timjkicker/ linkedin: https://www.linkedin.com/in/tim-kicker-5438b1237/ -#twitter: https://twitter.com/adisaktijrs #instagram: https://instagram.com/adisaktijrs # Misc @@ -49,5 +49,5 @@ article: thumbnail: true # DISQUS comments (sign up to Disqus to get disqus_shortname) -disqus_enabled: false -disqus_shortname: https-tim-kicker +disqus_enabled: true +disqus_shortname: tim-kicker-dev diff --git a/themes/minima/layout/partial/footer.ejs b/themes/minima/layout/partial/footer.ejs index cf0c092..1bee635 100644 --- a/themes/minima/layout/partial/footer.ejs +++ b/themes/minima/layout/partial/footer.ejs @@ -10,6 +10,12 @@
+ <% if (theme.twitter) { %> + + + + <% } %> + <% if (theme.github) { %> GitHub @@ -22,11 +28,7 @@ <% } %> - <% if (theme.twitter) { %> - - - - <% } %> + <% if (theme.instagram) { %> diff --git a/themes/minima/layout/partial/header.ejs b/themes/minima/layout/partial/header.ejs index 63940fa..c448f0f 100644 --- a/themes/minima/layout/partial/header.ejs +++ b/themes/minima/layout/partial/header.ejs @@ -31,6 +31,15 @@
+ + +