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
|
title: Post Tenebras Lux
|
||||||
layout: default
|
layout: default
|
||||||
description: >-
|
description: >-
|
||||||
|
Panix Heavy Industries
|
||||||
image: /siteicon.png
|
image: /siteicon.png
|
||||||
logo_image: /images/panix-logoicon.svg
|
logo_image: /images/panix-logoicon.svg
|
||||||
date: 2018-12-11 00:00:00
|
date: 2018-12-11 00:00:00
|
||||||
|
|
@ -32,6 +32,14 @@ date: 2018-12-11 00:00:00
|
||||||
|
|
||||||
|
|
||||||
{% for post in site.posts %}
|
{% 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 -%}
|
{% capture album_name -%}
|
||||||
{{ post.album }}
|
{{ post.album }}
|
||||||
{%- endcapture %}
|
{%- endcapture %}
|
||||||
|
|
@ -40,14 +48,6 @@ date: 2018-12-11 00:00:00
|
||||||
{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}
|
{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}
|
||||||
{%- endcapture %}
|
{%- endcapture %}
|
||||||
{% if name == album_name %}
|
{% 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>
|
<p>{{ album.date | date: '%Y' }}</p>
|
||||||
|
|
||||||
{% for track in album.tracks %}
|
{% for track in album.tracks %}
|
||||||
|
|
@ -68,9 +68,12 @@ date: 2018-12-11 00:00:00
|
||||||
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
|
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
|
||||||
</script>
|
</script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% break %} {% endif %} {% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<ul class="actions stacked">
|
<ul class="actions stacked">
|
||||||
|
|
||||||
<li><a href="{{ relBase }}{{ post.url }}"
|
<li><a href="{{ relBase }}{{ post.url }}"
|
||||||
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
|
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -78,11 +81,11 @@ date: 2018-12-11 00:00:00
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="image">
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% break %} {% endif %} {% endfor %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- Insta -->
|
<!-- Insta -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue