Skip to content

Commit 1fc7afa

Browse files
authored
Readme template fix (#42)
1 parent b8ab400 commit 1fc7afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- defineDatasource "config" .Env.README_YAML -}}
2-
{{- defineDatasource "includes" (env.Getenv "README_INCLUDES") -}}
2+
{{- defineDatasource "includes" (env.Getenv "README_INCLUDES" | default "./") -}}
33
{{- $deprecated := has (ds "config") "deprecated" }}
44
{{- $utm_link := printf "%%s?utm_source=%s&utm_medium=%s&utm_campaign=%s&utm_content=%s" "github" "readme" (ds "config").github_repo "%s" -}}
55
{{- $homepage := printf $utm_link "https://cpco.io/homepage" "" -}}

0 commit comments

Comments
 (0)