From 6dcadd4b1774c62986f4d94602674cc54dbc857f Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 12 Jun 2022 00:30:06 +0300 Subject: [PATCH] Use YAML front matter for better AsciiDoctor support --- archetypes/default.adoc | 10 +++++----- content/korhonen_aur.adoc | 11 ++++++----- content/korhonen_aur.fi.adoc | 11 ++++++----- content/pgp/index.adoc | 9 +++++---- content/posts/hugo-and-jekyll.adoc | 10 +++++----- 5 files changed, 27 insertions(+), 24 deletions(-) diff --git a/archetypes/default.adoc b/archetypes/default.adoc index 4f0d590..0965b80 100644 --- a/archetypes/default.adoc +++ b/archetypes/default.adoc @@ -1,5 +1,5 @@ -+++ -title = "{{ replace .Name "-" " " | title }}" -date = {{ .Date }} -draft = true -+++ +--- +title: {{ replace .Name "-" " " | title }} +date: {{ .Date }} +draft: true +--- diff --git a/content/korhonen_aur.adoc b/content/korhonen_aur.adoc index 8861e29..07dd83f 100644 --- a/content/korhonen_aur.adoc +++ b/content/korhonen_aur.adoc @@ -1,7 +1,8 @@ -+++ -title = "Korhonen AUR" -date = 2022-03-25 -+++ +--- +title: Korhonen AUR +date: 2022-03-25 +--- += Korhonen AUR This is a repository of prebuilt AUR packages that I use myself. I decided to share it openly on the internet if somebody else finds it @@ -34,7 +35,7 @@ me] and I'll see what I can do. == Usage -First, add my PGP key to your pacman keyring and trust it +First, add link:/pgp[my PGP key] to your pacman keyring and trust it [source,shell] ---- diff --git a/content/korhonen_aur.fi.adoc b/content/korhonen_aur.fi.adoc index 8c99844..3513ebe 100644 --- a/content/korhonen_aur.fi.adoc +++ b/content/korhonen_aur.fi.adoc @@ -1,7 +1,8 @@ -+++ -title = "Korhonen AUR" -date = 2022-03-25 -+++ +--- +title: Korhonen AUR +date: 2022-03-25 +--- += Korhonen AUR Tämä on Arch Linux repo joka koostuu AUR paketeista joita käytän itse. Ajattelin jakaa tämän julkisesti netissä jos joku tästä jotain @@ -31,7 +32,7 @@ viikossa. Jos haluaisit jonkun paketin lisättäväksi repoon, mailto:aur@marko. == Käyttö -Ensiksi, lisää link:/fi/pgp/[PGP avaimeni] pacman +Ensiksi, lisää link:/fi/pgp[PGP avaimeni] pacman avainnippuusi ja luota siihen [source,shell] diff --git a/content/pgp/index.adoc b/content/pgp/index.adoc index c6d7168..1d9a705 100644 --- a/content/pgp/index.adoc +++ b/content/pgp/index.adoc @@ -1,7 +1,8 @@ -+++ -title = "PGP" -date = 2022-06-10 -+++ +--- +title: PGP +date: 2022-03-25 +--- += PGP I like PGP and I secure everything I can with it. If you would like to send me encrypted files, emails or anything of that sort, you came to diff --git a/content/posts/hugo-and-jekyll.adoc b/content/posts/hugo-and-jekyll.adoc index dfbd500..afa4391 100644 --- a/content/posts/hugo-and-jekyll.adoc +++ b/content/posts/hugo-and-jekyll.adoc @@ -1,8 +1,8 @@ -+++ -title = "Hugo and Jekyll" -date = 2022-03-23 -draft = true -+++ +--- +title: Hugo and Jekyll +date: 2022-03-23 +draft: true +--- = Hugo and Jekyll Marko Korhonen v1.0, 2022-03-23