Add cv PDF link to social icons (#3240)
Fixes issue #3243 Add CV PDF link to social icons - Added CV icon to social media links section - CV appears after LinkedIn icon in the contact section - Uses academicons CV symbol for consistent academic styling - Links to `/assets/pdf/CV_Schirren.pdf` and opens in new tab - Updated `_includes/social.liquid` to handle `cv_pdf` field - Updated `_data/socials.yml` with CV configuration - Updated `_scripts/search.liquid.js` with cv search functionality
This commit is contained in:
parent
8086c57b79
commit
33017e7952
@ -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
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
<a href="{{ social[1] }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a>
|
||||
{% when 'bluesky_url' %}
|
||||
<a href="{{ social[1] }}" title="Bluesky"><i class="fa-brands fa-bluesky"></i></a>
|
||||
{% when 'cv_pdf' %}
|
||||
<a href="{{ social[1] | relative_url }}" title="CV" target="_blank"><i class="ai ai-cv"></i></a>
|
||||
{% when 'dblp_url' %}
|
||||
<a href="{{ social[1] }}" title="DBLP"><i class="ai ai-dblp"></i></a>
|
||||
{% when 'discord_id' %}
|
||||
|
||||
@ -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" -%}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user