diff options
Diffstat (limited to 'forged/templates/_ref_query.tmpl')
-rw-r--r-- | forged/templates/_ref_query.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/forged/templates/_ref_query.tmpl b/forged/templates/_ref_query.tmpl new file mode 100644 index 0000000..2f78955 --- /dev/null +++ b/forged/templates/_ref_query.tmpl @@ -0,0 +1,3 @@ +{{- define "ref_query" -}} +{{- if .ref_type -}}?{{- .ref_type -}}={{- .ref_name -}}{{- end -}} +{{- end -}} |