editorTheme: allow header logo/title to be a link

This commit is contained in:
Nick O'Leary
2015-04-22 14:03:42 +01:00
parent c71e76335b
commit 1c1a85dcef
3 changed files with 14 additions and 2 deletions

View File

@@ -91,6 +91,11 @@ module.exports = {
if (theme.header) {
themeContext.header.title = theme.header.title || themeContext.header.title;
if (theme.header.hasOwnProperty("url")) {
themeContext.header.url = theme.header.url;
}
if (theme.header.hasOwnProperty("image")) {
if (theme.header.image) {
url = serveFile(themeApp,"/header/",theme.header.image);