From 398ca6e2f300cce5c7bf7fa69fde42b4b592f5a4 Mon Sep 17 00:00:00 2001 From: Jiawei Huang Date: Sun, 14 Jun 2020 14:05:14 -0700 Subject: Add preliminary Google AdSense support When `googleAdsense` is set in `config.toml`, the AdSense code snippet will be inserted between the `` tags of your site. Only Google AdSense Auto ads is supported at the moment. --- exampleSite/config.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exampleSite/config.toml') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 72e22b7..4ba95b6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -29,6 +29,10 @@ paginate = 10 # googleAnalyticsTid = "UA-000000000-0" # googleAnalyticsRoute = "https://*.*.workers.dev/" + # Google AdSense + # The AdSense code will be inserted between the head tags of your site. + # googleAdsense = "0000000000000000" + # Word counter and read time indicator in post metadata showWordCounter = true showReadTime = false -- cgit v1.2.3