fix: post pages keep og:type article and their article times

- journalArticleMeta(post) answers og:type article and the publish and
  update times; PostPage always sets them, the CMS-owned keys keep the
  no-answer fallback (L4 WR-02)
- expect-acme.txt: one og:type article and the article times with a CMS
  answer (heading-on) and without one (uncategorised-note)
This commit is contained in:
Jakub Zych
2026-11-04 22:51:31 +01:00
parent 1e05efcd25
commit 839db5156c
5 changed files with 42 additions and 6 deletions

View File

@@ -14,6 +14,11 @@
200 /blog/heading-on contains=<title>Heading On Sample | Acme Blog</title> count=<title>:1
# Without a CMS answer the post's own title and description are the fallback.
200 /blog/uncategorised-note contains=<title>Uncategorised Note</title> contains=Uncategorised Note: a short summary.
# og:type article and the article times on every post page, with a CMS
# answer (heading-on) and without one (uncategorised-note): the CMS head
# never carries them (L4 WR-02).
200 /blog/heading-on count=property="og:type":1 contains=<meta property="og:type" content="article"> contains=<meta property="article:published_time" content="2025-12-20T09:00:00+00:00"> contains=<meta property="article:modified_time" content="2025-12-20T09:00:00+00:00">
200 /blog/uncategorised-note count=property="og:type":1 contains=<meta property="og:type" content="article"> contains=<meta property="article:published_time" content="2026-01-02T09:00:00+00:00">
# Single post
200 /blog/hello-acme contains=Hello Acme