From 4184f10482e966953d300ab484468d38143e7dd4 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 17 Oct 2023 06:39:11 -0700 Subject: [PATCH] f --- .prettierrc.yml | 16 +++------------- site/layouts/_default/basic.html | 10 +++++----- site/layouts/partials/extend_footer.html | 3 ++- 3 files changed, 10 insertions(+), 19 deletions(-) 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 @@