refactor(templates): consolidate header.js loading
- Move header.js script from individual templates to header.templ - Removes duplicate script tags from bookshelf, collections, progress, etc. - Fixes indentation in docs.templ
This commit is contained in:
1 parent
a47ef18669
commit
b5899af3c3
7 files changed
+4
-10
No files matched your search
@@ -9,7 +9,6 @@ templ BookShelf(user User, libraries []LibraryData) {
|
||||
<title>Library - Bookhoard</title>
|
||||
<script src="/static/htmx.min.js"></script>
|
||||
<script src="/static/toast.js"></script>
|
||||
<script src="/static/header.js"></script>
|
||||
<script src="/static/search.js"></script>
|
||||
<link href="/static/style.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
Reference in new issue
Block a user