From 32b5c5546e6a86af1e4aff90dd326568b39613a6 Mon Sep 17 00:00:00 2001 From: kurets Date: Thu, 20 Jul 2023 21:45:40 +0300 Subject: [PATCH] fix toc and last updated --- .../blog/how-i-fixed-my-synapse-matrix-federation/index.html | 5 ++--- public/articles/blog/meta-description-in-hugo/index.html | 5 ++--- public/articles/blog/multiple-index-pages-in-hugo/index.html | 5 ++--- public/articles/blog/pluralization-issues/index.html | 5 ++--- public/articles/blog/recover-lost-anki-streak/index.html | 5 ++--- public/articles/updates/helloworld/index.html | 5 ++--- public/articles/updates/updated-the-css-again/index.html | 5 ++--- public/articles/updates/yoinked-css/index.html | 5 ++--- public/contact/index.html | 5 ++--- public/index.html | 3 +-- public/library/hackbook/00-00-hackbookeasypeasy/index.html | 5 ++--- public/library/hackbook/01-01-preface/index.html | 5 ++--- public/library/hackbook/01-02-warning/index.html | 5 ++--- public/library/hackbook/01-03-fear/index.html | 5 ++--- public/library/hackbook/02-01-introduction/index.html | 5 ++--- public/library/hackbook/02-02-sister-kenny/index.html | 5 ++--- .../03-01-the-worst-pmo-addict-i-have-yet-to-meet/index.html | 5 ++--- public/library/hackbook/03-02-the-easy-method/index.html | 5 ++--- .../hackbook/03-03-why-is-it-difficult-to-stop/index.html | 5 ++--- public/library/hackbook/03-04-the-sinister-trap/index.html | 5 ++--- .../hackbook/03-05-why-do-we-carry-on-with-pmo/index.html | 5 ++--- public/library/hackbook/03-06-internet-porn/index.html | 5 ++--- .../index.html | 5 ++--- .../hackbook/03-08-relieving-withdrawal-pangs/index.html | 5 ++--- public/library/hackbook/03-09-stress/index.html | 5 ++--- public/library/hackbook/03-10-boredom/index.html | 5 ++--- public/library/hackbook/03-11-concentration/index.html | 5 ++--- public/library/hackbook/03-12-relaxation/index.html | 5 ++--- public/library/hackbook/03-13-social-night-pmoing/index.html | 5 ++--- public/library/hackbook/03-14-what-am-i-giving-up/index.html | 5 ++--- .../library/hackbook/03-15-self-imposed-slavery/index.html | 5 ++--- .../hackbook/03-16-i-will-save-x-hours-a-week/index.html | 5 ++--- public/library/hackbook/03-17-health/index.html | 5 ++--- public/library/hackbook/03-18-energy/index.html | 5 ++--- .../03-19-it-relaxes-me-and-gives-me-confidence/index.html | 5 ++--- .../hackbook/03-20-those-sinister-black-shadows/index.html | 5 ++--- .../03-21-the-advantages-of-being-a-pmoer/index.html | 5 ++--- .../03-22-the-willpower-method-of-stopping/index.html | 5 ++--- .../library/hackbook/03-23-beware-of-cutting-down/index.html | 5 ++--- public/library/hackbook/03-24-just-one-peek/index.html | 5 ++--- .../03-25-casual-pmoers-teenagers-non-pmoers/index.html | 5 ++--- public/library/hackbook/03-26-the-youtube-pmoer/index.html | 5 ++--- public/library/hackbook/03-27-a-social-habit/index.html | 5 ++--- public/library/hackbook/03-28-timing/index.html | 5 ++--- public/library/hackbook/03-29-will-i-miss-the-fun/index.html | 5 ++--- .../library/hackbook/03-30-can-i-compartmentalize/index.html | 5 ++--- .../library/hackbook/03-31-avoid-false-incentives/index.html | 5 ++--- .../library/hackbook/03-32-the-easy-way-to-stop/index.html | 5 ++--- .../library/hackbook/03-33-the-withdrawal-period/index.html | 5 ++--- public/library/hackbook/03-34-just-one-peek/index.html | 5 ++--- .../hackbook/03-35-will-it-be-harder-for-me/index.html | 5 ++--- .../hackbook/03-36-the-main-reasons-for-failure/index.html | 5 ++--- public/library/hackbook/03-37-substitutes/index.html | 5 ++--- .../03-38-should-i-avoid-temptation-situations/index.html | 5 ++--- .../hackbook/03-39-the-moment-of-revelation/index.html | 5 ++--- public/library/hackbook/03-40-the-final-visit/index.html | 5 ++--- public/library/hackbook/03-41-a-final-warning/index.html | 5 ++--- public/library/hackbook/03-42-feedback/index.html | 5 ++--- .../03-43-help-the-pmoer-left-on-the-sinking-ship/index.html | 5 ++--- .../library/hackbook/03-44-advice-to-non-pmoers/index.html | 5 ++--- public/library/hackbook/03-45-should-i-tell-my-so/index.html | 5 ++--- public/library/hackbook/04-01-the-instructions/index.html | 5 ++--- .../library/hackbook/04-02-rebt-coping-statements/index.html | 5 ++--- public/library/hackbook/05-01-scripts-01/index.html | 5 ++--- public/library/hackbook/05-01-scripts-02/index.html | 5 ++--- public/library/hackbook/05-01-scripts-03/index.html | 5 ++--- public/library/hackbook/05-01-scripts-04/index.html | 5 ++--- public/library/hackbook/05-01-scripts-05/index.html | 5 ++--- public/library/hackbook/fin/index.html | 5 ++--- .../ecofascism-an-aberrant-branch-of-leftism/index.html | 5 ++--- .../forward-to-technological-slavery/index.html | 5 ++--- public/library/ted-kaczynski/hit-where-it-hurts/index.html | 5 ++--- .../industrial-society-and-its-future/index.html | 5 ++--- .../library/ted-kaczynski/morality-and-revolution/index.html | 5 ++--- public/library/ted-kaczynski/progress-vs-liberty/index.html | 5 ++--- public/library/ted-kaczynski/ship-of-fools/index.html | 5 ++--- public/library/ted-kaczynski/the-littering-ape/index.html | 5 ++--- .../the-long-term-outcome-of-geo-engineering/index.html | 5 ++--- .../library/ted-kaczynski/the-road-to-revolution/index.html | 5 ++--- .../ted-kaczynski/the-systems-neatest-trick/index.html | 5 ++--- .../library/ted-kaczynski/the-techies-wet-dreams/index.html | 5 ++--- .../index.html | 5 ++--- .../ted-kaczynski/when-non-violence-is-suicide/index.html | 5 ++--- .../index.html | 5 ++--- themes/lugo/layouts/_default/baseof.html | 4 ++-- 85 files changed, 169 insertions(+), 253 deletions(-) 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 87515c3c..12b4d08c 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 @@ -24,9 +24,8 @@ nano /etc/matrix-synapse/homeserver.yaml and go all the way to the bottom or sea - -
-

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

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 59a6a92b..623da58a 100644 --- a/public/articles/blog/meta-description-in-hugo/index.html +++ b/public/articles/blog/meta-description-in-hugo/index.html @@ -22,9 +22,8 @@
- -
-

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

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 f42b6978..269cf46b 100644 --- a/public/articles/blog/multiple-index-pages-in-hugo/index.html +++ b/public/articles/blog/multiple-index-pages-in-hugo/index.html @@ -25,14 +25,13 @@ layouts |----**_default** |-------**hackbook** |-----------**order-by-oldest."/>
-
Table Of Contents: