artist sida

This commit is contained in:
Set Sakrecoer 2019-06-17 19:23:17 +02:00
parent c476ead9c3
commit 4d5ddecbfc
2 changed files with 18 additions and 0 deletions

View file

@ -55,6 +55,7 @@ collections:
_hide_content: "true" _hide_content: "true"
output: "true" output: "true"
# tjanster: # tjanster:
# output: "true" # output: "true"
# permalink: "/tjaenster/:name/" # permalink: "/tjaenster/:name/"
@ -112,6 +113,7 @@ defaults:
path: "" path: ""
type: "artists" type: "artists"
values: values:
layout: "artists"
_options: _options:
image: image:
width: 150 width: 150

16
_layouts/artists.html Normal file
View file

@ -0,0 +1,16 @@
---
layout: default
---
<div class="column">
<h1>{{ page.title }}</h1>
<div class="square-image" style="background-image: url('{{ page.image }}')"></div>
<h4 class="blurb">{{ page.blurb_text }}<br /></h4>
{% if page.link != null %}<a class="cta" href="{{ page.link }}" trarget="_blank"
rel="noopener noreferrer nofollow">{% if page.category == 'ljudkonst'%}Lyssna{% else %}Mer info{% endif %}
här</a>{% endif %}
</div>
<div class="column">
{% include contact.html %}
</div>