Refresh Books page: DP volumes, QuantMFR, improved card design#192
Merged
Refresh Books page: DP volumes, QuantMFR, improved card design#192
Conversation
- Split Dynamic Programming into Volume I and Volume II entries - Add NEW badge to Volume II (General States) - Add Community Books section with Quant Macro Finance (Hansen, Sargent, Borovička) - Promote Books to top-level navigation between Lectures and Workshops - Add category field (quantecon/community) to book project entries - Add badge-new CSS styling
✅ Deploy Preview for grand-swan-ca5201 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Refreshes the Jekyll Books page to better surface recent QuantEcon publications, add community-authored books, and promote Books to the top-level navigation.
Changes:
- Split Dynamic Programming into Volume I and Volume II (with a configurable “NEW” badge on Volume II).
- Add a Community Books section driven by
_projects/frontmatter (type: book,category,order), starting with Quant Macro Finance. - Move “Books” from the Projects dropdown into the top navigation bar.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
assets/main.scss |
Adds styling for a “NEW” badge on book cards. |
assets/img/books/quantmfr-image.svg |
Adds a cover image asset for the new community book entry. |
_projects/quantmfr.md |
Adds a new community book entry (Quant Macro Finance). |
_projects/networks.md |
Updates metadata (description, order) and assigns category: quantecon. |
_projects/dp.md |
Renames DP to Volume I, updates description/order, assigns category: quantecon. |
_projects/dp-vol2.md |
Adds DP Volume II entry with new: true, order, and category. |
_layouts/default.html |
Promotes Books to a top-level nav item and removes it from Projects dropdown. |
_layouts/books.html |
Implements category-based book grouping and NEW badge rendering. |
Comments suppressed due to low confidence (1)
_layouts/books.html:52
- In the Community Books loop, the markup similarly opens
.projectand.item-infobut only closes one</div>before closing the link. Please explicitly close both.item-infoand.projectdivs to keep the HTML well-formed and avoid unexpected layout issues when the template is modified later.
<div class="project d-flex flex-column align-items-start">
<div class="item-info d-flex">
<div class="item-pic-books"><img src="/assets/img/books/{{ project.image }}"></div>
<div class="item-title">
<h3 class="name">{{ project.name }}</h3>
<div class="item-desc">
{{ project.description | markdownify }}
</div>
</div>
</div>
</a>
- Merge QE and community books into one sorted list (QuantMFR now 2nd) - Download and use real cover art from the QuantMFR project page - Mark QuantMFR as NEW; QE watermark shown only for quantecon-category books - Reduce book card height via smaller image container and tighter spacing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Split description into authors + description fields for all books - Render authors as a muted italic byline between title and abstract - Fix book thumbnails: remove object-fit cropping, scale naturally to width - Add align-self: flex-start to prevent flex stretch on image container Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previous commit put styles in the wrong SCSS block. Now correctly scoped to .projects .project with background on hover and underline suppressed on the wrapping anchor. Co-Authored-By: Claude Sonnet 4.6 <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
Refreshes the Books page with improved layout, card design, and content organisation.
Content changes
new: truefrom the project frontmatterauthorsfield rendered as a readable byline, distinct from the abstractLayout & design changes
orderfield; QE watermark shown only on QuantEcon-category booksalign-self: flex-startto prevent flex stretchAdding more books later
Create a new file in
_projects/with:Preview
Please review the
/books/page on the deploy preview.