Add a setting for customizing the app title
the app title is inserted into the <title> of all tepmlates
This commit is contained in:
parent
b9f4e8450c
commit
6d543fbcb3
|
@ -4,6 +4,9 @@
|
||||||
Please edit settings.json, not settings.json.template
|
Please edit settings.json, not settings.json.template
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
// Name your instance!
|
||||||
|
"title": "Etherpad Lite",
|
||||||
|
|
||||||
//Ip and port which etherpad should bind at
|
//Ip and port which etherpad should bind at
|
||||||
"ip": "0.0.0.0",
|
"ip": "0.0.0.0",
|
||||||
"port" : 9001,
|
"port" : 9001,
|
||||||
|
|
|
@ -29,6 +29,11 @@ var vm = require('vm');
|
||||||
/* Root path of the installation */
|
/* Root path of the installation */
|
||||||
exports.root = path.normalize(path.join(npm.dir, ".."));
|
exports.root = path.normalize(path.join(npm.dir, ".."));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The app title, visible e.g. in the browser window
|
||||||
|
*/
|
||||||
|
exports.title = "Etherpad Lite";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The IP ep-lite should listen to
|
* The IP ep-lite should listen to
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
<%
|
||||||
|
var settings = require("ep_etherpad-lite/node/utils/Settings");
|
||||||
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<title>Etherpad Lite</title>
|
<title><%=settings.title%></title>
|
||||||
<script>
|
<script>
|
||||||
/*
|
/*
|
||||||
|@licstart The following is the entire license notice for the
|
|@licstart The following is the entire license notice for the
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
%>
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<title>Etherpad Lite</title>
|
<title><%=settings.title%></title>
|
||||||
<script>
|
<script>
|
||||||
/*
|
/*
|
||||||
|@licstart The following is the entire license notice for the
|
|@licstart The following is the entire license notice for the
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
|
<%
|
||||||
|
var settings = require("ep_etherpad-lite/node/utils/Settings");
|
||||||
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<title>Etherpad Lite Timeslider</title>
|
<title><%=settings.title%> Timeslider</title>
|
||||||
<script>
|
<script>
|
||||||
/*
|
/*
|
||||||
|@licstart The following is the entire license notice for the
|
|@licstart The following is the entire license notice for the
|
||||||
|
|
Loading…
Reference in New Issue