Skip to content

Commit

Permalink
docs: disable carbon ads on certain pages
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Dec 15, 2024
1 parent 73ee14e commit 991cb2c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions content/3.api/1.configuration/6.carbon-ads.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ These values are used to call carbon CDN script as shown below.

:read-more{title="Carbon Ads website" to="https://www.carbonads.net/"}

### Disabling on certain pages

```md
---
title: Page Title
toc:
carbonAds:
enable: false
---

<!-- Page Content -->
```

## Parameters

::field-group
Expand Down

0 comments on commit 991cb2c

Please sign in to comment.