Skip to content

Commit 99352d3

Browse files
committed
hugo: Fix type link
1 parent 14c26f7 commit 99352d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (o *GenOpts) templateFuncMap() template.FuncMap {
154154
typ := anchor(fmt.Sprint(t2.FullName()))
155155
return fmt.Sprintf(`%s#%s`, fn, typ)
156156
},
157-
"type_link_hugo": func(f *protogen.Field) string {
157+
"hugo_type_link": func(f *protogen.Field) string {
158158
// exclude google types:
159159

160160
if f.Message != nil {

0 commit comments

Comments
 (0)