diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dce6430..a9d0800 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,11 @@ {{- partial "head/base.html" . -}} </head> <body> + {{ with .Site.Params.AdsensePublisher }} + {{ if eq $.Site.Params.AutoAdsEnabled true }} + <amp-auto-ads type="adsense" data-ad-client="{{ . }}"></amp-auto-ads> + {{ end }} + {{ end }} {{- partial "page/install-sw.html" . -}} {{- partial "page/analytics.html" . -}} {{- partial "structured-data/base.html" . -}} |