From e5521bbae08256304676a4e852fd76dfb2d53b15 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 13 Jan 2015 04:26:27 -0700 Subject: [PATCH] fix disqus identifier/url definition --- desirae.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/desirae.js b/desirae.js index 38a6470..2db1b31 100644 --- a/desirae.js +++ b/desirae.js @@ -705,8 +705,6 @@ , tagline: view.entity.yml.tagline , content: view.contents , youtube: view.entity.yml.youtube - , disqus_identifier: view.entity.disqus_identifier - , disqus_url: !view.entity.disqus_identifier && view.entity.disqus_url , tags: view.entity.yml.tags , categories: view.entity.yml.categories , player_width: view.entity.yml.player_width @@ -733,8 +731,8 @@ comments: view.site.disqus_shortname && Mustache.render(view.desi.partials.disqus, { disqus: { shortname: view.site.disqus_shortname - , identifier: view.entity.disqus_identifier - , url: !view.entity.disqus_identifier && view.entity.disqus_url + , identifier: view.entity.disqus_identifier || undefined + , url: !view.entity.disqus_identifier && view.entity.disqus_url || undefined }}) , analytics: view.site.google_analytics_tracking_id && Mustache.render(view.desi.partials.google_analytics, { google_analytics: {