Integrations

Icy has one built-in comment system, Ecoku, and one analytics service, Plausible. Both can be self-hosted. To use another service, override a template: see Customization.
Comments
Ecoku is a self-hosted comment service. Comments appear at the end of every regular page once you configure it:
[params.comments]
provider = 'ecoku'
[params.comments.ecoku]
serverURL = 'https://comments.example.com'
siteId = 'example.com'params:
comments:
ecoku:
serverURL: https://comments.example.com
siteId: example.com
provider: ecoku| Parameter | Default | Description |
|---|---|---|
provider | '' | ecoku, or empty for no comments. |
ecoku.serverURL | — | Required. Base URL of your Ecoku server. |
ecoku.siteId | — | Required. The site’s id on that server. |
ecoku.scriptURL | <serverURL>/client/ecoku-loader.js | The loader script. |
ecoku.cssURL | none | none uses the theme’s styles. Set a URL to use Ecoku’s own stylesheet. |
ecoku.pageSize | 10 | Comments per page, 1 to 100. |
ecoku.theme | auto | auto follows the page’s color scheme. light or dark fixes it. |
- A page turns comments off with
comments = falsein its front matter. - Comments are stored by page path, such as
/posts/my-post/, so keep URLs stable. - Nothing loads until the reader scrolls near the comments, or opens the page at
#comments.
Analytics
Plausible Community Edition is the self-hosted Plausible. The same settings work with the hosted plausible.io.
[params.analytics]
provider = 'plausible'
[params.analytics.plausible]
scriptURL = 'https://plausible.example.com/js/pa-XXXX.js'params:
analytics:
plausible:
scriptURL: https://plausible.example.com/js/pa-XXXX.js
provider: plausible| Parameter | Default | Description |
|---|---|---|
provider | '' | plausible, or empty for no analytics. |
plausible.scriptURL | — | Required. The script from the snippet Plausible shows for your site. |
plausible.endpoint | — | Event endpoint, for a proxied setup. |
The script is added to every page in every environment. Plausible ignores visits from localhost, so hugo server doesn’t count. A page opts out with analytics = false in its front matter.
Search engines and social previews
Every page gets a title, a description, a canonical link, hreflang links to its translations, Open Graph and Twitter card tags, and JSON-LD. You don’t need to configure anything.
The description is the front matter description, or else the start of the page, or else params.description. Posts in the main sections are Open Graph articles; every other page is a website.
Social preview image
The first match wins:
- The first entry of front matter
images. - A bundle image whose name contains
cover,featureorthumbnail. - The first entry of
params.images, the site default.
Local images wider than 1200px are scaled down, and WebP, TIFF and BMP become JPEG so every crawler can read them. Protected posts never have one.
[params]
images = ['og.png']
[params.schema]
twitterSite = '@handle'params:
images:
- og.png
schema:
twitterSite: '@handle'Indexing
- Outside production, as in
hugo server, every page is markednoindex, nofollow. robotsNoIndex = truein a page’s front matter does the same in production and leaves the page out of the sitemap.
Site verification
Each token becomes a <meta> tag on every page.
[params.verification]
google = 'token'
bing = 'token'
yandex = 'token'
baidu = 'token'
naver = 'token'params:
verification:
baidu: token
bing: token
google: token
naver: token
yandex: tokenStructured data
| Page | JSON-LD type |
|---|---|
| Home | WebSite |
| Post in a main section | BlogPosting |
| Other regular page | WebPage, or the front matter schemaType: AboutPage, ContactPage, ProfilePage or FAQPage |
| Section, taxonomy or term | CollectionPage |
| Search page | SearchResultsPage |
Every page except the home page also gets a breadcrumb trail. All of them name the same publisher:
[params.schema]
publisherType = 'Person'
sameAs = ['https://github.com/you', 'https://mastodon.social/@you']params:
schema:
publisherType: Person
sameAs:
- https://github.com/you
- https://mastodon.social/@you| Parameter | Default | Description |
|---|---|---|
publisherType | Person | Person uses params.author.name. Organization uses the site title. |
sameAs | http(s) links in params.social | The publisher’s profile URLs. |
Sitemap
sitemap.xml leaves out pages with robotsNoIndex = true or sitemap.disable = true, protected posts, and tags without a public post. List pages take the date of their newest post. changefreq and priority come from Hugo’s sitemap settings.
robots.txt
enableRobotsTXT = true
[params.robots]
blockAI = trueenableRobotsTXT: true
params:
robots:
blockAI: trueA production build allows every path; any other environment disallows everything. The file links to the sitemap.
blockAI = true adds a record that blocks known AI crawlers, such as GPTBot, ClaudeBot and CCBot. Search engines are not affected. To change the list, copy layouts/_partials/func/ai-crawlers.html into your site and edit it.
RSS
Hugo writes a feed for the home page, each section and each term. The home feed at /index.xml holds only posts from the main sections.
[params.rss]
fullText = true
[services.rss]
limit = 20params:
rss:
fullText: true
services:
rss:
limit: 20| Parameter | Default | Description |
|---|---|---|
params.rss.fullText | false | true puts the full content in each item. |
services.rss.limit | Unlimited | Items per feed. A Hugo setting. |
- Protected posts and pages with
hiddenInRss = trueare left out. - Each tag becomes a
category. The channel image is the brand icon, or else the firstparams.imagesentry. - Full-text items drop buttons and player controls, and make links absolute so they work in feed readers.
With full text, links in your posts reach the feeds: never link to a protected post.