Commit 1e98d5b3 authored by Erick Hitter's avatar Erick Hitter

Fix strictness

parent 80cdf5e1
......@@ -54,7 +54,7 @@ app.get( '/api/:domain', cache( '5 minutes' ), function( req, res ) {
var partial = 'partials/post',
layout = 'single-post';
if ( 'undefined' !== typeof data[0].format && 'image' == data[0].format ) {
if ( 'undefined' !== typeof data[0].format && 'image' === data[0].format ) {
partial = 'partials/post-image';
layout = 'single-image';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment