feat(aa): rename the main profile struct.

This commit is contained in:
Alexandre Pujol 2024-04-16 21:51:56 +01:00
parent 4b753210e7
commit 890275fb22
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 287 additions and 274 deletions

View file

@ -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 -}}