Comments config
This commit is contained in:
parent
2477c985d6
commit
44428be8aa
2 changed files with 5 additions and 1 deletions
|
|
@ -37,6 +37,6 @@ i18n.init((err, t) => {
|
||||||
template: 'bootstrap', // default 'semantic-ui'
|
template: 'bootstrap', // default 'semantic-ui'
|
||||||
// default 'http://s3.amazonaws.com/37assets/svn/765-default-avatar.png'
|
// default 'http://s3.amazonaws.com/37assets/svn/765-default-avatar.png'
|
||||||
defaultAvatar: '/default-avatar.png',
|
defaultAvatar: '/default-avatar.png',
|
||||||
markdown: false
|
markdown: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@ Comments.config({
|
||||||
publishUserFields: {
|
publishUserFields: {
|
||||||
profile: 1
|
profile: 1
|
||||||
},
|
},
|
||||||
|
mediaAnalyzers: [
|
||||||
|
Comments.analyzers.image,
|
||||||
|
Comments.analyzers.youtube
|
||||||
|
],
|
||||||
generateUsername: function genUser(user) {
|
generateUsername: function genUser(user) {
|
||||||
// console.log(JSON.stringify(user));
|
// console.log(JSON.stringify(user));
|
||||||
// FIXME
|
// FIXME
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue