diff --git a/_data/socials.yml b/_data/socials.yml index 83b92a8..c410d72 100644 --- a/_data/socials.yml +++ b/_data/socials.yml @@ -9,6 +9,7 @@ # arxiv_id: # your arXiv author ID # blogger_url: # your blogger URL # bluesky_url: # your bluesky URL +cv_pdf: /assets/pdf/example_pdf.pdf # path to your CV PDF file # dblp_url: # your DBLP profile url # discord_id: # your discord id (18-digit unique numerical identifier) email: you@example.com # your email address diff --git a/_includes/social.liquid b/_includes/social.liquid index d76d54e..b901739 100644 --- a/_includes/social.liquid +++ b/_includes/social.liquid @@ -10,6 +10,8 @@ {% when 'bluesky_url' %} + {% when 'cv_pdf' %} + {% when 'dblp_url' %} {% when 'discord_id' %} diff --git a/_scripts/search.liquid.js b/_scripts/search.liquid.js index 8fcbaa7..e43540c 100644 --- a/_scripts/search.liquid.js +++ b/_scripts/search.liquid.js @@ -119,6 +119,10 @@ ninja.data = [ {%- assign social_id = "social-bluesky" -%} {%- assign social_title = "Bluesky" -%} {%- capture social_url %}"{{ social[1] }}"{% endcapture -%} + {%- when "cv_pdf" -%} + {%- assign social_id = "social-cv" -%} + {%- assign social_title = "CV" -%} + {%- capture social_url %}"{{ social[1] | relative_url }}"{% endcapture -%} {%- when "dblp_url" -%} {%- assign social_id = "social-dblp" -%} {%- assign social_title = "DBLP" -%}