discourse-adplugin/assets/javascripts/discourse/templates/connectors/topic-above-suggested/discourse-adplugin.hbs

27 lines
1.1 KiB
Handlebars
Raw Normal View History

{{#if site.mobileView}}
{{#if siteSettings.adsense_mobile_topic_above_suggested_code}}
{{google-adsense placement="topic-above-suggested"}}
{{/if}}
{{#if siteSettings.dfp_mobile_topic_above_suggested_code}}
{{google-dfp-ad placement="topic-above-suggested" refreshOnChange=model.id category=model.category.slug}}
{{/if}}
{{#if siteSettings.amazon_mobile_topic_above_suggested_src_code}}
{{amazon-product-links placement="topic-above-suggested"}}
{{/if}}
2018-06-07 19:17:19 -04:00
{{#if siteSettings.codefund_above_suggested_enabled}}
{{codefund-ad placement="topic-above-suggested"}}
{{/if}}
{{else}}
{{#if siteSettings.adsense_topic_above_suggested_code}}
{{google-adsense placement="topic-above-suggested"}}
{{/if}}
{{#if siteSettings.dfp_topic_above_suggested_code}}
{{google-dfp-ad placement="topic-above-suggested" refreshOnChange=model.id category=model.category.slug}}
{{/if}}
{{#if siteSettings.amazon_topic_above_suggested_src_code}}
{{amazon-product-links placement="topic-above-suggested"}}
{{/if}}
2018-06-07 19:17:19 -04:00
{{#if siteSettings.codefund_above_suggested_enabled}}
{{codefund-ad placement="topic-above-suggested"}}
{{/if}}
{{/if}}