diff --git a/data/authors/mttwdevelops.json.~1~ b/data/authors/mttwdevelops.json.~1~ deleted file mode 100644 index c5a0229..0000000 --- a/data/authors/mttwdevelops.json.~1~ +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "mttwdevelops", - "website": "https://github.com/mttwdevelops", - "xmr": "46ZkjzFHDFZfys75kQ1dYw52rZPG2a1amAmV39itnRuSfoqGg3bWXdtWRs5EDzq2z1giqNiK971dQBz216C2PywJRNB1rz8" -} diff --git a/layouts/partials/contributor.html b/layouts/partials/contributor.html index 55267c5..607b703 100644 --- a/layouts/partials/contributor.html +++ b/layouts/partials/contributor.html @@ -1,25 +1,31 @@ -{{ $author := index hugo.Data.authors (.Params.author | default "default") }} -{{- if $author -}} +{{ with .Params.author }} +{{ $author := index hugo.Data.authors . }}

Contributor(s)

-{{- end -}} +{{ end }}