From 27072a80b75f261b7ff2eeabba19efa2115a498a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 8 Jun 2024 22:17:52 +0200 Subject: [PATCH] [default theme] Add the ability to pass a custom css file & add custom links --- src/types/Config.ts | 1 + src/views/themes/default/header.ejs | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/types/Config.ts b/src/types/Config.ts index fddb531..a040a4f 100644 --- a/src/types/Config.ts +++ b/src/types/Config.ts @@ -4,4 +4,5 @@ export interface Branding { export default interface Config { branding: Branding; theme: string; + themeOpts: any; } diff --git a/src/views/themes/default/header.ejs b/src/views/themes/default/header.ejs index 8c2e2ea..1225fc8 100644 --- a/src/views/themes/default/header.ejs +++ b/src/views/themes/default/header.ejs @@ -1,9 +1,17 @@ +<%= config.branding.title %> +

<%= config.branding.title %>