aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/index.html
blob: 82c4cc57dd33c0e8326a0c5526a9fc01a878ecea (plain) (tree)
1
2
3
4
5
6
7
8
9
   
                
             
     
         

               
                   
            
          
                            
                    
         


                                               
                             

                                                             
                           

                                                       

                                
   
                                        
     
 
                 
 


                                          
                                          
                                                    
          

                                 















                                                                           
                   


                  

        
        






















                                                                     
      
---
title: Main page
layout: plain
main:
  - email
  - url: /blog/
    name: blog
  - url: /cv/cv.pdf
    name: cv
  - github
  - url: https://egort.name/
    name: egort.name
projects:
  - 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">

  <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>

{% 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>