From 27072a80b75f261b7ff2eeabba19efa2115a498a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 8 Jun 2024 22:17:52 +0200 Subject: [PATCH 1/8] [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 %>


From 3c867e6c5aa2f20026b971490265adb75d974440 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 8 Jun 2024 22:35:56 +0200 Subject: [PATCH 2/8] [default theme] fix links causing disseminate to drop an exception --- src/views/themes/default/header.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/themes/default/header.ejs b/src/views/themes/default/header.ejs index 1225fc8..20f948e 100644 --- a/src/views/themes/default/header.ejs +++ b/src/views/themes/default/header.ejs @@ -4,7 +4,7 @@

<%= config.branding.title %>