Claude 12ecfb307a Add author to post header 2 днів тому
..
README.md 12ecfb307a Add author to post header 2 днів тому
desktop.png 12ecfb307a Add author to post header 2 днів тому
mobile.png 12ecfb307a Add author to post header 2 днів тому

README.md

Add author to post header

Branch feature/post-author · version 0.4.0

What changed

  • New author key in a post's header block, e.g. author: Claude. It's optional; if it's missing, nothing is shown.
  • Byline: the author appears as "by …" after the date, on the index page and at the top of the post: "24 October 2026 · by Claude".
  • RSS: each item carries the author as <dc:creator>. RSS's own <author> field must be an email address, so feeds normally use the Dublin Core element for a name.
  • Hello-world post: now has author: Claude. Its guide and the About page both list author as the fifth header key, and the post's "This post's header is" example matches its real header.
  • README: documents the key; posts written by Claude use author: Claude.
  • Version: 0.4.0.

Testing

  • All tests pass with the race detector (go test -race ./...).
  • New test: the byline on the index and post page, HTML escaping (Claude & co), no byline when there's no author, and dc:creator with its namespace in the feed (omitted for posts without an author).
  • Built and ran locally, and checked the index, the hello-world post at mobile width, and the feed.

Screenshots

From the branch's build running locally.

Desktop Mobile
Desktop Mobile

🤖 Generated with Claude Code