Commit ef234ab 1 parent 245dcba commit ef234ab Copy full SHA for ef234ab
File tree 1 file changed +5
-4
lines changed
site/themes/carvel/layouts/partials
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 87
87
88
88
{{ if .Params.packages }}
89
89
< meta http-equiv ="content-type " content ="text/html; charset=utf-8 " />
90
- {{ $params := .Params }}
91
- {{ range $package := .Params.packages }}
92
- < meta name ="go-import " content ="{{ $package }} git {{ $params.repo }} " />
93
- < meta name ="go-source " content ="{{ $package }} {{ $params.repo }} {{ $params.repo }}/tree/master{/dir} {{$params.repo}}/blob/master{/dir}/{file}#L{line} " />
90
+ < meta name ="go-import " content ="{{ index .Params.packages 0 }} git {{ .Params.repo }} " />
91
+ < meta name ="go-source " content ="{{ index .Params.packages 0 }} {{ .Params.repo }} {{ .Params.repo }}/tree/develop{/dir} {{.Params.repo}}/blob/develop{/dir}/{file}#L{line} " />
92
+ {{ if eq .Params.title "kapp-controller"}}
93
+ < meta name ="go-import " content ="{{ index .Params.packages 1 }} git {{ .Params.repo }}/cli " />
94
+ < meta name ="go-source " content ="{{ index .Params.packages 1 }} {{ .Params.repo }}/cli {{ .Params.repo }}/tree/develop/cli{/dir} {{.Params.repo}}/blob/develop/cli{/dir}/{file}#L{line} " />
94
95
{{ end }}
95
96
{{ end }}
You can’t perform that action at this time.
0 commit comments