feat(aa): rename the main profile struct.
This commit is contained in:
parent
4b753210e7
commit
890275fb22
11 changed files with 287 additions and 274 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{- define "profile" -}}
|
||||
|
||||
{{- if or .Name .Attachments .Attributes .Flags -}}
|
||||
{{- with .Header -}}
|
||||
{{- "profile" -}}
|
||||
{{- with .Name -}}
|
||||
{{ " " }}{{ . }}
|
||||
|
|
@ -18,9 +18,7 @@
|
|||
{{- with .Flags -}}
|
||||
{{ " flags=(" }}{{ join . }}{{ ")" }}
|
||||
{{- end -}}
|
||||
{{ " {" }}
|
||||
{{- template "comment" . -}}
|
||||
{{- "\n" -}}
|
||||
{{- "{\n" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $oldtype := "" -}}
|
||||
|
|
@ -296,7 +294,7 @@
|
|||
{{- $oldtype = $type -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if or .Name .Attachments .Attributes .Flags -}}
|
||||
{{- with .Header -}}
|
||||
{{- "}\n" -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue