--- title: Main page layout: plain main: - email - url: /blog/ name: blog - url: /cv.pdf name: cv - github - url: /void/ name: void projects: - url: https://github.com/egor-tensin/cgitize name: cgitize description: Self-host your repositories using cgit - url: https://github.com/egor-tensin/config-links name: config-links description: Configuration file sharing - url: /status/ name: linux-status description: Simple Linux server monitoring - url: /sorting-algorithms/ name: sorting-algorithms description: Getting the hang out of (sorting) algorithms - url: /wireguard-config/ name: wireguard-config description: Generate WireGuard configuration files - url: https://git.tensin.name/ description: More... ---

{{ site.settings.author.name }}


{% capture links %}

links

{% if page.main %} {% for link in page.main %} {% if link == 'email' %} {% assign url = 'mailto:' | append: site.settings.author.email %} {% assign name = site.settings.author.email | downcase %} {% elsif link == 'github' %} {% assign url = site.github.owner_url %} {% assign name = 'github' %} {% else %} {% assign url = link.url %} {% assign name = link.name %} {% endif %} {% assign desc = link.description %} {% if name %}

{{ name }}

{% endif %} {% if desc %}

{{ desc }}

{% endif %}
{% endfor %} {% endif %}
{% endcapture %} {% capture projects %} {% if page.projects %}

projects

{% for link in page.projects %} {% assign url = link.url %} {% assign name = link.name %} {% assign desc = link.description %} {% if name %}

{{ name }}

{% endif %} {% if desc %}

{{ desc }}

{% endif %}
{% endfor %}
{% endif %} {% endcapture %}
{{ links }} {{ projects }}