From 5b9e02cd7cf06ded4fc435df95af35a4cdfd4e8b Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Wed, 13 Nov 2024 03:28:45 +0300 Subject: [PATCH] Fix readme template --- README.md.gotmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md.gotmpl b/README.md.gotmpl index 422823a..1b31dee 100644 --- a/README.md.gotmpl +++ b/README.md.gotmpl @@ -1,5 +1,5 @@ {{- defineDatasource "config" .Env.README_YAML -}} -{{- defineDatasource "includes" (env.Getenv "README_INCLUDES") -}} +{{- defineDatasource "includes" (env.Getenv "README_INCLUDES" | default "./") -}} {{- $deprecated := has (ds "config") "deprecated" }} {{- $is_terraform := (strings.Contains "terraform-" ((ds "config").github_repo)) -}} {{- $utm_link := printf "%%s?utm_source=%s&utm_medium=%s&utm_campaign=%s&utm_content=%s" "github" "readme" (ds "config").github_repo "%s" -}}