[global] add subtitle support
This commit is contained in:
parent
1782aa7bd8
commit
dec695f5c7
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")) { %>
|
||||||
|
|
Loading…
Reference in a new issue