From 3be86db6b28796c27343a179296c96b824071ad3 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Thu, 7 Jan 2021 17:51:04 +0100 Subject: [PATCH] Update the default template to use badgesSection Signed-off-by: Mark Sagi-Kazar --- README.md | 2 +- pkg/document/template.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 233b081..1e43538 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ The default internal template mentioned above uses many of these and looks like {{ template "chart.header" . }} {{ template "chart.deprecationWarning" . }} -{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} +{{ template "chart.badgesSection" . }} {{ template "chart.description" . }} diff --git a/pkg/document/template.go b/pkg/document/template.go index 8b7e73b..392e6b7 100644 --- a/pkg/document/template.go +++ b/pkg/document/template.go @@ -18,7 +18,7 @@ import ( const defaultDocumentationTemplate = `{{ template "chart.header" . }} {{ template "chart.deprecationWarning" . }} -{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} +{{ template "chart.badgesSection" . }} {{ template "chart.description" . }}