fix: add missing /content/ segment to category.html thumbnail paths#54
Merged
fix: add missing /content/ segment to category.html thumbnail paths#54
Conversation
Jekyll collections in _-prefixed directories generate HTML pages for documents but do not automatically output static files (audio, images, etc.) alongside them. This adds a Jekyll generator plugin that copies non-document files from collection directories into _site/ at the correct paths, making audio and download files accessible. Also adds the type attribute to <source> elements for better browser compatibility with audio playback. Co-Authored-By: Paperclip <noreply@paperclip.ing>
The category template was building thumbnail URLs without the /content/ prefix, causing broken image previews. This aligns the path construction with item.html and the copy_collection_files plugin output directory. Closes NAT-130 Co-Authored-By: Paperclip <noreply@paperclip.ing> Co-Authored-By: Claude Opus 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
/content/segment to thumbnail URL construction in_layouts/category.html/Volts/wraps/sample-wrap/thumb.pnginstead of/Volts/content/wraps/sample-wrap/thumb.png_layouts/item.htmland aligns with_plugins/copy_collection_files.rboutput directoryTest plan
srcattributes to confirm they include/content/in the pathbundle exec jekyll buildand verify no errors🤖 Generated with Claude Code