From c2cc2148c06d267c652ea5774979788604277e18 Mon Sep 17 00:00:00 2001 From: Ricky Yuan Date: Tue, 14 Jan 2025 22:39:28 +0800 Subject: [PATCH] Fix resume custom reference link bug (#2941) Hi, I noticed an issue where the CV page fails to link to the correct custom PDF when the `{% unless site.data.resume %}` block is executed in `cv.liquid`. To resolve this, I updated the code to align its logic with the else block to make it consistent. --------- Co-authored-by: Maruan Al-Shedivat --- _layouts/cv.liquid | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/_layouts/cv.liquid b/_layouts/cv.liquid index 88dac2a..17f6c41 100644 --- a/_layouts/cv.liquid +++ b/_layouts/cv.liquid @@ -8,12 +8,17 @@ layout: default {{ page.title }} {% if page.cv_pdf %} + > + + {% endif %} {% if page.description %}