portfolio/_layouts/home.html

46 lines
1.4 KiB
HTML

---
layout: default
---
{% if paginator.page_path contains "index" %}
<p class="home-description">
Most applications listed below are served from <a href="https://nixos.org/">NixOS</a>
machines hosted on <a href="https://www.digitalocean.com/">Digital Ocean</a>.
Configuration files for each of my machines can be found <a href="https://git.jrpotter.com/r/nixos-configuration">here</a>.
If interested in starting a similar hosting solution, consider getting a $200
credit using my <a href="https://m.do.co/c/c65b89434c1b">referral link</a>.
</p>
{% endif %}
{% for post in paginator.posts %}
<div class="posts-container">
<h1>
<a href="{{ post.href }}">{{ post.title }}</a>
</h1>
{% if post.image %}
<div class="thumbnail-container">
<a href="{{ post.href }}">
<img src="{{ site.github.url }}/assets/img/{{ post.image }}">
</a>
</div>
{% endif %}
<p>
<div class="post-tags">
{% for tag in post.tags %}
<div class="{{ tag }}">{{ tag }}</div>
{% endfor %}
</div>
<p>{{ post.content }}</p>
<span class="post-date">
{% if post.href %}
<a href="{{ post.href }}">{{ post.href }}</a> -
{% endif %}
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post.date | date_to_string }}
</span>
</p>
</div>
{% endfor %}
{% include post-paginator.html %}