mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #425
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
<input type="text" class="form-control" placeholder="A short description about your community" data-field="description" /><br />
|
<input type="text" class="form-control" placeholder="A short description about your community" data-field="description" /><br />
|
||||||
<label>Site Keywords</label>
|
<label>Site Keywords</label>
|
||||||
<input type="text" class="form-control" placeholder="Keywords describing your community, comma-seperated" data-field="keywords" /><br />
|
<input type="text" class="form-control" placeholder="Keywords describing your community, comma-seperated" data-field="keywords" /><br />
|
||||||
|
<label>Site Logo</label>
|
||||||
|
<input type="text" class="form-control" placeholder="Path to a logo to display on forum header" data-field="brand:logo" /><br />
|
||||||
<label>Imgur Client ID</label>
|
<label>Imgur Client ID</label>
|
||||||
<input type="text" class="form-control" placeholder="Imgur ClientID for image uploads" data-field="imgurClientID" /><br />
|
<input type="text" class="form-control" placeholder="Imgur ClientID for image uploads" data-field="imgurClientID" /><br />
|
||||||
<label>Maximum User Image Size</label>
|
<label>Maximum User Image Size</label>
|
||||||
|
|||||||
@@ -40,10 +40,13 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
|
<div>
|
||||||
|
<img class="{brand:logo:display} forum-logo" src="{brand:logo}" />
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<h1 class="navbar-brand forum-title">{title}</h1>
|
<h1 class="navbar-brand forum-title">{title}</h1>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="navbar-collapse collapse navbar-ex1-collapse">
|
<div class="navbar-collapse collapse navbar-ex1-collapse">
|
||||||
<ul id="main-nav" class="nav navbar-nav">
|
<ul id="main-nav" class="nav navbar-nav">
|
||||||
|
|||||||
@@ -72,7 +72,9 @@ var express = require('express'),
|
|||||||
templateValues = {
|
templateValues = {
|
||||||
cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
||||||
pluginCSS: plugins.cssFiles.map(function(file) { return { path: file } }),
|
pluginCSS: plugins.cssFiles.map(function(file) { return { path: file } }),
|
||||||
title: meta.config.title || 'NodeBB',
|
title: meta.config.title || '',
|
||||||
|
'brand:logo': meta.config['brand:logo'] || '',
|
||||||
|
'brand:logo:display': meta.config['brand:logo']?'':'hide',
|
||||||
browserTitle: meta.config.title || 'NodeBB',
|
browserTitle: meta.config.title || 'NodeBB',
|
||||||
csrf: options.res.locals.csrf_token,
|
csrf: options.res.locals.csrf_token,
|
||||||
relative_path: nconf.get('relative_path'),
|
relative_path: nconf.get('relative_path'),
|
||||||
|
|||||||
Reference in New Issue
Block a user