From dec695f5c74a99d4904346096afe9018cef457cd Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 8 Jun 2024 23:04:29 +0200 Subject: [PATCH] [global] add subtitle support --- src/views/themes/default/global-style.ejs | 4 ++++ src/views/themes/default/header.ejs | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/themes/default/global-style.ejs b/src/views/themes/default/global-style.ejs index ad8b677..ae1ebb8 100644 --- a/src/views/themes/default/global-style.ejs +++ b/src/views/themes/default/global-style.ejs @@ -5,6 +5,10 @@ margin: auto; width: 50%; } + #h_subtitle { + line-height: 5px; + color: gray; + } #main-content { text-align: left; } diff --git a/src/views/themes/default/header.ejs b/src/views/themes/default/header.ejs index 20f948e..bb3a6e7 100644 --- a/src/views/themes/default/header.ejs +++ b/src/views/themes/default/header.ejs @@ -1,7 +1,11 @@ <%= config.branding.title %>
-

<%= config.branding.title %>

+

<%= config.branding.title %>

+ <% if(config.branding.hasOwnProperty("subtitle")) { %> +

<%= config.branding.subtitle %>

+ <% } %> +