aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package/metadata/helm.tmpl
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-04-19 18:55:35 +0200
committerGitHub <noreply@github.com>2022-04-19 12:55:35 -0400
commit18727df73a00e7d05d3e1a68d6dae521cca7ff49 (patch)
treede06d623e932c8aef1720ac3399d3a7bc658e802 /templates/package/metadata/helm.tmpl
parentb74322dfce8d15e9204900913bb815a7b0ba073f (diff)
downloadgitea-18727df73a00e7d05d3e1a68d6dae521cca7ff49.tar.gz
gitea-18727df73a00e7d05d3e1a68d6dae521cca7ff49.zip
Add Helm Chart registry (#19406)
Diffstat (limited to 'templates/package/metadata/helm.tmpl')
-rw-r--r--templates/package/metadata/helm.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/package/metadata/helm.tmpl b/templates/package/metadata/helm.tmpl
new file mode 100644
index 0000000000..7c97c6358e
--- /dev/null
+++ b/templates/package/metadata/helm.tmpl
@@ -0,0 +1,4 @@
+{{if eq .PackageDescriptor.Package.Type "helm"}}
+ {{range .PackageDescriptor.Metadata.Maintainers}}<div class="item" title="{{$.i18n.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "mr-3"}} {{.Name}}</div>{{end}}
+ {{if .PackageDescriptor.Metadata.Home}}<div class="item">{{svg "octicon-link-external" 16 "mr-3"}} <a href="{{.PackageDescriptor.Metadata.Home}}" target="_blank" rel="noopener noreferrer me">{{.i18n.Tr "packages.details.project_site"}}</a></div>{{end}}
+{{end}}