mirror of https://github.com/calzoneman/sync.git
Remove default contact config
This commit is contained in:
parent
bfad626b2d
commit
9302a271d0
|
@ -91,7 +91,7 @@ https:
|
||||||
# Page template values
|
# Page template values
|
||||||
# title goes in the upper left corner, description goes in a <meta> tag
|
# title goes in the upper left corner, description goes in a <meta> tag
|
||||||
html-template:
|
html-template:
|
||||||
title: 'CyTube',
|
title: 'Sync',
|
||||||
description: 'Free, open source synchtube'
|
description: 'Free, open source synchtube'
|
||||||
|
|
||||||
# Socket.IO server details
|
# Socket.IO server details
|
||||||
|
@ -190,10 +190,12 @@ reserved-names:
|
||||||
pagetitles: []
|
pagetitles: []
|
||||||
|
|
||||||
# Provide a contact list for the /contact page
|
# Provide a contact list for the /contact page
|
||||||
contacts:
|
# Example:
|
||||||
- name: 'calzoneman'
|
# contacts:
|
||||||
title: 'Developer'
|
# - name: 'my_name'
|
||||||
email: 'cyzon@cytu.be'
|
# title: 'administrator
|
||||||
|
# email: 'me@my.site'
|
||||||
|
contacts: []
|
||||||
|
|
||||||
playlist:
|
playlist:
|
||||||
max-items: 4000
|
max-items: 4000
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"author": "Calvin Montgomery",
|
"author": "Calvin Montgomery",
|
||||||
"name": "CyTube",
|
"name": "CyTube",
|
||||||
"description": "Online media synchronizer and chat",
|
"description": "Online media synchronizer and chat",
|
||||||
"version": "3.23.5",
|
"version": "3.23.6",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -90,13 +90,7 @@ var defaults = {
|
||||||
channels: ["^(.*?[-_])?admin(istrator)?([-_].*)?$", "^(.*?[-_])?owner([-_].*)?$"],
|
channels: ["^(.*?[-_])?admin(istrator)?([-_].*)?$", "^(.*?[-_])?owner([-_].*)?$"],
|
||||||
pagetitles: []
|
pagetitles: []
|
||||||
},
|
},
|
||||||
"contacts": [
|
"contacts": [],
|
||||||
{
|
|
||||||
name: "calzoneman",
|
|
||||||
title: "Developer",
|
|
||||||
email: "cyzon@cytu.be"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"aggressive-gc": false,
|
"aggressive-gc": false,
|
||||||
playlist: {
|
playlist: {
|
||||||
"max-items": 4000,
|
"max-items": 4000,
|
||||||
|
@ -390,6 +384,11 @@ function preprocessConfig(cfg) {
|
||||||
"for more information on registering a client ID");
|
"for more information on registering a client ID");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove calzoneman from contact config (old default)
|
||||||
|
cfg.contacts = cfg.contacts.filter(contact => {
|
||||||
|
return contact.name !== 'calzoneman';
|
||||||
|
});
|
||||||
|
|
||||||
return cfg;
|
return cfg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,15 +20,15 @@ html(lang="en")
|
||||||
.col-md-8.col-md-offset-2
|
.col-md-8.col-md-offset-2
|
||||||
h1 Contact
|
h1 Contact
|
||||||
h3 Email
|
h3 Email
|
||||||
each contact in contacts
|
if contacts.length == 0
|
||||||
strong= contact.name
|
p No contacts listed.
|
||||||
p.text-muted= contact.title
|
else
|
||||||
+email(contact.email, contact.emkey)
|
each contact in contacts
|
||||||
br
|
strong= contact.name
|
||||||
hr
|
p.text-muted= contact.title
|
||||||
h3 IRC
|
+email(contact.email, contact.emkey)
|
||||||
p.
|
br
|
||||||
The developer and other knowledgeable people are usually available on IRC for quick questions or comments. Official support can be provided for cytu.be and synchtube.6irc.net at <a href="http://webchat.6irc.net/?channels=cytube">irc.6irc.net#cytube</a>. These people can also address general questions about the software, but cannot provide technical support for third-party websites using this code.
|
hr
|
||||||
include footer
|
include footer
|
||||||
+footer()
|
+footer()
|
||||||
script(type="text/javascript").
|
script(type="text/javascript").
|
||||||
|
|
Loading…
Reference in New Issue