Remove extraneous layouts.

main
Joshua Potter 2023-12-25 13:37:14 -07:00
parent 61532d4bb7
commit 24090c216c
4 changed files with 4 additions and 82 deletions

View File

@ -1,39 +0,0 @@
---
layout: default
---
{% for post in paginator.posts %}
<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>
{% endfor %}
{% include post-paginator.html %}

View File

@ -1,39 +0,0 @@
---
layout: default
---
{% for post in paginator.posts %}
<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>
{% endfor %}
{% include post-paginator.html %}

View File

@ -1,5 +1,5 @@
--- ---
layout: other layout: home
title: Other title: Other
pagination: pagination:
enabled: true enabled: true

View File

@ -1,5 +1,5 @@
--- ---
layout: projects layout: home
title: Projects title: Projects
pagination: pagination:
enabled: true enabled: true