feat(aa): add the link rule.
This commit is contained in:
parent
81f0163086
commit
e38f5b4637
3 changed files with 92 additions and 13 deletions
|
|
@ -20,4 +20,22 @@
|
|||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "link" -}}
|
||||
{{- template "qualifier" . -}}
|
||||
{{- if .Owner -}}
|
||||
{{- "owner " -}}
|
||||
{{- end -}}
|
||||
{{- "link " -}}
|
||||
{{- if .Subset -}}
|
||||
{{- "subset " -}}
|
||||
{{- end -}}
|
||||
{{- .Path -}}
|
||||
{{- " " -}}
|
||||
{{- with .Target -}}
|
||||
{{ " -> " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
|
|
|||
|
|
@ -106,6 +106,10 @@
|
|||
{{- template "file" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if eq $type "Link" -}}
|
||||
{{- template "link" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if eq $type "Profile" -}}
|
||||
{{- template "profile" . -}}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue