Skip to content

contensio/plugin-glossary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glossary

Add an A-Z glossary of terms and definitions to your Contensio site. Supports multiple languages when languages are configured in the admin. Optionally auto-links term occurrences in post content.

Features

  • A-Z glossary page - alphabet navigation with letter-based filtering; terms grouped by first letter
  • Single term pages - clean definition page per term with a letter badge and breadcrumb
  • Multi-language - each term has a title and definition per active language; falls back to the default language if a translation is missing
  • Auto-linking - optionally replaces the first occurrence of each published term in post body content with a link to its glossary page; skips existing links, headings, and code blocks
  • Minimum length filter - prevents short abbreviations (e.g. "IT", "API") from being auto-linked; configurable minimum character count
  • Slug control - auto-generated from the default language title, or manually set
  • Status - publish or keep as draft; only published terms appear on the public glossary
  • Admin listing - search terms, filter by status, see which languages each term has been translated into
  • Settings hub card - shows published/total count in the admin settings overview

Setup

  1. Enable the plugin in the admin Plugins panel.
  2. Go to Glossary > Settings to configure the page title and URL slug.
  3. Add terms under Glossary.
  4. Link /glossary (or your configured slug) from your site navigation.
  5. Optionally enable auto-linking in Settings.

Auto-linking

When enabled, the contensio/content/body filter hook replaces the first occurrence of each published glossary term in post body HTML with an anchor link. Terms are matched case-insensitively and sorted longest-first to prevent partial matches. Existing <a>, <h1>-<h6>, <code>, and <pre> blocks are never modified.

License

AGPL-3.0-or-later. See LICENSE file.

About

Glossary plugin for Contensio. A-Z terms with definitions, multi-language support, and auto-linking in post content.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors