From 7a57cef33e932bd5fd989a78131e0b49054c71b1 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 29 Aug 2026 00:00:01 +0200 Subject: [PATCH] Revert "use pdr's contributor edits" This reverts commit d539cce6ec261556dbb76aa98ce339c83e62f0f5. --- data/authors/mttwdevelops.json.~1~ | 5 +++ layouts/partials/contributor.html | 50 +++++++++++++----------------- 2 files changed, 27 insertions(+), 28 deletions(-) create mode 100644 data/authors/mttwdevelops.json.~1~ diff --git a/data/authors/mttwdevelops.json.~1~ b/data/authors/mttwdevelops.json.~1~ new file mode 100644 index 0000000..c5a0229 --- /dev/null +++ b/data/authors/mttwdevelops.json.~1~ @@ -0,0 +1,5 @@ +{ + "name": "mttwdevelops", + "website": "https://github.com/mttwdevelops", + "xmr": "46ZkjzFHDFZfys75kQ1dYw52rZPG2a1amAmV39itnRuSfoqGg3bWXdtWRs5EDzq2z1giqNiK971dQBz216C2PywJRNB1rz8" +} diff --git a/layouts/partials/contributor.html b/layouts/partials/contributor.html index 607b703..55267c5 100644 --- a/layouts/partials/contributor.html +++ b/layouts/partials/contributor.html @@ -1,31 +1,25 @@ -{{ with .Params.author }} -{{ $author := index hugo.Data.authors . }} +{{ $author := index hugo.Data.authors (.Params.author | default "default") }} +{{- if $author -}}

Contributor(s)

+{{- end -}}