From b6f327b8b53c1f5abc13a880350ca78f87039d1a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 7 Apr 2021 06:44:41 +0300 Subject: move all external links to _config.yml --- _config.yml | 11 ++++++++++- index.html | 10 ++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index a77bdc3..566607b 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,16 @@ hide_navbar: true personal_info: name: Egor Tensin email: Egor.Tensin@gmail.com - cv_url: https://egor-tensin.github.io/cv/cv.pdf + links: + - url: mailto:Egor.Tensin@gmail.com + text: Egor.Tensin@gmail.com + glyph: envelope + - url: https://egor-tensin.github.io/cv/cv.pdf + text: Curriculum vitae + glyph: file + - url: https://egort.name/ + text: Cute dog pictures + glyph: heart gpg: public_key_url: /gpg.txt fingerprint: 0281 0B23 3E1A 7D41 8FB1 5245 0494 6FC7 502B 539A diff --git a/index.html b/index.html index 5304b3a..4cc704e 100644 --- a/index.html +++ b/index.html @@ -11,13 +11,11 @@ Feel free to make contributions or contact me.

 GitHub profile - {% if site.personal_info.email %} -  {{ site.personal_info.email }} - {% endif %} - {% if site.personal_info.cv_url %} -  Curriculum vitae + {% if site.personal_info.links %} + {% for link in site.personal_info.links %} +  {{ link.text }} + {% endfor %} {% endif %} -  Pictures of my dog
{% if site.personal_info.gpg %} -- cgit v1.2.3