# Stale Content Warning

The stale content warning shows an admonition on an article when it has not been updated within a configurable number of days. The partial reads `lastmod` in front matter, and falls back to `date`.

## Configuration

Set `pageShowStaleWarning` to enable this feature, and set `pageStaleDays` to control how many days may pass before an article is considered stale.

```yaml {title="hugo.yaml"}
params:
  pageShowStaleWarning: true
  pageStaleDays: 365
```

The `pageStaleDays` defaults to `365`.




## Ancestors of This Page (Auto Generated)



- https://yore.zsl0621.cc/docs/features/index.md

- https://yore.zsl0621.cc/docs/index.md
