diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 06:44:41 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 06:49:18 +0300 |
commit | b6f327b8b53c1f5abc13a880350ca78f87039d1a (patch) | |
tree | 4a26239c7ca6f924ecfe9ddc1b931e71291fa40b | |
parent | add a link to egort.name (diff) | |
download | egor-tensin.github.io-b6f327b8b53c1f5abc13a880350ca78f87039d1a.tar.gz egor-tensin.github.io-b6f327b8b53c1f5abc13a880350ca78f87039d1a.zip |
move all external links to _config.yml
-rw-r--r-- | _config.yml | 11 | ||||
-rw-r--r-- | 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 @@ -11,13 +11,11 @@ Feel free to make contributions or contact me.</p> <div class="list-group wide-enough"> <a class="list-group-item" href="{{ site.github.owner_url }}"><span class="glyphicon glyphicon-home"></span> GitHub profile</a> - {% if site.personal_info.email %} - <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span> {{ site.personal_info.email }}</a> - {% endif %} - {% if site.personal_info.cv_url %} - <a class="list-group-item" href="{{ site.personal_info.cv_url }}"><span class="glyphicon glyphicon-file"></span> Curriculum vitae</a> + {% if site.personal_info.links %} + {% for link in site.personal_info.links %} + <a class="list-group-item" href="{{ link.url }}"><span class="glyphicon glyphicon-{{ link.glyph }}"></span> {{ link.text }}</a> + {% endfor %} {% endif %} - <a class="list-group-item" href="https://egort.name/"><span class="glyphicon glyphicon-tent"></span> Pictures of my dog</a> </div> {% if site.personal_info.gpg %} |