---
description: Configure keywords globally or per-page for SEO and internal search.
date_published: 2026-10-06
date_modified: 2026-10-06
canonical_url: https://sentrysoftware.org/sentry-maven-skin/keywords.html
---

# Keywords

On this Page

- [Global Keywords](#global-keywords)
- [Page-Specific Keywords](#page-specific-keywords)
- [How Keywords Merge](#how-keywords-merge)
- [Search Optimization](#search-optimization)
- [See Also](#see-also)

Keywords appear in the HTML `<meta name="keywords">` tag and are indexed by the built-in search engine.

## Global Keywords

Set keywords for all pages in `src/site/site.xml`:

```xml
<custom>
  <keywords>java, maven, documentation</keywords>
</custom>
```

## Page-Specific Keywords

Add keywords to individual pages using front matter:

```markdown
keywords: installation, setup, quickstart

# Getting Started

Your content...
```

## How Keywords Merge

Page keywords are combined with global keywords. If you have:

- Global: `java, maven`
- Page: `installation, setup`

The resulting HTML will be:

```html
<meta name="keywords" content="java, maven, installation, setup"/>
```

## Search Optimization

Keywords are indexed by the [built-in search](search.html). Use them to:

- Add synonyms (e.g., `keywords: jpg` for a page about JPEG)
- Include common misspellings
- Add related terms users might search for

## See Also

- [Front Matter Headers](headers.html) - All available header options
- [Full-Text Search](search.html) - How the search index uses keywords
- [Configuration Reference](settings.html) - All site.xml and front matter options
