admin/custom: show "beforeHeader" first (as "top" doesn't fit the layout system)
Massimo Melina committed
Aug 5, 2023 at 19:30 UTC
e661252bfcafcfe899065bd24d9ca8a71f7123f8
1 file changed
+2
-2
src/customHtml.ts
+2
-2
@@ -8,8 +8,8 @@ import Dict = NodeJS.Dict
8
import { writeFile } from 'fs/promises'
9
import { mapPlugins } from './plugins'
10
11
-export const customHtmlSections: ReadonlyArray<string> = ['top', 'bottom', 'beforeHeader', 'afterHeader',
12
- 'afterMenuBar', 'afterEntryName', 'afterList', 'beforeLogin']
11
+export const customHtmlSections: ReadonlyArray<string> = ['beforeHeader', 'afterHeader', 'afterMenuBar', 'afterList',
12
+ 'top', 'bottom', 'afterEntryName', 'beforeLogin']
13
14
export const customHtmlState = proxy({
15
sections: newCustomHtmlState()