portfolio/_layouts/home.html

46 lines
1.5 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/" target="_blank">NixOS</a>
machines hosted on <a href="https://www.digitalocean.com/" target="_blank">Digital Ocean</a>.
Configuration files for each of my machines can be found <a href="https://git.jrpotter.com/r/nixos-configuration" target="_blank">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" target="_blank">referral link</a>.
</p>
{% endif %}
{% for post in paginator.posts %}
<div class="posts-container">
<h1>
<a href="{{ post.href }}" target="_blank">{{ post.title }}</a>
</h1>
{% if post.image %}
<div class="thumbnail-container">
<a href="{{ post.href }}" target="_blank">
<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 }}" target="_blank">{{ 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 %}