Skip to content

Keep /blog general and make /ctf_blog security-only - #34

Merged
ZulTheDev merged 2 commits into
mainfrom
fix/ctf-blog-cybersecurity-filter
Oct 8, 2026
Merged

ZulTheDev merged 2 commits into
mainfrom
fix/ctf-blog-cybersecurity-filter

Conversation

@ZulTheDev

Copy link
Copy Markdown
Owner

Separates the general Astro blog landing page from the CTF archive. /blog keeps the full mixed experience (recent items, systems notes, CTF shelf, webcomic), while /ctf_blog now renders a dedicated cybersecurity/CTF catalog only. Legacy entries are filtered by content type, CTF metadata, tags, and security keywords; blog/webcomic items are explicitly excluded. The Astro CTF shelf applies the same filter.

@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zul-portfolio-api Building Building Oct 8, 2026 4:19pm UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T16:21:47.549354Z f0627f6 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ZulTheDev
ZulTheDev merged commit f66eba9 into main Oct 8, 2026
3 checks passed

@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: f0627f609f

ℹ️ 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".

Comment thread client/src/App.jsx
Comment on lines +3815 to +3817
return /\b(ctf|cyber|cybersecurity|security|dfir|forensic|forensics|osint|reverse engineering|reversing|binary exploitation|pwn|web exploitation|web security|cryptography|crypto challenge|malware|incident response|soc|vulnerability|pentest|penetration testing|network security|packet|threat intel|threat intelligence)\b/.test(
haystack
);

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 Keep pre-kind CTF index entries visible

Legacy ctf_blog/index.json summaries produced before content kinds were introduced contain only fields such as slug, title, excerpt, and tags, so they reach this keyword test without kind or ctf metadata. A valid writeup with a challenge-specific but generic title/tag (for example, “Baby Shark” tagged “misc”) therefore disappears from the new /ctf_blog catalog—and from the Astro CTF shelf using the duplicated predicate—even though its presence in the legacy CTF index already establishes its type. Treat missing kind as legacy CTF content or inspect the linked document instead of requiring one of this fixed set of keywords.

Useful? React with 👍 / 👎.

This branch was successfully deployed

1 active deployment
Preview — f0627f60 Deployed Oct 8, 2026 by vercel[bot]
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