Skip to content
Back to skills

Content Dates

ASecurity

Use when auditing article or blog pages for date markup, generating Article JSON-LD with datePublished/dateModified, or checking whether a CMS template surfaces dates correctly.

  • 74,526 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 5, 2026
developmentrustgofrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill content-dates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Content Dates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Content Dates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-content-dates/badge)](https://www.skillsdirectory.com/skills/thedaviddias-content-dates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: content-dates
description: "Use when auditing article or blog pages for date markup, generating Article JSON-LD with datePublished/dateModified, or checking whether a CMS template surfaces dates correctly."
metadata:
  category: seo
  priority: medium
  difficulty: intermediate
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/seo/content-dates
---

# Show published and updated dates

Google uses publication and modification dates to assess content freshness, which influences rankings for time-sensitive queries. Visible dates also build user trust by signalling that content is current and maintained.

## Quick Reference

- Include a visible published date and a `dateModified` in JSON-LD for every article or blog post
- Use ISO 8601 format (`2024-03-15T10:00:00Z`) in structured data; human-readable in the visible UI
- Update `dateModified` only when content meaningfully changes — not on trivial edits

## Check

On each article or blog page, check: (1) Is there a visible published date in the page body or byline? (2) Does the JSON-LD `Article` or `BlogPosting` block include `datePublished` and `dateModified` properties in ISO 8601 format? (3) Does the `<head>` include `<meta property="article:published_time">` and `<meta property="article:modified_time">` Open Graph tags?

## Fix

1. Add a visible publication date in the page byline: `<time datetime="2024-03-15">March 15, 2024</time>`.
2. Add `datePublished` and `dateModified` to the Article JSON-LD block:
   ```json
   {
     "@type": "Article",
     "datePublished": "2024-03-15T10:00:00Z",
     "dateModified": "2024-11-20T14:30:00Z"
   }
   ```
3. Add Open Graph article time tags to `<head>`:
   ```html
   <meta property="article:published_time" content="2024-03-15T10:00:00Z">
   <meta property="article:modified_time" content="2024-11-20T14:30:00Z">
   ```
4. Ensure your CMS or build system updates `dateModified` automatically on content saves.


## Explain

Google's freshness algorithm rewards recently published or updated content for time-sensitive queries. Structured date markup lets Google confidently surface the correct date in search snippets; without it, Google must guess from page text or HTTP headers, often producing wrong or missing dates.

## Code Review

Verify that Article or BlogPosting JSON-LD includes both `datePublished` and `dateModified` in ISO 8601 format. Check that `<time datetime='...'>` elements in the body use machine-readable dates. Confirm `dateModified` updates when content changes, not just on every deploy.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/seo/content-dates

Files in this skill

  • SKILL.md2.7 KB
  • references/rule.md4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.