From 4df0620502496a9fa24d12dfbc657bcb373f37be Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 28 Oct 2023 13:24:57 -0300 Subject: [PATCH] apply prettier tailwind plugin to reorder classes. --- justfile | 2 ++ templates/archive.html | 39 ++++++++++---------- templates/clients.html | 16 +++++---- templates/details.html | 24 ++++++------- templates/footer.html | 8 ++--- templates/homepage.html | 80 +++++++++++++++++++++-------------------- templates/note.html | 28 +++++++-------- templates/other.html | 16 ++++----- templates/profile.html | 60 +++++++++++++++---------------- templates/relay.html | 54 ++++++++++++++-------------- templates/top.html | 9 +++-- 11 files changed, 173 insertions(+), 163 deletions(-) diff --git a/justfile b/justfile index bd56568..425f3e5 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,5 @@ +export PATH := "./node_modules/.bin:" + env_var('PATH') + dev: TAILWIND_DEBUG=true go run . diff --git a/templates/archive.html b/templates/archive.html index 9399beb..fd4c2a8 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,5 +1,5 @@ - - + + {{.Title}} @@ -7,41 +7,42 @@ {{template "head_common" .HeadCommonPartial}} - + {{template "top" .}}
-
+
{{.Title}}
-
-
+
+

{{.Title}}

-
+
{{range $element := .Data }} - -
{{$element}}
+
+ {{$element}} {{end}}
- {{if not (eq .PrevPage 0)}} - << Prev page - {{end}} {{if not (eq .NextPage 0)}} - Next page >> + {{if not (eq .PrevPage 0)}} + << Prev page + {{end}} {{if not (eq .NextPage 0)}} + Next page >> +
{{end}}
diff --git a/templates/clients.html b/templates/clients.html index 954c587..efb0b9b 100644 --- a/templates/clients.html +++ b/templates/clients.html @@ -1,5 +1,5 @@