forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

*.html: format with prettier (again)

I guess it's not idempotent in some cases? Looks like it's happy with
these, though, as rerunning it after this commit produces no changes.

Hopefully this is a one time thing...

Signed-off-by: Winter <winter@winter.cafe>

Changed files
+36 -18
appview
+2 -1
appview/pages/templates/repo/blob.html
··· 1 1 {{ define "title" }} 2 - {{ .Path }} at {{ .Ref }} &middot; {{ .RepoInfo.FullName }} 2 + {{ .Path }} at {{ .Ref }} &middot; 3 + {{ .RepoInfo.FullName }} 3 4 {{ end }} 4 5 5 6 {{ define "extrameta" }}
+2 -1
appview/pages/templates/repo/commit.html
··· 1 1 {{ define "title" }} 2 - commit {{ .Diff.Commit.This }} &middot; {{ .RepoInfo.FullName }} 2 + commit {{ .Diff.Commit.This }} &middot; 3 + {{ .RepoInfo.FullName }} 3 4 {{ end }} 4 5 5 6 {{ define "extrameta" }}
+2 -1
appview/pages/templates/repo/fork.html
··· 3 3 {{ define "content" }} 4 4 <div class="p-6"> 5 5 <p class="text-xl font-bold dark:text-white"> 6 - Fork {{ .RepoInfo.FullName }} 6 + Fork 7 + {{ .RepoInfo.FullName }} 7 8 </p> 8 9 </div> 9 10 <div class="p-6 bg-white dark:bg-gray-800 drop-shadow-sm rounded">
+2 -1
appview/pages/templates/repo/issues/issues.html
··· 88 88 <a 89 89 href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}" 90 90 class="text-gray-500 dark:text-gray-400"> 91 - {{ .Metadata.CommentCount }} comment{{ $s }} 91 + {{ .Metadata.CommentCount }} 92 + comment{{ $s }} 92 93 </a> 93 94 </span> 94 95 </p>
+2 -1
appview/pages/templates/repo/log.html
··· 252 252 class="btn flex items-center gap-2 no-underline hover:no-underline dark:text-white dark:hover:bg-gray-700" 253 253 hx-boost="true" 254 254 onclick="window.location.href = window.location.pathname + '?page={{ add .Page 1 }}'"> 255 - next {{ i "chevron-right" "w-4 h-4" }} 255 + next 256 + {{ i "chevron-right" "w-4 h-4" }} 256 257 </a> 257 258 {{ end }} 258 259 </div>
+4 -2
appview/pages/templates/repo/pulls/pull.html
··· 111 111 {{ $s = "" }} 112 112 {{ end }} 113 113 <div class="group-open:hidden flex items-center gap-2 ml-2"> 114 - {{ i "chevrons-up-down" "w-4 h-4" }} expand {{ len $patches }} 114 + {{ i "chevrons-up-down" "w-4 h-4" }} expand 115 + {{ len $patches }} 115 116 commit{{ $s }} 116 117 </div> 117 118 <div class="hidden group-open:flex items-center gap-2 ml-2"> 118 - {{ i "chevrons-down-up" "w-4 h-4" }} hide {{ len $patches }} 119 + {{ i "chevrons-down-up" "w-4 h-4" }} hide 120 + {{ len $patches }} 119 121 commit{{ $s }} 120 122 </div> 121 123 </summary>
+2 -1
appview/pages/templates/repo/settings/access.html
··· 1 1 {{ define "title" }} 2 - {{ .Tab }} settings &middot; {{ .RepoInfo.FullName }} 2 + {{ .Tab }} settings &middot; 3 + {{ .RepoInfo.FullName }} 3 4 {{ end }} 4 5 5 6 {{ define "repoContent" }}
+2 -1
appview/pages/templates/repo/settings/general.html
··· 1 1 {{ define "title" }} 2 - {{ .Tab }} settings &middot; {{ .RepoInfo.FullName }} 2 + {{ .Tab }} settings &middot; 3 + {{ .RepoInfo.FullName }} 3 4 {{ end }} 4 5 5 6 {{ define "repoContent" }}
+2 -1
appview/pages/templates/repo/settings/pipelines.html
··· 1 1 {{ define "title" }} 2 - {{ .Tab }} settings &middot; {{ .RepoInfo.FullName }} 2 + {{ .Tab }} settings &middot; 3 + {{ .RepoInfo.FullName }} 3 4 {{ end }} 4 5 5 6 {{ define "repoContent" }}
+4 -2
appview/pages/templates/repo/tree.html
··· 1 1 {{ define "title" }} 2 - {{ range .BreadCrumbs }}{{ pathUnescape (index . 0) }}/{{ end }} at {{ .Ref }} 3 - &middot; {{ .RepoInfo.FullName }} 2 + {{ range .BreadCrumbs }}{{ pathUnescape (index . 0) }}/{{ end }} at 3 + {{ .Ref }} 4 + &middot; 5 + {{ .RepoInfo.FullName }} 4 6 {{ end }} 5 7 6 8 {{ define "extrameta" }}
+4 -2
appview/pages/templates/settings.html
··· 51 51 <p class="font-bold dark:text-white">{{ .Name }}</p> 52 52 </div> 53 53 <p class="text-sm text-gray-500 dark:text-gray-400"> 54 - added {{ template "repo/fragments/time" .Created }} 54 + added 55 + {{ template "repo/fragments/time" .Created }} 55 56 </p> 56 57 <div class="overflow-x-auto whitespace-nowrap flex-1 max-w-full"> 57 58 <code class="text-sm text-gray-500 dark:text-gray-400"> ··· 143 144 </div> 144 145 </div> 145 146 <p class="text-sm text-gray-500 dark:text-gray-400"> 146 - added {{ template "repo/fragments/time" .CreatedAt }} 147 + added 148 + {{ template "repo/fragments/time" .CreatedAt }} 147 149 </p> 148 150 </div> 149 151 <div class="flex gap-2 items-center">
+2 -1
appview/pages/templates/strings/dashboard.html
··· 54 54 {{ $stat := $s.Stats }} 55 55 <div class="text-gray-400 pt-4 text-sm font-mono inline-flex gap-2 mt-auto"> 56 56 <span> 57 - {{ $stat.LineCount }} line{{ if ne $stat.LineCount 1 }}s{{ end }} 57 + {{ $stat.LineCount }} 58 + line{{ if ne $stat.LineCount 1 }}s{{ end }} 58 59 </span> 59 60 <span class="select-none [&:before]:content-['·']"></span> 60 61 {{ with $s.Edited }}
+6 -3
appview/pages/templates/user/profile.html
··· 78 78 class="list-none cursor-pointer hover:text-gray-500 hover:dark:text-gray-400"> 79 79 <div class="flex flex-wrap items-center gap-2"> 80 80 {{ i "book-plus" "w-4 h-4" }} 81 - created {{ len . }} 81 + created 82 + {{ len . }} 82 83 {{ if eq (len .) 1 }}repository{{ else }}repositories{{ end }} 83 84 </div> 84 85 </summary> ··· 117 118 118 119 119 120 <div> 120 - created {{ len $items }} 121 + created 122 + {{ len $items }} 121 123 {{ if eq (len $items) 1 }}issue{{ else }}issues{{ end }} 122 124 </div> 123 125 ··· 191 193 192 194 193 195 <div> 194 - created {{ len $items }} 196 + created 197 + {{ len $items }} 195 198 {{ if eq (len $items) 1 }} 196 199 pull request 197 200 {{ else }}