blob: 81d57c9a8e8e64bc03d1f0194f2d80300e99920a (
plain) (
tree)
|
|
---
title: Main page
layout: plain
main:
- email
- github
- url: /cv/cv.pdf
name: cv
- url: https://egort.name/
name: egort.name
description: My other place on the web
projects:
- url: /blog/
name: blog
description: Random notes
- url: https://egort.name/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://egort.name/git/
description: More...
---
<h1>{{ site.settings.author.name }}</h1>
<hr/>
<div class="row">
{% if page.projects %}
<div class="col-sm-6 col-md-5 col-lg-4">
<div class="list-group">
<div class="list-group-item disabled">
<h4 class="list-group-item-heading">projects</h4>
</div>
{% for project in page.projects %}
<a class="list-group-item" href="{{ project.url }}">
{% if project.name %}
<h4 class="list-group-item-heading">{{ project.name }}</h4>
{% endif %}
{% if project.description %}
<p class="list-group-item-text">{{ project.description }}</p>
{% endif %}
</a>
{% endfor %}
</div>
</div>
{% endif %}
<div class="col-sm-5 col-md-4 col-lg-3">
<div class="list-group">
<div class="list-group-item disabled">
<h4 class="list-group-item-heading">links</h4>
</div>
{% 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 %}
<a class="list-group-item" href="{{ url }}">
<h4 class="list-group-item-heading">{{ name }}</h4>
{% if desc %}
<p class="list-group-item-text">{{ desc }}</p>
{% endif %}
</a>
{% endfor %}
{% endif %}
</div>
</div>
</div>
|