diff --git a/common-theme/layouts/_default/_markup/render-link.html b/common-theme/layouts/_default/_markup/render-link.html index 5ad6e9099..34455bac5 100644 --- a/common-theme/layouts/_default/_markup/render-link.html +++ b/common-theme/layouts/_default/_markup/render-link.html @@ -14,11 +14,10 @@ {{- with .Title -}}title="{{- . -}}"{{- end -}} >{{- .Text | safeHTML -}} -{{- /* This is scarfed directly from Bep https://portable-hugo-links.netlify.app/ +{{/* This is scarfed directly from Bep https://portable-hugo-links.netlify.app/ It allegedly makes a version of wikilinks that still works on GitHub * [Rel Link](../p2.md) * [Section Link](/section/p2.md) * [Section Link With Anchor](/section/d1.md#anchor) to replace the Hugo shortcode rel-ref - */ --}} +*/}} diff --git a/common-theme/layouts/shortcodes/contributors.html b/common-theme/layouts/shortcodes/contributors.html index 84252d478..13a9527e5 100644 --- a/common-theme/layouts/shortcodes/contributors.html +++ b/common-theme/layouts/shortcodes/contributors.html @@ -9,20 +9,20 @@ {{ $headers := partial "github-auth.html" }} {{/* Let's go get our contributors list */}} -{{ with resources.GetRemote $api $headers }} +{{ with try (resources.GetRemote $api $headers) }} {{ with .Err }} {{ warnf "🏷️ No contributors: %s . Error: %s ." $api . }} + {{ else }} + {{ $contributors := .Value.Content | unmarshal }} +