Skip to content

Commit e2e1764

Browse files
Fix unreliable CV PDF viewer by using native browser embed
Replace Google gview proxy (which frequently fails to load) with direct PDF embed using <object> tag and <iframe> fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 496147f commit e2e1764

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

_pages/cv.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ nav_order: 5
77
description:
88
---
99

10-
<iframe src="https://docs.google.com/gview?url=https://profhannahchang.github.io/assets/pdf/CV.pdf&embedded=true" width="100%" height="800px" style="border: none;"></iframe>
10+
<object data="{{ '/assets/pdf/CV.pdf' | relative_url }}" type="application/pdf" width="100%" height="800px" style="border: none;">
11+
<iframe src="{{ '/assets/pdf/CV.pdf' | relative_url }}" width="100%" height="800px" style="border: none;">
12+
<p>Your browser does not support PDF viewing. <a href="{{ '/assets/pdf/CV.pdf' | relative_url }}">Download CV (PDF)</a></p>
13+
</iframe>
14+
</object>
1115

1216
<p style="text-align: center; margin-top: 10px;">
1317
<a href="{{ '/assets/pdf/CV.pdf' | relative_url }}" target="_blank">Download CV (PDF)</a>

0 commit comments

Comments
 (0)