From 82f1269fa968680213c12d779f80526369ca1838 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 6 Jul 2023 21:03:59 +0200 Subject: [PATCH] chore: use global authors file When assigning author to the blog posts, do not specify the author in an exhausting way in each post, just use the global file with a nicknames and all info specified in one place. Signed-off-by: Matej Focko --- blog/aoc-2022/00-intro.md | 6 +----- blog/aoc-2022/01-week-1.md | 6 +----- blog/aoc-2022/02-week-2.md | 6 +----- blog/authors.yml | 5 +++++ blog/leetcode/sort-matrix-diagonally.md | 6 +----- 5 files changed, 9 insertions(+), 20 deletions(-) create mode 100644 blog/authors.yml diff --git a/blog/aoc-2022/00-intro.md b/blog/aoc-2022/00-intro.md index 37ef59d..f6a546a 100644 --- a/blog/aoc-2022/00-intro.md +++ b/blog/aoc-2022/00-intro.md @@ -3,11 +3,7 @@ title: Advent of Code '22 in Rust description: Preparing for Advent of Code '22. date: 2022-12-14T21:45 slug: aoc-2022/intro -authors: -- name: Matej Focko - title: "a.k.a. @mf" - url: https://gitlab.com/mfocko - image_url: https://github.com/mfocko.png +authors: mf tags: - aoc-2022 - advent-of-code diff --git a/blog/aoc-2022/01-week-1.md b/blog/aoc-2022/01-week-1.md index 6e111c6..08a2d74 100644 --- a/blog/aoc-2022/01-week-1.md +++ b/blog/aoc-2022/01-week-1.md @@ -3,11 +3,7 @@ title: 1st week of Advent of Code '22 in Rust description: Surviving first week in Rust. date: 2022-12-15T01:15 slug: aoc-2022/1st-week -authors: -- name: Matej Focko - title: "a.k.a. @mf" - url: https://gitlab.com/mfocko - image_url: https://github.com/mfocko.png +authors: mf tags: - aoc-2022 - advent-of-code diff --git a/blog/aoc-2022/02-week-2.md b/blog/aoc-2022/02-week-2.md index 88f6fba..3063ec0 100644 --- a/blog/aoc-2022/02-week-2.md +++ b/blog/aoc-2022/02-week-2.md @@ -3,11 +3,7 @@ title: 2nd week of Advent of Code '22 in Rust description: Surviving second week in Rust. date: 2022-12-25T23:15 slug: aoc-2022/2nd-week -authors: -- name: Matej Focko - title: "a.k.a. @mf" - url: https://gitlab.com/mfocko - image_url: https://github.com/mfocko.png +authors: mf tags: - aoc-2022 - advent-of-code diff --git a/blog/authors.yml b/blog/authors.yml new file mode 100644 index 0000000..c771bd2 --- /dev/null +++ b/blog/authors.yml @@ -0,0 +1,5 @@ +mf: + name: Matej Focko + title: "a.k.a. @mf" + url: https://gitlab.com/mfocko + image_url: https://github.com/mfocko.png diff --git a/blog/leetcode/sort-matrix-diagonally.md b/blog/leetcode/sort-matrix-diagonally.md index 443e462..7c69c02 100644 --- a/blog/leetcode/sort-matrix-diagonally.md +++ b/blog/leetcode/sort-matrix-diagonally.md @@ -3,11 +3,7 @@ title: Sort the matrix diagonally description: Compiler assisted development. date: 2023-03-04T23:15 slug: leetcode/sort-diagonally -authors: -- name: Matej Focko - title: "a.k.a. @mf" - url: https://gitlab.com/mfocko - image_url: https://github.com/mfocko.png +authors: mf tags: - cpp - leetcode