mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
closes #5888
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.5.1",
|
||||
"nodebb-rewards-essentials": "0.0.9",
|
||||
"nodebb-theme-lavender": "4.0.5",
|
||||
"nodebb-theme-persona": "5.0.31",
|
||||
"nodebb-theme-persona": "5.0.32",
|
||||
"nodebb-theme-slick": "1.1.0",
|
||||
"nodebb-theme-vanilla": "6.0.25",
|
||||
"nodebb-theme-vanilla": "6.0.26",
|
||||
"nodebb-widget-essentials": "3.0.4",
|
||||
"nodemailer": "2.6.4",
|
||||
"nodemailer-sendmail-transport": "1.0.0",
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"site-settings": "Site Settings",
|
||||
"title": "Site Title",
|
||||
"title.url": "URL",
|
||||
"title.url-placeholder": "The URL of the site title",
|
||||
"title.url-help": "When the title is clicked, send users to this address. If left blank, user will be sent to the forum index.",
|
||||
"title.name": "Your Community Name",
|
||||
"title.show-in-header": "Show Site Title in Header",
|
||||
"browser-title": "Browser Title",
|
||||
|
||||
@@ -46,6 +46,7 @@ module.exports = function (middleware) {
|
||||
res.locals.config = res.locals.config || {};
|
||||
var templateValues = {
|
||||
title: meta.config.title || '',
|
||||
'title:url': meta.config['title:url'] || '',
|
||||
description: meta.config.description || '',
|
||||
'cache-buster': meta.config['cache-buster'] || '',
|
||||
'brand:logo': meta.config['brand:logo'] || '',
|
||||
|
||||
@@ -9,6 +9,12 @@
|
||||
<label>[[admin/settings/general:title]]</label>
|
||||
<input class="form-control" type="text" placeholder="[[admin/settings/general:title.name]]" data-field="title" />
|
||||
|
||||
<label for="title:url">[[admin/settings/general:title.url]]</label>
|
||||
<input id ="title:url" type="text" class="form-control" placeholder="[[admin/settings/general:title.url-placeholder]]" data-field="title:url" />
|
||||
<p class="help-block">
|
||||
[[admin/settings/general:title.url-help]]
|
||||
</p>
|
||||
|
||||
<div class="checkbox">
|
||||
<label for="showSiteTitle" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
||||
<input type="checkbox" class="mdl-switch__input" id="showSiteTitle" data-field="showSiteTitle" name="showSiteTitle" />
|
||||
|
||||
Reference in New Issue
Block a user