Add research log to the Community section - #8
Merged
Conversation
A weekly research log — "what has happened so far" — as its own content-collection-backed section, matching the multi-page structure of curriculum/talks/workshops rather than a single hardcoded page: - src/content.config.ts: add typed researchLog collection (glob loader). Add a markdown file to publish a weekly entry; draft: true hides it. - Pages: /research-log index (newest-first week cards) + per-entry detail page with rendered markdown body, both through the Base layout. - Community hub: add a fourth card (with live entry count) and widen the card grid to four; homepage teaser links to the log too. Seeded three placeholder weekly entries; replace by editing the files. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013w1uYPCToTdEth65NQpxUR
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
website | 5009cfd | Commit Preview URL Branch Preview URL |
Jul 21 2026, 12:10 PM |
There was a problem hiding this comment.
Pull request overview
Adds a new “Research Log” section to the site’s Community area using the same Astro content-collection + index/detail routing pattern already used for other Community content, rendered through the shared Base layout.
Changes:
- Introduces a new
researchLogcontent collection (glob-loaded Markdown entries with a Zod schema). - Adds
/research-log(index listing) and/research-log/[...slug](entry detail) pages. - Updates the Community hub and homepage Community teaser links to include the Research Log, including a live published-entry count.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/research-log/index.astro | New index page that lists published research log entries newest-first with week/date/summary/tags. |
| src/pages/research-log/[...slug].astro | New detail page that statically generates one route per published entry and renders the Markdown body. |
| src/pages/index.astro | Adds “Research log” to the homepage Community/field-building teaser links. |
| src/pages/community.astro | Adds a 4th Community card for the Research Log (with entry count) and updates the grid to accommodate four cards. |
| src/content/research-log/week-01-foundations.md | Seeds a placeholder Week 1 research log entry. |
| src/content/research-log/week-02-sparse-autoencoders.md | Seeds a placeholder Week 2 research log entry. |
| src/content/research-log/week-03-adversarial-robustness.md | Seeds a placeholder Week 3 research log entry. |
| src/content.config.ts | Adds the researchLog collection definition + schema and exports it with the other collections. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a weekly research log ("what has happened so far") to the Community section, building on the curriculum/talks/workshops pages already on
main(from #7).Rather than a single hardcoded page, this matches the existing multi-page structure: a typed content collection + index page + per-entry detail page, all rendered through the shared
Baselayout.What's included
researchLogcontent collection (src/content.config.ts) via the glob loader — add a markdown file to publish a weekly entry;draft: truehides one. No code change to add content./research-log— index page listing entries newest-first as week cards (week label, date, summary, tags)./research-log/[week]— per-entry detail page with the full markdown body rendered through the shared.prosestyles, for longer write-ups.Content
Seeded three placeholder weekly entries (Foundations & Onboarding, Sparse Autoencoders, Adversarial Robustness). Replace them by editing the files in
src/content/research-log/.Verification
npm run buildsucceeds — 14 pages, including the new/research-logroutes;@astrojs/sitemappicks them up automatically.Notes
Base-layout architecture (no duplicated<head>/footer, no hardcoded arrays). With this landed, Add community page with weekly recaps and curriculum accordion #6 is superseded.🤖 Generated with Claude Code
https://claude.ai/code/session_013w1uYPCToTdEth65NQpxUR
Generated by Claude Code