From 673a4b99ae18dff1ed0e22569188141f0476168d Mon Sep 17 00:00:00 2001 From: kurets Date: Thu, 20 Jul 2023 21:40:29 +0300 Subject: [PATCH] add last updated to each article --- config.toml | 1 + .../index.html | 5 +- .../blog/meta-description-in-hugo/index.html | 5 +- .../multiple-index-pages-in-hugo/index.html | 5 +- .../blog/pluralization-issues/index.html | 5 +- .../blog/recover-lost-anki-streak/index.html | 5 +- public/articles/index.html | 2 +- public/articles/index.xml | 1 - public/articles/updates/helloworld/index.html | 5 +- .../updates/updated-the-css-again/index.html | 5 +- .../articles/updates/yoinked-css/index.html | 5 +- public/contact/index.html | 5 +- public/index.html | 5 +- public/index.xml | 1 - .../00-00-hackbookeasypeasy/index.html | 5 +- .../library/hackbook/01-01-preface/index.html | 5 +- .../library/hackbook/01-02-warning/index.html | 5 +- public/library/hackbook/01-03-fear/index.html | 5 +- .../hackbook/02-01-introduction/index.html | 5 +- .../hackbook/02-02-sister-kenny/index.html | 5 +- .../index.html | 5 +- .../hackbook/03-02-the-easy-method/index.html | 5 +- .../index.html | 5 +- .../03-04-the-sinister-trap/index.html | 5 +- .../index.html | 5 +- .../hackbook/03-06-internet-porn/index.html | 5 +- .../index.html | 5 +- .../index.html | 5 +- .../library/hackbook/03-09-stress/index.html | 5 +- .../library/hackbook/03-10-boredom/index.html | 5 +- .../hackbook/03-11-concentration/index.html | 5 +- .../hackbook/03-12-relaxation/index.html | 5 +- .../03-13-social-night-pmoing/index.html | 5 +- .../03-14-what-am-i-giving-up/index.html | 5 +- .../03-15-self-imposed-slavery/index.html | 5 +- .../index.html | 5 +- .../library/hackbook/03-17-health/index.html | 5 +- .../library/hackbook/03-18-energy/index.html | 5 +- .../index.html | 5 +- .../index.html | 5 +- .../index.html | 5 +- .../index.html | 5 +- .../03-23-beware-of-cutting-down/index.html | 5 +- .../hackbook/03-24-just-one-peek/index.html | 5 +- .../index.html | 5 +- .../03-26-the-youtube-pmoer/index.html | 5 +- .../hackbook/03-27-a-social-habit/index.html | 5 +- .../library/hackbook/03-28-timing/index.html | 5 +- .../03-29-will-i-miss-the-fun/index.html | 5 +- .../03-30-can-i-compartmentalize/index.html | 5 +- .../03-31-avoid-false-incentives/index.html | 5 +- .../03-32-the-easy-way-to-stop/index.html | 5 +- .../03-33-the-withdrawal-period/index.html | 5 +- .../hackbook/03-34-just-one-peek/index.html | 5 +- .../03-35-will-it-be-harder-for-me/index.html | 5 +- .../index.html | 5 +- .../hackbook/03-37-substitutes/index.html | 5 +- .../index.html | 5 +- .../03-39-the-moment-of-revelation/index.html | 5 +- .../hackbook/03-40-the-final-visit/index.html | 5 +- .../hackbook/03-41-a-final-warning/index.html | 5 +- .../hackbook/03-42-feedback/index.html | 5 +- .../index.html | 5 +- .../03-44-advice-to-non-pmoers/index.html | 5 +- .../03-45-should-i-tell-my-so/index.html | 5 +- .../04-01-the-instructions/index.html | 5 +- .../04-02-rebt-coping-statements/index.html | 5 +- .../hackbook/05-01-scripts-01/index.html | 5 +- .../hackbook/05-01-scripts-02/index.html | 5 +- .../hackbook/05-01-scripts-03/index.html | 5 +- .../hackbook/05-01-scripts-04/index.html | 5 +- .../hackbook/05-01-scripts-05/index.html | 5 +- public/library/hackbook/fin/index.html | 5 +- public/library/hackbook/index.html | 2 +- public/library/index.html | 2 +- public/library/index.xml | 1 - .../index.html | 5 +- .../index.html | 5 +- .../hit-where-it-hurts/index.html | 5 +- public/library/ted-kaczynski/index.html | 2 +- .../index.html | 5 +- .../morality-and-revolution/index.html | 5 +- .../progress-vs-liberty/index.html | 5 +- .../ted-kaczynski/ship-of-fools/index.html | 5 +- .../the-littering-ape/index.html | 5 +- .../index.html | 5 +- .../the-road-to-revolution/index.html | 5 +- .../the-systems-neatest-trick/index.html | 5 +- .../the-techies-wet-dreams/index.html | 5 +- .../index.html | 5 +- .../when-non-violence-is-suicide/index.html | 5 +- .../index.html | 5 +- public/sitemap.xml | 201 +++++++++--------- public/style.css | 2 +- public/tags/blog/index.html | 2 +- public/tags/hackbook/index.html | 2 +- public/tags/index.html | 2 +- public/tags/library/index.html | 2 +- public/tags/personal/index.html | 2 +- public/tags/ted-kaczynski/index.html | 2 +- public/tags/updates/index.html | 2 +- static/style.css | 2 +- themes/lugo/layouts/_default/baseof.html | 4 +- 103 files changed, 370 insertions(+), 285 deletions(-) diff --git a/config.toml b/config.toml index 332d3858..de789afc 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,7 @@ languageCode = 'en-us' title = 'vodoraslo' theme = 'lugo' pluralizelisttitles = false +enableGitInfo = true [params] description = "A blog about the things I'm interested in - Japanese, my library and posting obscure problems I've solved. Will post my takes on 神ゲー vinnies" diff --git a/public/articles/blog/how-i-fixed-my-synapse-matrix-federation/index.html b/public/articles/blog/how-i-fixed-my-synapse-matrix-federation/index.html index 35f9c50e..87515c3c 100644 --- a/public/articles/blog/how-i-fixed-my-synapse-matrix-federation/index.html +++ b/public/articles/blog/how-i-fixed-my-synapse-matrix-federation/index.html @@ -4,7 +4,7 @@ How I Fixed My Synapse's Matrix Federation | vodoraslo - +

Federation issues

+
+

Last updated: 2023年5月14日 (日)

Federation issues

I for the life of me couldn’t get synapse’s (matrix’s) federation to work. It said that the encryption couldn’t be trusted, i could join public rooms but i couldn’t start any chats, i couldn’t invite people to my rooms, i couldn’t get invited to rooms.

How I fixed it

Go to your homeserver.yaml file

diff --git a/public/articles/blog/meta-description-in-hugo/index.html b/public/articles/blog/meta-description-in-hugo/index.html index 1b51b64b..59a6a92b 100644 --- a/public/articles/blog/meta-description-in-hugo/index.html +++ b/public/articles/blog/meta-description-in-hugo/index.html @@ -4,7 +4,7 @@ Meta Description in Hugo | vodoraslo - + @@ -23,7 +23,8 @@
-

Adding meta description in Hugo

+
+

Last updated: 2023年5月14日 (日)

Adding meta description in Hugo

I assume you are using Luke Smith’s theme - Lugo, if you are not, you’d have to find these files yourself (e.g. search using vscode).

Setting a global meta description

    diff --git a/public/articles/blog/multiple-index-pages-in-hugo/index.html b/public/articles/blog/multiple-index-pages-in-hugo/index.html index cc3cd2bf..f42b6978 100644 --- a/public/articles/blog/multiple-index-pages-in-hugo/index.html +++ b/public/articles/blog/multiple-index-pages-in-hugo/index.html @@ -4,7 +4,7 @@ Multiple Index Pages in Hugo | vodoraslo - +
  1. Using your custom _index.html
  2. -

    This is how to create multiple index pages in Hugo

    +
    +

    Last updated: 2023年5月14日 (日)

    This is how to create multiple index pages in Hugo

    I wanted to order Hackbook in reverse (i.e. oldest to newest) so that it’s easier for the reader to start at the correct page.

    I ran into the following problem - the default list.html does them from newest to oldest.

    So I found this forum post and I created a file in the _default directory as follows:

    diff --git a/public/articles/blog/pluralization-issues/index.html b/public/articles/blog/pluralization-issues/index.html index 31be73b6..68192514 100644 --- a/public/articles/blog/pluralization-issues/index.html +++ b/public/articles/blog/pluralization-issues/index.html @@ -4,7 +4,7 @@ Pluralization Issues (Blogs Instead of Blog) | vodoraslo - +
    -

    this is my first entry and i’m already having issues lol

    +
    +

    Last updated: 2023年5月14日 (日)

    this is my first entry and i’m already having issues lol

    So I wanted to make a quick entry, see how it looks like and I stumbled upon this issue of hugo pluralzing Blog into Blogs

    You can fix this in config.toml with the following line

    diff --git a/public/articles/blog/recover-lost-anki-streak/index.html b/public/articles/blog/recover-lost-anki-streak/index.html index 6a1dc086..a0163150 100644 --- a/public/articles/blog/recover-lost-anki-streak/index.html +++ b/public/articles/blog/recover-lost-anki-streak/index.html @@ -4,7 +4,7 @@ Recover Lost Anki Streak | vodoraslo - +

    How to recover a lost anki streak

    +
    +

    Last updated: 2023年5月14日 (日)

    How to recover a lost anki streak

    Word for word copy paste of what fixed my issue. Original post

    btw i had to create a seperate Custom Study for cards i had forgotten, i set it to 1 day, did one review and followed from step 7

    Happened to me as well, idk why. But there is a way to cheat streaks:

    diff --git a/public/articles/index.html b/public/articles/index.html index 13f9aba0..088f49c7 100644 --- a/public/articles/index.html +++ b/public/articles/index.html @@ -4,7 +4,7 @@ Articles | vodoraslo - + diff --git a/public/articles/index.xml b/public/articles/index.xml index 7cf26bf5..08534fbd 100644 --- a/public/articles/index.xml +++ b/public/articles/index.xml @@ -5,7 +5,6 @@ Recent content in Articles on vodoraslo Hugo -- gohugo.io en-us - Thu, 04 May 2023 10:12:26 +0300 diff --git a/public/articles/updates/helloworld/index.html b/public/articles/updates/helloworld/index.html index 1fbae791..f390e009 100644 --- a/public/articles/updates/helloworld/index.html +++ b/public/articles/updates/helloworld/index.html @@ -4,7 +4,7 @@ Hello World / About Me | vodoraslo - +

    Obligatory Hello World!

    +
    +

    Last updated: 2023年5月14日 (日)

    Obligatory Hello World!

    trying to see which hugo theme i like best

    had some issues with papermod and their css not working so for now i’ll use lugo

    i think the css looks pretty alright

    diff --git a/public/articles/updates/updated-the-css-again/index.html b/public/articles/updates/updated-the-css-again/index.html index 1266259d..1332311c 100644 --- a/public/articles/updates/updated-the-css-again/index.html +++ b/public/articles/updates/updated-the-css-again/index.html @@ -4,7 +4,7 @@ Updated the Css Again (Prefers-Color-Scheme) | vodoraslo - +

    I actually updated the css once more.

    +
    +

    Last updated: 2023年5月14日 (日)

    I actually updated the css once more.

    If you’re using a dark theme in your browser, the website will follow suit and change to darker colors.

    I did this by setting the light theme to be by default for more readability:

    diff --git a/public/articles/updates/yoinked-css/index.html b/public/articles/updates/yoinked-css/index.html index 29ea6ace..9312954b 100644 --- a/public/articles/updates/yoinked-css/index.html +++ b/public/articles/updates/yoinked-css/index.html @@ -4,7 +4,7 @@ Yoinked Some Css and Updated the Site | vodoraslo - + @@ -23,7 +23,8 @@
    -

    yoinked lukes css and updated the site, its basically his colors for the headers and my cyan anchor links.. very pretty much wow

    +
    +

    Last updated: 2023年5月14日 (日)

    yoinked lukes css and updated the site, its basically his colors for the headers and my cyan anchor links.. very pretty much wow

    ⏩📧 Reply via email! diff --git a/public/contact/index.html b/public/contact/index.html index e30fa419..1e7d448c 100644 --- a/public/contact/index.html +++ b/public/contact/index.html @@ -4,7 +4,7 @@ Contact | vodoraslo - + @@ -24,7 +24,8 @@ Email - contact@vodoraslo.xyz (PGP) XMPP - nebe@yourdata.forsale "/>
    -

    You can contact me by:

    +
    +

    Last updated: 2023年7月9日 (日)

    You can contact me by: