Sha256: 376b7f4b5099e6fca73d82775c69e5f8d6a20ab0d203f0d432fff01ec4aa3949
Contents?: true
Size: 1.59 KB
Versions: 1
Compression:
Stored size: 1.59 KB
Contents
{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/procedures/provider/ad/google-adsense.html # Support of advertising provider Google Adsense for J1 Template # # Product/Info: # http://jekyll.one # # Copyright (C) 2020 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% assign publisher_id = site.data.j1_config.advertising.google.publisher_id %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} <script data-ad-client="{{publisher_id}}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"> </script> {% comment %} Old Ads code <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "{{publisher_id}}", enable_page_level_ads: true }); </script> -------------------------------------------------------------------------------- {% endcomment %}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
j1-template-2020.0.22 | _includes/themes/j1/modules/connectors/ad/google-adsense.html |