[global] add subtitle support

This commit is contained in:
Your Name 2024-06-08 23:04:29 +02:00
parent 1782aa7bd8
commit dec695f5c7
2 changed files with 9 additions and 1 deletions

View file

@ -5,6 +5,10 @@
margin: auto; margin: auto;
width: 50%; width: 50%;
} }
#h_subtitle {
line-height: 5px;
color: gray;
}
#main-content { #main-content {
text-align: left; text-align: left;
} }

View file

@ -1,7 +1,11 @@
<title><%= config.branding.title %></title> <title><%= config.branding.title %></title>
<link rel="stylesheet" href="/static/custom.css"> <link rel="stylesheet" href="/static/custom.css">
<div id="header-content"> <div id="header-content">
<h1><%= config.branding.title %></h1> <h1 id="h_title"><%= config.branding.title %></h1>
<% if(config.branding.hasOwnProperty("subtitle")) { %>
<p id="h_subtitle"><%= config.branding.subtitle %></p>
<% } %>
<hr> <hr>
<div id="link-container"> <div id="link-container">
<% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("links")) { %> <% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("links")) { %>