[feature] Use blurhashes in frontend, tidy up gallery view a bit (#3948)

* [feature] Use blurhashes in frontend, tidy up gallery view a bit

* weeeeeeeeeeeeeeeee

* beep boop
This commit is contained in:
tobi 2025-03-31 15:51:17 +02:00 committed by GitHub
commit 3949117be0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 508 additions and 124 deletions

View file

@ -67,7 +67,9 @@ image/webp
<link rel="apple-touch-startup-image" href="{{- .instance.Thumbnail -}}" type="{{- template "thumbnailType" . -}}">
{{- include "page_stylesheets.tmpl" . | indent 2 }}
{{- range .javascript }}
<script type="text/javascript" src="{{- . -}}" async="" defer=""></script>
{{- if not .Bottom }}
<script type="text/javascript" src="{{- .Src -}}"{{- if .Async }} async=""{{- end -}}{{- if .Defer }} defer=""{{- end -}}></script>
{{- end }}
{{- end }}
<title>{{- template "instanceTitle" . -}}</title>
</head>
@ -82,5 +84,10 @@ image/webp
<footer class="page-footer">
{{- include "page_footer.tmpl" . | indent 3 }}
</footer>
{{- range .javascript }}
{{- if .Bottom }}
<script type="text/javascript" src="{{- .Src -}}"></script>
{{- end }}
{{- end }}
</body>
</html>