mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Add page-specific class per template (#3814)
* [feature] Add page-specific class per template * cheeky bit cheaper
This commit is contained in:
@ -71,9 +71,8 @@ image/webp
|
||||
{{- end }}
|
||||
<title>{{- template "instanceTitle" . -}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<body class="page{{- if .pageClass }} {{ .pageClass }}-page{{- end -}}">
|
||||
{{- include "login_button.tmpl" . | indent 3 }}
|
||||
<div class="page">
|
||||
<header class="page-header">
|
||||
{{- include "page_header.tmpl" . | indent 3 }}
|
||||
</header>
|
||||
@ -83,6 +82,5 @@ image/webp
|
||||
<footer class="page-footer">
|
||||
{{- include "page_footer.tmpl" . | indent 3 }}
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user