portfolio/_layouts/other.html

40 lines
1017 B
HTML

---
layout: default
---
{% for post in site.posts %}
{% if post.categories contains "other" %}
<div class="posts-container">
<h1>
{% if post.href %}
<a href="{{ post.href }}" target="_blank">{{ post.title }}</a>
{% else %}
{{ post.title }}
{% endif %}
</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>
{% endif %}
{% endfor %}