reintroducing posting
This commit is contained in:
parent
924151b7e7
commit
6985f30cc9
1 changed files with 55 additions and 10 deletions
65
index.html
65
index.html
|
|
@ -28,17 +28,25 @@ date: 2018-12-11 00:00:00
|
|||
<img src="{{ relBase }}{{ page.logo_image }}" alt="{{ site.title }} logo" />
|
||||
</div>
|
||||
</section>
|
||||
<!-- Albums -->
|
||||
<!-- Posts -->
|
||||
|
||||
{% assign sorted = site.albums | sort: 'date' | reverse %}
|
||||
{% for album in sorted %}
|
||||
|
||||
{% 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 %}
|
||||
<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>{{ album.name }}</h1>
|
||||
|
||||
<h1>{{ post.title }}</h1>
|
||||
<p>{{ post.description }}</p>
|
||||
{% if post.category == 'release' %}
|
||||
|
||||
<p>{{ album.date | date: '%Y' }}</p>
|
||||
|
||||
|
|
@ -60,22 +68,59 @@ date: 2018-12-11 00:00:00
|
|||
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
|
||||
</script>
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
<br />
|
||||
<ul class="actions stacked">
|
||||
<li><a href="{{ relBase }}/{{ album.slug }}"
|
||||
class="button big wide icon solid fa-volume-up">Cheggid out</a>
|
||||
<li><a href="{{ relBase }}{{ post.url }}"
|
||||
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="image">
|
||||
<img src="https://media.basspistol.com/panix/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ post.title }}" title="{{ post.title }}" />
|
||||
<img src="{{ relBase }}{{ album.cover }}" alt="{{ post.title }}" title="{{ post.title }}" />
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% break %} {% endif %} {% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
<!-- Insta -->
|
||||
<section class="wrapper style1 align-center">
|
||||
|
||||
<div class="inner">
|
||||
<h2>Releases</h2>
|
||||
<p>Collection of releases through time</p>
|
||||
</div>
|
||||
|
||||
<div class="gallery style1 small onscroll-fade-in">
|
||||
{% assign sorted = site.albums | sort: 'date' | reverse %}
|
||||
{% for album in sorted %}
|
||||
<article>
|
||||
<a href="{{ album.url }}" class="image">
|
||||
<img src="https://media.basspistol.com/panix/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="" /></a>
|
||||
|
||||
<div class="caption">
|
||||
<h3>{{ album.title }}</h3>
|
||||
<p>{{ album.date | date: "%Y" }}</p>
|
||||
<ul class="actions fixed">
|
||||
<li><span class="button small">Details</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- END Insta -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% include footer.html %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue