From 5a4d7fd7f040fbf2fa3e2ad21efe74eaa9faa7b3 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Mon, 6 Jul 2020 12:14:57 +0200 Subject: [PATCH] homepage accomodates for posts --- index.html | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 0ba20871..58f9bbde 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ title: Post Tenebras Lux layout: default description: >- - + Panix Heavy Industries image: /siteicon.png logo_image: /images/panix-logoicon.svg date: 2018-12-11 00:00:00 @@ -32,14 +32,7 @@ date: 2018-12-11 00:00:00 {% for post in site.posts %} -{% capture album_name -%} -{{ post.album }} -{%- endcapture %} -{% for album in site.albums %} -{% capture name -%} -{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }} -{%- endcapture %} -{% if name == album_name %} + -{% break %} {% endif %} {% endfor %} + {% endfor %}