mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Not showing card-reveal when list has no description
This commit is contained in:
@@ -25,7 +25,17 @@ var cors = require('cors');
|
||||
var hbs = exphbs.create({
|
||||
defaultLayout: publicPath + '/layouts/client/main',
|
||||
layoutsDir: publicPath + '/layouts/client',
|
||||
partialsDir: publicPath + '/partials'
|
||||
partialsDir: publicPath + '/partials',
|
||||
helpers: {
|
||||
if_equal: function(a, b, opts) {
|
||||
if (a == b) {
|
||||
return opts.fn(this)
|
||||
} else {
|
||||
return opts.inverse(this)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
var uniqid = require('uniqid');
|
||||
app.use(compression({filter: shouldCompress}))
|
||||
|
||||
Reference in New Issue
Block a user