Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razonyang/hugo-mod-google-adsense
Hugo Google Adsense Module
https://github.com/razonyang/hugo-mod-google-adsense
google-adsense hugo-mod hugo-module hugopress-module
Last synced: about 1 month ago
JSON representation
Hugo Google Adsense Module
- Host: GitHub
- URL: https://github.com/razonyang/hugo-mod-google-adsense
- Owner: razonyang
- License: mit
- Created: 2022-11-03T05:16:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T09:51:33.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:21:59.222Z (7 months ago)
- Topics: google-adsense, hugo-mod, hugo-module, hugopress-module
- Language: HTML
- Homepage: https://google-adsense.hugo.razonyang.com/
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hugo Google Adsense Module
## Installation
### Configuration
Append the following configuration into `config.toml`.
```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](https://github.com/razonyang/hugopress).
Include the following partial inside `` tag.
```html
{{- partialCached "hugopress/modules/google-adsense/script" . }}
```