fix layout
This commit is contained in:
parent
b03bf1ae16
commit
b21ed40794
5 changed files with 77 additions and 95 deletions
|
|
@ -1,39 +1,18 @@
|
|||
{% include relBase.html %}
|
||||
<header class="hero" id="top"
|
||||
style="{% unless page.video_path %}background-image: url({{ page.image }});{% endunless %}">
|
||||
<header class="hero" style="background-image: url({{ page.image }});">
|
||||
<div class="textcontainer">
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>{{ page.description }}</p>
|
||||
{% if page.category == 'releases' %}
|
||||
<p><a href="#plwrap" class="button">Listen</a></p>
|
||||
{% endif %}
|
||||
{% if page.category == 'ramblings' %}
|
||||
<p><a href="#read" class="button">Read</a></p>
|
||||
{% endif %}
|
||||
{% if page.url == '/404/' %}
|
||||
<p><a href="/" class="button">Take me home</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="imagecontainer">
|
||||
<h4>{{ page.title }}</h4>
|
||||
</div>
|
||||
<section class="splash">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="splash-logo">
|
||||
<img src="{{ site.logo }}" width="240px" alt="{{ site.title }} Logo" />
|
||||
</div>
|
||||
|
||||
<div class="description" {% unless page.url == '/' %}style="padding: 0;"{% endunless %}>
|
||||
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.category == 'releases' %}
|
||||
|
||||
{% for album in site.albums %}
|
||||
{% if album.slug == page.album %}
|
||||
<h4>by <strong>{{ album.artists }}</strong></h4>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<p>{{ page.description }}</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue