Skip to content

Commit 7ccae79

Browse files
MaxDatenclaude
andcommitted
fix: add resource-path for pandoc to find optimized images
Pandoc couldn't embed the profile picture because it was looking for ./img/profile-current.webp relative to the working directory instead of the build output directory where optimized images are stored. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 35b17b3 commit 7ccae79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ profile_quality := "85" # JPEG quality (0-100)
1111

1212
pandoc_options := "--standalone --from markdown+latex_macros"
1313
pandoc_pdf_options := "--template " + template_dir + "/template.tex"
14-
pandoc_html_options := "--embed-resources --write html5 --css " + template_dir + "/template.css --template " + template_dir + "/template.html --verbose"
14+
pandoc_html_options := "--embed-resources --resource-path=build --write html5 --css " + template_dir + "/template.css --template " + template_dir + "/template.html --verbose"
1515
pandoc_docx_options := "--write docx"
1616

1717
# CV variants: source_file:output_name

0 commit comments

Comments
 (0)