diff --git a/.prettierrc.yml b/.prettierrc.yml index 07feba3..ee57e81 100644 --- a/.prettierrc.yml +++ b/.prettierrc.yml @@ -1,15 +1,5 @@ { - "overrides": [ - { - "files": [ - "*.html" - ], - "options": { - "parser": "go-template", - }, - }, - ], - "plugins": [ - "prettier-plugin-go-template" - ] + "overrides": [{ "files": ["*.html"], "options": { "parser": "go-template" } }], + "plugins": ["prettier-plugin-go-template"], + "printWidth": 120, } diff --git a/site/layouts/_default/basic.html b/site/layouts/_default/basic.html index 54a1aaf..74763e0 100644 --- a/site/layouts/_default/basic.html +++ b/site/layouts/_default/basic.html @@ -1,6 +1,6 @@ {{- define "main" }} -
-{{- partial "secondary-header.html" . }} -{{- .Content }} -
-{{- end }}{{/* define "main" */}} +
+ {{- partial "secondary-header.html" . }} + {{- .Content }} +
+{{- end }}{{/* "main" */}} diff --git a/site/layouts/partials/extend_footer.html b/site/layouts/partials/extend_footer.html index f782bc5..452bbd6 100644 --- a/site/layouts/partials/extend_footer.html +++ b/site/layouts/partials/extend_footer.html @@ -1,7 +1,8 @@