Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 504 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 504 Bytes

Hugo Google Adsense Module

Installation

Configuration

Append the following configuration into config.toml.

[[module.imports]]
path = "github.com/razonyang/hugo-mod-google-adsense"

[params.googleAdsense]
client = "ca-pub-CLIENT-ID"

Partials

You can skip this step if your theme support HugoPress.

Include the following partial inside <head> tag.

{{- partialCached "hugopress/modules/google-adsense/script" . }}