title fix

This commit is contained in:
Set Hallstrom 2020-09-11 13:28:33 +02:00
parent f84678f514
commit 8e6b4a40d1
2 changed files with 15 additions and 7 deletions

View file

@ -6,22 +6,28 @@
</div> </div>
</header> {% unless page.collection == 'posts' %} </header>
<section class="splash"> <section class="splash">
<div class="container"> <div class="container">
<div class="splash-logo"> <div class="splash-logo" {% unless page.url == '/' %}style="display: none;"{% endunless %}>
<img src="{{ site.logo }}" width="240px" alt="{{ site.title }} Logo" /> <img src="{{ site.logo }}" width="240px" alt="{{ site.title }} Logo" />
</div> </div>
<div> <div {% unless page.url == '/' %}style="padding: 0;"{% endunless %}>
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% if page.category == 'releases' %}
<h4>by <strong>{{ page.artist }}</strong></h4>
{% endif %}
{% unless page.category == 'releases' %}
<p>{{ page.description }}</p> <p>{{ page.description }}</p>
{% endunless %}
</div> </div>
</div> </div>
</section> </section>
{% endunless %}

View file

@ -7,7 +7,9 @@ layout: default
<section> <section>
<div class="album-player"> <div class="album-player">
<!-- HERE BEGINS MADNESS --> <!-- HERE BEGINS MADNESS -->
{% for album in site.albums %} {% for album in site.albums %}
{% if page.album == album.slug %} {% if page.album == album.slug %}
{% assign onetracker = album.tracks | size %} {% assign onetracker = album.tracks | size %}
@ -299,7 +301,7 @@ layout: default
<section class="info" id="read"> <section class="info" id="read">
<div class="info-pages"> <div class="info-pages">
<h1>{{ page.title }}</h1>
{{ content }} {{ content }}
{% if page.link %} {% if page.link %}
<p><a href="{{ page.link }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">👀 Check it out!</a></p> <p><a href="{{ page.link }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">👀 Check it out!</a></p>