From 57047c6615b9d282dc627fd8515df5538011b11e Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Thu, 14 Oct 2021 16:17:07 -0500 Subject: [PATCH] Use yaml front matter instead of toml --- content/_index.md | 13 ++++--- content/archive/_index.es.md | 15 ++++---- content/archive/_index.md | 15 ++++---- .../blog/new-comment-system-again/index.md | 30 +++++++-------- .../archive/blog/new-comment-system/index.md | 30 +++++++-------- content/blog/_index.es.md | 13 ++++--- content/blog/_index.md | 13 ++++--- .../index.md | 24 ++++++------ .../checkra1n-gui-on-other-distros/index.md | 38 +++++++++---------- .../index.md | 34 ++++++++--------- .../index.md | 36 +++++++++--------- content/contact/index.md | 17 +++++---- content/donate/index.md | 19 +++++----- content/links/index.md | 23 +++++------ 14 files changed, 164 insertions(+), 156 deletions(-) diff --git a/content/_index.md b/content/_index.md index 7682333..d28e773 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,10 +1,11 @@ -+++ -title = "Home" +--- -description = """ -This is my website. -""" -+++ +title: Home + +description: | + This is my website. + +--- ## My Website diff --git a/content/archive/_index.es.md b/content/archive/_index.es.md index b812355..cead934 100644 --- a/content/archive/_index.es.md +++ b/content/archive/_index.es.md @@ -1,8 +1,9 @@ -+++ -title = "Archivo" -icon = "archive" +--- -description = """ -Entradas archivos de blog -""" -+++ +title: Archivo +icon: archive + +description: | + Entradas archivos de blog + +--- diff --git a/content/archive/_index.md b/content/archive/_index.md index a7451c1..5128bb8 100644 --- a/content/archive/_index.md +++ b/content/archive/_index.md @@ -1,8 +1,9 @@ -+++ -title = "Archive" -icon = "archive" +--- -description = """ -Archived blog posts -""" -+++ +title: Archive +icon: archive + +description: | + Archived blog posts + +--- diff --git a/content/archive/blog/new-comment-system-again/index.md b/content/archive/blog/new-comment-system-again/index.md index 4a54881..8e85add 100644 --- a/content/archive/blog/new-comment-system-again/index.md +++ b/content/archive/blog/new-comment-system-again/index.md @@ -1,20 +1,20 @@ -+++ -title = "New Comment System (again)" -date = "2021-04-17" -toc = true +--- -aliases = [ - "/blog/posts/new-comment-system-again/", - "/blog/new-comment-system-again/", - "/archive/new-comment-system-again/", -] +title: New Comment System (again) +date: "2021-04-17" +toc: true -tags = [ - "announcement", - "hugo", - "blog", -] -+++ +aliases: + - /blog/posts/new-comment-system-again/ + - /blog/new-comment-system-again/ + - /archive/new-comment-system-again/ + +tags: + - announcement + - hugo + - blog + +--- I decided to switch my comment system from Isso to [Commento](https://www.commento.io/). diff --git a/content/archive/blog/new-comment-system/index.md b/content/archive/blog/new-comment-system/index.md index 480d926..5587812 100644 --- a/content/archive/blog/new-comment-system/index.md +++ b/content/archive/blog/new-comment-system/index.md @@ -1,20 +1,20 @@ -+++ -title = "New Comment System" -date = "2021-04-11" -toc = true +--- -aliases = [ - "/blog/posts/new-comment-system/", - "/blog/new-comment-system/", - "/archive/new-comment-system/", -] +title: New Comment System +date: "2021-04-11" +toc: true -tags = [ - "announcement", - "hugo", - "blog", -] -+++ +aliases: + - /blog/posts/new-comment-system/ + - /blog/new-comment-system/ + - /archive/new-comment-system/ + +tags: + - announcement + - hugo + - blog + +--- I added a comment system to my blog, using [Isso](https://posativ.org/isso/). diff --git a/content/blog/_index.es.md b/content/blog/_index.es.md index 2305a1b..089ec12 100644 --- a/content/blog/_index.es.md +++ b/content/blog/_index.es.md @@ -1,7 +1,8 @@ -+++ -title = "Blog" +--- -description = """ -Mis entradas de blog -""" -+++ +title: Blog + +description: | + Mis entradas de blog + +--- diff --git a/content/blog/_index.md b/content/blog/_index.md index 48466a3..e64cb04 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,7 +1,8 @@ -+++ -title = "Blog" +--- -description = """ -My blog posts -""" -+++ +title: Blog + +description: | + My blog posts + +--- diff --git a/content/blog/allow-non-root-processes-to-bind-to-privileged-ports/index.md b/content/blog/allow-non-root-processes-to-bind-to-privileged-ports/index.md index a2296e9..a4bb221 100644 --- a/content/blog/allow-non-root-processes-to-bind-to-privileged-ports/index.md +++ b/content/blog/allow-non-root-processes-to-bind-to-privileged-ports/index.md @@ -1,17 +1,17 @@ -+++ -title = "Allow Non Root Processes to Bind to Privileged Ports" -date = "2021-03-28" -toc = true +--- -aliases = [ - "posts/allow-non-root-processes-to-bind-to-privileged-ports/", -] +title: Allow Non Root Processes to Bind to Privileged Ports +date: "2021-03-28" +toc: true -tags = [ - "guide", - "linux", -] -+++ +aliases: + - posts/allow-non-root-processes-to-bind-to-privileged-ports/ + +tags: + - guide + - linux + +--- In Linux, processes cannot bind to privileged ports (<=1024) unless they are running as root. Here's how to allow any process to bind to privileged ports. diff --git a/content/blog/checkra1n-gui-on-other-distros/index.md b/content/blog/checkra1n-gui-on-other-distros/index.md index aeef563..b058a17 100644 --- a/content/blog/checkra1n-gui-on-other-distros/index.md +++ b/content/blog/checkra1n-gui-on-other-distros/index.md @@ -1,25 +1,25 @@ -+++ -title = "Checkra1n GUI on Other Distros" -date = "2021-03-25" -toc = true +--- -aliases = [ - "posts/checkra1n-gui-on-other-distros/", -] +title: Checkra1n GUI on Other Distros +date: "2021-03-25" +toc: true -tags = [ - "guide", - "linux", - "archlinux", - "jailbreak", - "checkra1n", -] +aliases: + - posts/checkra1n-gui-on-other-distros/ -[[resources]] -name = "feature" -src = "gui.webp" -title = "Checkra1n GUI running on Arch Linux" -+++ +tags: + - guide + - linux + - archlinux + - jailbreak + - checkra1n + +resources: + - name: feature + src: gui.webp + title: Checkra1n GUI running on Arch Linux + +--- You can run the GUI version of checkra1n on non Debian-based distributions. diff --git a/content/blog/edited-in-middle-of-message-discord/index.md b/content/blog/edited-in-middle-of-message-discord/index.md index bcd267c..057baa9 100644 --- a/content/blog/edited-in-middle-of-message-discord/index.md +++ b/content/blog/edited-in-middle-of-message-discord/index.md @@ -1,23 +1,23 @@ -+++ -title = "Put `(edited)` in the middle of a message in Discord" -date = "2021-03-25" -toc = false +--- -aliases = [ - "posts/edited-in-middle-of-message-discord/", -] +title: Put `(edited)` in the middle of a message in Discord +date: "2021-03-25" +toc: false -tags = [ - "tutorial", - "discord", - "discord-tricks", -] +aliases: + - posts/edited-in-middle-of-message-discord/ -[[resources]] -name = "feature" -src = "example.webp" -title = "Example image" -+++ +tags: + - tutorial + - discord + - discord-tricks + +resources: + - name: feature + src: example.webp + title: Example image + +--- With a bit of trickery using the RLE character (U+202B), you can get the `(edited)` text on a message to be somewhere other than at the end of the diff --git a/content/blog/text-substitution-in-discord-using-sed/index.md b/content/blog/text-substitution-in-discord-using-sed/index.md index 2e15f52..c7523f3 100644 --- a/content/blog/text-substitution-in-discord-using-sed/index.md +++ b/content/blog/text-substitution-in-discord-using-sed/index.md @@ -1,24 +1,24 @@ -+++ -title = "Text Substitution in Discord using `sed`" -date = "2021-03-25" -toc = false +--- -aliases = [ - "/blog/posts/sed-text-substitution-in-discord/", - "/blog/posts/text-substitution-in-discord-using-sed/", -] +title: Text Substitution in Discord using `sed` +date: "2021-03-25" +toc: false -tags = [ - "tutorial", - "discord", - "discord-tricks", -] +aliases: + - /blog/posts/sed-text-substitution-in-discord/ + - /blog/posts/text-substitution-in-discord-using-sed/ -[[resources]] -name = "feature" -src = "example.mov" -title = "Example Video" -+++ +tags: + - tutorial + - discord + - discord-tricks + +resources: + - name: feature + src: example.mov + title: Example Video + +--- Discord has (very primitive) support for text replacement using `sed` syntax. diff --git a/content/contact/index.md b/content/contact/index.md index f325301..6a38813 100644 --- a/content/contact/index.md +++ b/content/contact/index.md @@ -1,12 +1,13 @@ -+++ -title = "Contact" -menu = "main" -toc = false +--- -description = """ -Want to contact me? Here's how you can. -""" -+++ +title: Contact +menu: main +toc: false + +description: | + Want to contact me? Here's how you can. + +--- - Email: [contact@bbaovanc.com](mailto:contact@bbaovanc.com) - Matrix: [@bbaovanc:boba.best](https://matrix.to/#/@bbaovanc:boba.best) diff --git a/content/donate/index.md b/content/donate/index.md index 29f3199..6345332 100644 --- a/content/donate/index.md +++ b/content/donate/index.md @@ -1,13 +1,14 @@ -+++ -title = "Donate" -menu = "main" -toc = false +--- -description = """ -I have a few cryptocurrency addresses that you can use if you want to donate to -me. -""" -+++ +title: Donate +menu: main +toc: false + +description: | + I have a few cryptocurrency addresses that you can use if you want to donate to + me. + +--- ## Cryptocurrency Addresses diff --git a/content/links/index.md b/content/links/index.md index 4c37179..eceb2bb 100644 --- a/content/links/index.md +++ b/content/links/index.md @@ -1,15 +1,16 @@ -+++ -title = "Links" -menu = "main" -toc = true -aliases = [ - "/blog/links/", -] +--- -description = """ -A page with links to a lot of my different projects. -""" -+++ +title: Links +menu: main +toc: true + +aliases: + - /blog/links/ + +description: | + A page with links to a lot of my different projects. + +--- ## Other