homepage accomodates for posts
This commit is contained in:
parent
96277e6cd4
commit
5a4d7fd7f0
1 changed files with 15 additions and 12 deletions
25
index.html
25
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,6 +32,14 @@ date: 2018-12-11 00:00:00
|
|||
|
||||
|
||||
{% for post in site.posts %}
|
||||
|
||||
<section id="album{% increment var %}"
|
||||
class="section-shadow banner style1 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center fullscreen onload-image-fade-in onload-content-fade-right">
|
||||
|
||||
<div class="content">
|
||||
<h1>{{ post.title }}</h1>
|
||||
<p>{{ post.description }}</p>
|
||||
{% if post.category == 'release' %}
|
||||
{% capture album_name -%}
|
||||
{{ post.album }}
|
||||
{%- endcapture %}
|
||||
|
|
@ -40,14 +48,6 @@ date: 2018-12-11 00:00:00
|
|||
{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}
|
||||
{%- endcapture %}
|
||||
{% if name == album_name %}
|
||||
<section id="album{% increment var %}"
|
||||
class="section-shadow banner style1 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center fullscreen onload-image-fade-in onload-content-fade-right">
|
||||
|
||||
<div class="content">
|
||||
<h1>{{ post.title }}</h1>
|
||||
<p>{{ post.description }}</p>
|
||||
{% if post.category == 'release' %}
|
||||
|
||||
<p>{{ album.date | date: '%Y' }}</p>
|
||||
|
||||
{% for track in album.tracks %}
|
||||
|
|
@ -68,9 +68,12 @@ date: 2018-12-11 00:00:00
|
|||
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
|
||||
</script>
|
||||
{% endfor %}
|
||||
{% break %} {% endif %} {% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<br />
|
||||
<ul class="actions stacked">
|
||||
|
||||
<li><a href="{{ relBase }}{{ post.url }}"
|
||||
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
|
||||
</li>
|
||||
|
|
@ -78,11 +81,11 @@ date: 2018-12-11 00:00:00
|
|||
</div>
|
||||
|
||||
<div class="image">
|
||||
<img src="{{ relBase }}{{ album.cover }}" alt="{{ post.title }}" title="{{ post.title }}" />
|
||||
<img src="{{ relBase }}{{ post.image }}" alt="{{ post.title }}" title="{{ post.title }}" />
|
||||
|
||||
</div>
|
||||
</section>
|
||||
{% break %} {% endif %} {% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<!-- Insta -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue