content_freshness
Content Freshness Indicator displays a visual, color-coded badge on content pages showing how fresh or stale the content is based on its last updated date.
This helps visitors quickly assess the relevance and timeliness of the content they are reading.
Features:
- Three-tier badge: Fresh (green), Aging (yellow), Stale (red)
- Configurable day thresholds globally and per content type
- Displays relative time (e.g., "Updated 3 days ago")
- Integrates with Manage Display as a pseudo-field
- Accessible with ARIA labels
Requirements:
Drupal 11, Node module (core)
Installation:
Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/1897420 for further information.
Configuration:
1. Go to Admin > Configuration > Content > Content Freshness Indicator
2. Set Fresh and Aging thresholds
3. Enable for desired content types
4. Position the badge via Manage Display
4. Choose Full project (not sandbox)
5. Click Save