Stage 2: data-driven homepage (papers + highlights from _data)#27
Open
eah13 wants to merge 9 commits into
Open
Stage 2: data-driven homepage (papers + highlights from _data)#27eah13 wants to merge 9 commits into
eah13 wants to merge 9 commits into
Conversation
Move ~17 recent posts into _data/papers.yml + _data/highlights.yml, rendered through the existing accordion with no visible change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
News highlights carry no type and fall through to the default "Read more on domain" label; default-to-paper applies in the papers loop only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Unquoted dates parse as Date objects (Jekyll convention, matching post dates), driving the homepage sort and the published-on line. The earlier quoted strings were an artifact of a too-strict standalone validation command, not a Jekyll requirement. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
index.html now renders a data block (papers-with-blurb + highlights, date-sorted) above the essay posts, both via _includes/feed-entry.html. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Match the source post's title exactly; caught by the homepage golden diff. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
Stage 2 of the site modernization: move recent activity out of individual
_posts/files into structured YAML data files, rendered through the existing homepage accordion with no visible change to the site._data/papers.yml— comprehensive publications list (10 entries). Notype(implicitlypaper). An entry appears on the homepage only if it has ablurb, so the file can grow into a complete list while only highlighted papers show._data/highlights.yml— curated non-paper items (7 entries): 2 talks (type: video), 5 news items (notype, default "Read more on …" label)._includes/feed-entry.html— one shared accordion-entry partial, used by both the data block and the essay block (removes prior duplication).index.html— renders a date-sorted data block (papers-with-blurb + highlights) above the remaining essay posts. A cross-type merge sort is intentionally avoided (Liquid can't compare a postTimeto a YAMLDate); the two blocks rely on the documented invariant that all data items are 2020+ and all essays are ≤2019._posts/*.md. Essays (≤2019) and_posts/tools/are untouched.CLAUDE.mdarchitecture notes.This sets up the data shape that Stage 3 (BibTeX-fed publications) will populate. Design + plan are committed under
docs/superpowers/.Test Plan
_site/index.htmlbefore vs after (normalizing only the panel-id scheme) is IDENTICAL — same titles, dates, links, labels, body text, and order.JEKYLL_ENV=production bundle exec jekyll buildwith no new warnings.🤖 Generated with Claude Code