Skip to content

Refactor: remove author UI from blog and constrain reading width#23

Merged
noobnooc merged 2 commits into
mainfrom
claude/priceless-elgamal
Mar 28, 2026
Merged

Refactor: remove author UI from blog and constrain reading width#23
noobnooc merged 2 commits into
mainfrom
claude/priceless-elgamal

Conversation

@noobnooc

Copy link
Copy Markdown
Member

Changes

  • Removed author sidebar from individual blog post pages
  • Simplified blog post layout by constraining max-width from max-w-7xl to max-w-3xl for better readability
  • Moved publication date to header above title in blog post pages
  • Made author fields optional in blog schema (author, authorAvatarLink, authorLink)
  • Updated feed generators (RSS and Atom) to handle optional author fields gracefully
  • Removed author card UI from blog listing page
  • Added Claude launch configuration for development convenience

Impact

Simplifies the blog interface by focusing on content readability while maintaining backward compatibility with optional author metadata in frontmatter.

- Make author/authorAvatarLink/authorLink optional in blog schema
- Remove author avatar and name from blog listing cards
- Remove author sidebar from blog post reading page; show date near title instead
- Constrain blog post content to max-w-3xl for comfortable reading
- Handle optional author in RSS/Atom feeds and metadata generation
- Add .claude/launch.json with dev server configurations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 28, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
echobell-one bc7e96d Commit Preview URL

Branch Preview URL
Mar 28 2026, 10:54 AM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a6f2cf896c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<updated>${updated}</updated>
<summary>${escape(data.description ?? data.title)}</summary>
<author><name>${escape(data.author)}</name></author>
${data.author ? `<author><name>${escape(data.author)}</name></author>` : ""}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve Atom author metadata for authorless posts

This change makes each entry’s <author> conditional, but the feed template still has no feed-level <author> fallback. After author became optional, any post without author will produce an Atom entry with no author metadata, which violates Atom’s required author semantics (author must exist on the entry or be inherited from the feed) and can cause feed readers/validators to reject or drop those entries. Add a feed-level author element or emit a default entry author when data.author is missing.

Useful? React with 👍 / 👎.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@noobnooc noobnooc merged commit d1c583d into main Mar 28, 2026
2 checks passed
@noobnooc noobnooc deleted the claude/priceless-elgamal branch March 28, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant