Skip to content

Commit

Permalink
Fix path to pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzai committed Jan 22, 2024
1 parent a0f74e6 commit bcaaa22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="block">
{% if site.json.cv %}
{% assign cv = site.json.cv | split: "/" | slice: -1 %}
<p><span class="key">cv</span><span class="attr"><a href="{{ site.json.cv | relative_url }}" {{ target }}>{{ cv }}</a></span></p>
<p><span class="key">cv</span><span class="attr"><a href="{{ site.json.cv }}" {{ target }}>{{ cv }}</a></span></p>
{% endif %}
</div>
<div class="block">
Expand Down
2 changes: 1 addition & 1 deletion demo/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ json:
- Hello!
- This tiny website
- Looks like json
cv: /assets/cv.pdf
cv: cv.pdf
address:
- University of Jekyll
- Department of Themes
Expand Down

0 comments on commit bcaaa22

Please sign in to comment.