From dd854e31713051628c002b146d080ca380607668 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 8 May 2019 16:33:28 +0300 Subject: [PATCH] Check for `.description` and `.website`. --- site/content/docs/5.0/thanks.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/site/content/docs/5.0/thanks.md b/site/content/docs/5.0/thanks.md index cc1aa5a2f8..e846647949 100644 --- a/site/content/docs/5.0/thanks.md +++ b/site/content/docs/5.0/thanks.md @@ -20,9 +20,13 @@ toc: true {{- .name -}}
+ {{ if .website -}} {{- .name -}} + {{ else -}} + {{- .name -}} + {{ end -}}
-

{{- .description -}}

+ {{ with .description }}

{{ . | chomp }}

{{ end }}
@@ -44,9 +48,13 @@ toc: true {{- .name -}}
+ {{ if .website -}} {{- .name -}} + {{ else -}} + {{- .name -}} + {{ end -}}
-

{{- .description -}}

+ {{ with .description }}

{{ . | chomp }}

{{ end }}