6d4558c978
We now allow server operators to customize the /r/ part of the channel links The new config option in the template is commented and the config module validates and will terminate with status 78 if an improper value is used. We've also dropped some old cruft and uses a more elegant method to assign CHANNEL.name Resolves #668
29 lines
992 B
Plaintext
29 lines
992 B
Plaintext
- var DEFAULT_THEME = "/css/themes/slate.css";
|
|
|
|
mixin head()
|
|
meta(charset="utf-8")
|
|
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
|
meta(name="description", content=siteDescription)
|
|
meta(name="author", content=siteAuthor)
|
|
|
|
title= siteTitle
|
|
link(href="/css/sticky-footer-navbar.css", rel="stylesheet")
|
|
link(href="/css/cytube.css", rel="stylesheet")
|
|
link(id="usertheme", href=DEFAULT_THEME, rel="stylesheet")
|
|
|
|
if channelName
|
|
script(type="text/javascript").
|
|
var DEFAULT_THEME = '#{DEFAULT_THEME}';
|
|
var CHANNELPATH = '#{channelPath}';
|
|
var CHANNELNAME = '#{channelName}';
|
|
else
|
|
script(type="text/javascript").
|
|
var DEFAULT_THEME = '#{DEFAULT_THEME}';
|
|
var CHANNELPATH = '#{channelPath}';
|
|
|
|
script(src="/js/theme.js")
|
|
//[if lt IE 9]
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
|
//[endif]
|