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:
Lukas Schirren 2025-11-17 01:39:18 +00:00 committed by GitHub
parent 8086c57b79
commit 33017e7952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@
# arxiv_id: # your arXiv author ID # arxiv_id: # your arXiv author ID
# blogger_url: # your blogger URL # blogger_url: # your blogger URL
# bluesky_url: # your bluesky 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 # dblp_url: # your DBLP profile url
# discord_id: # your discord id (18-digit unique numerical identifier) # discord_id: # your discord id (18-digit unique numerical identifier)
email: you@example.com # your email address email: you@example.com # your email address

View File

@ -10,6 +10,8 @@
<a href="{{ social[1] }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a> <a href="{{ social[1] }}" title="Blogger"><i class="fa-brands fa-blogger-b"></i></a>
{% when 'bluesky_url' %} {% when 'bluesky_url' %}
<a href="{{ social[1] }}" title="Bluesky"><i class="fa-brands fa-bluesky"></i></a> <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' %} {% when 'dblp_url' %}
<a href="{{ social[1] }}" title="DBLP"><i class="ai ai-dblp"></i></a> <a href="{{ social[1] }}" title="DBLP"><i class="ai ai-dblp"></i></a>
{% when 'discord_id' %} {% when 'discord_id' %}

View File

@ -119,6 +119,10 @@ ninja.data = [
{%- assign social_id = "social-bluesky" -%} {%- assign social_id = "social-bluesky" -%}
{%- assign social_title = "Bluesky" -%} {%- assign social_title = "Bluesky" -%}
{%- capture social_url %}"{{ social[1] }}"{% endcapture -%} {%- 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" -%} {%- when "dblp_url" -%}
{%- assign social_id = "social-dblp" -%} {%- assign social_id = "social-dblp" -%}
{%- assign social_title = "DBLP" -%} {%- assign social_title = "DBLP" -%}