fix disqus identifier/url definition
This commit is contained in:
parent
f023315cfc
commit
e5521bbae0
|
@ -705,8 +705,6 @@
|
||||||
, tagline: view.entity.yml.tagline
|
, tagline: view.entity.yml.tagline
|
||||||
, content: view.contents
|
, content: view.contents
|
||||||
, youtube: view.entity.yml.youtube
|
, 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
|
, tags: view.entity.yml.tags
|
||||||
, categories: view.entity.yml.categories
|
, categories: view.entity.yml.categories
|
||||||
, player_width: view.entity.yml.player_width
|
, player_width: view.entity.yml.player_width
|
||||||
|
@ -733,8 +731,8 @@
|
||||||
comments: view.site.disqus_shortname &&
|
comments: view.site.disqus_shortname &&
|
||||||
Mustache.render(view.desi.partials.disqus, { disqus: {
|
Mustache.render(view.desi.partials.disqus, { disqus: {
|
||||||
shortname: view.site.disqus_shortname
|
shortname: view.site.disqus_shortname
|
||||||
, identifier: view.entity.disqus_identifier
|
, identifier: view.entity.disqus_identifier || undefined
|
||||||
, url: !view.entity.disqus_identifier && view.entity.disqus_url
|
, url: !view.entity.disqus_identifier && view.entity.disqus_url || undefined
|
||||||
}})
|
}})
|
||||||
, analytics: view.site.google_analytics_tracking_id &&
|
, analytics: view.site.google_analytics_tracking_id &&
|
||||||
Mustache.render(view.desi.partials.google_analytics, { google_analytics: {
|
Mustache.render(view.desi.partials.google_analytics, { google_analytics: {
|
||||||
|
|
Loading…
Reference in New Issue