Repository navigation
Move talks, teaching and software to data files; richer publication links - #41
Merged
Merged
Conversation
…inks Publications - Every link is a BibTeX field: file (PDF), doi, arxiv, url, code, slides, video, poster, data. An arXiv id in the doi field of an @Unpublished entry still works. Template-only fields are dropped from the copyable BibTeX via bibtex_skip_fields. - BIB button on every entry type (previously only five types). - Year badge is rendered from entry.year in the template instead of a regex over the citation text in JavaScript. - selected = {true} lists an entry under "Selected publications" on the home page (the block hides itself when nothing is selected). - citesty.csl no longer prints URLs inside the reference text; links are buttons. Its DOI branch had already been removed for the same reason. Data-driven pages - _data/talks.yml (title, event, year; optional location, date, type, url, slides, video) replaces the @incollection[keywords ^= invited] BibTeX hack. Invited and contributed talks render in the order listed. - _data/teaching.yml and _data/software.yml drive the Teaching and Software pages, which previously held hand-written HTML. - _data/people.yml and the About page's "Students and Mentoring" list are removed; they duplicated alumni.yml. The unused alumni photo field is dropped from the demo data. - Each data-driven page shows a short hint when its list is empty. Setup and configuration - setup.sh --clean removes the demo content (data entries, ref.bib, posts, papers, demo images, Feynman prose) leaving commented skeletons and a placeholder avatar, then runs the usual prompts. The prompts now also set description and derive scholar.last_name / first_name. - Analytics: Plausible, Umami and GoatCounter alongside GA4, each a one-line setting in _config.yml. - nav_pages entries accept an optional label so navbar text can differ from the URL. README and UPGRADING document the new fields and files.
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
Phase 3 of the template cleanup: the data model. Users edit YAML lists and BibTeX fields instead of HTML.
Publications
file(PDF),doi,arxiv,url,code,slides,video,poster,dataeach become a pill button. The old convention (arXiv id indoifor@unpublished) still works. Template-only fields are stripped from the copyable BibTeX.entry.yearin the template, replacing the JS regex over citation text.selected = {true}lists an entry in a "Selected publications" block on the home page; the block hides itself when nothing is flagged.citesty.cslno longer prints URLs inside reference text (links are buttons; its DOI branch had already been removed for the same reason).Data-driven pages
_data/talks.ymlreplaces the@incollection[keywords ^= invited]BibTeX hack (invited/contributed sections, optional link/slides/video buttons)._data/teaching.ymland_data/software.ymldrive the Teaching and Software pages._data/people.ymland the About page's duplicate "Students and Mentoring" list are removed (agreed in review of the design).Setup and configuration
./setup.sh --cleanstrips the Feynman demo (data entries,ref.bib, posts, papers, demo images, prose) to commented skeletons plus a placeholder avatar, then runs the usual prompts; prompts also setdescriptionand derivescholar.last_name/first_name. This is the permanent answer to "Remove (me) Spencer!" (Remove (me) Spencer! #3).nav_pages[].labelfor navbar text that differs from the URL.Verification
setup.sh --cleanexercised end-to-end in a scratch copy: exits 0, config rewritten (name, scholar names, description, placeholder photo, blank links), demo files gone, data files comment-only, clean site builds with zero occurrences of "Feynman", empty-state hints shown, favicon initials "JS".Upgrading
UPGRADING.mdcovers the talks migration, removedpeople.yml, and the new BibTeX fields.