Add structured publications rendering pipeline#498
Open
tati-micheletti wants to merge 5 commits into
Open
Conversation
Contributor
|
Once this is merged and I can see it formatted, I'll see if I should add anything. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a lightweight, structured publications workflow to the Hugo site by introducing a canonical bibliography source, a CSL-JSON data export for rendering, and Hugo templates/partials to display publications (including intended injection into the “Awesome Modeling Practices” page).
Changes:
- Adds a new Publications page layout and a reusable
publications-listpartial to render entries fromdata/publications.json. - Updates the Awesome Modeling Practices rendering pipeline to (intended) inject a publications list via a placeholder token.
- Adds bibliography source files:
assets/publications/publications.bib(BibTeX) anddata/publications.json(CSL-JSON).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| layouts/resources/publications.html | New Publications page template with a download link and list rendering |
| layouts/partials/publications-list.html | New partial to render CSL-JSON publications into HTML |
| layouts/docs/awesome-list.html | Attempts to inject rendered publications list into remote-rendered Awesome list content |
| data/publications.json | Adds CSL-JSON publication records consumed by Hugo site.Data |
| content/en/resources/publications.md | Switches Publications content to use the new publications layout and dynamic messaging |
| assets/publications/publications.bib | Adds BibTeX bibliography source intended for download/reuse |
| {{ $html := $content | markdownify }} | ||
|
|
||
| {{ $pubs := partial "publications-list.html" . }} | ||
| {{ $content = replace $content "<p>OMF_PUBLICATIONS_LIST</p>" $pubs }} |
a7b3129 to
ea618d5
Compare
alee
approved these changes
May 22, 2026
Member
alee
left a comment
There was a problem hiding this comment.
thanks for pushing this forward @tati-micheletti !
- Setup Hugo parsing for CSL-JSON fields
- fix missing index from code `{{ index . "container-title" }}`
simplify awesome-list.html and extract hairy regex rewrites and sanitization into the `render-remote-readme` partial
6e83dbe to
388bebb
Compare
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.
This PR introduces a lightweight structured publications workflow for OMF resources.
Key changes:
Adds publications.bib as the canonical bibliography source
Adds CSL-JSON export for Hugo-compatible structured rendering
Adds reusable Hugo partial for publication rendering
Dynamically injects publications into the Awesome Modeling Practices page
Provides downloadable bibliography source for reuse in reference managers
The implementation intentionally keeps scope minimal:
no CSL citation styling engine
no search/filtering
no advanced bibliography infrastructure
This follows the architecture direction discussed in the previous review conversation while avoiding duplicated maintenance across repositories.