testin shit with collections
This commit is contained in:
parent
96c4db90b8
commit
1c49bfa599
7 changed files with 32 additions and 11 deletions
7
_artists/nimrod.md
Normal file
7
_artists/nimrod.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
name:
|
||||
blurb_text:
|
||||
nation:
|
||||
link:
|
||||
image:
|
||||
---
|
||||
7
_artists/set.md
Normal file
7
_artists/set.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
name:
|
||||
blurb_text:
|
||||
nation:
|
||||
link:
|
||||
image:
|
||||
---
|
||||
|
|
@ -51,7 +51,6 @@ collections:
|
|||
output: "true"
|
||||
permalink: "/events/:title/"
|
||||
artists:
|
||||
output: "false"
|
||||
_hide_content: "true"
|
||||
|
||||
# tjanster:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ event_data:
|
|||
start_datetime: 2019-06-14 17:00:00 +0200
|
||||
end_datetime: 2019-06-14 23:00:00 +0200
|
||||
category: music
|
||||
artists:
|
||||
deltagande_artists:
|
||||
- max_park
|
||||
- knivtid
|
||||
slutet_salskap: true
|
||||
|
|
|
|||
1
_includes/relative-src.html
Normal file
1
_includes/relative-src.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
{% assign prefix = include.src | slice: 0, 2 %}{% assign protocol = include.src | slice: 0, 4 %}{% unless protocol == 'http' or prefix == "//" %}{{ site.baseurl }}{% endunless %}{{ include.src }}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<!-- begin events.html -->
|
||||
<div class="column">
|
||||
<div style="padding:0 3px 3px 3px;border-radius: 3px;" class="highlight">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
|
@ -14,20 +15,21 @@ layout: default
|
|||
<img src="{{ site.baseurl}}{{ page.image }}" width="100%" />
|
||||
<p>{{ page.description }}</p>
|
||||
{{ content }}
|
||||
<div class="column">
|
||||
</div>
|
||||
<div class="column" style="z-index: 10000000;">
|
||||
|
||||
{% assign author_id = page.artist.deltagande_artists %}
|
||||
{% assign author = site.artists | where: "url", author_id | first %}
|
||||
{% for artist in page.deltagande_artists %}
|
||||
<div class="square-image" style="background-image: url('{{ author.image }}')"></div>
|
||||
|
||||
<p class="blurb">{{ author.blurb_text }}</p>
|
||||
|
||||
{% assign artist_id = page.artists %}
|
||||
{% assign artist = site.artists %}
|
||||
{% for featured in page.artists %}
|
||||
<div>
|
||||
|
||||
<div class="square-image" style="background-image: url('{{ featured.image }}')"></div>
|
||||
<p class="blurb">{{ featured.blurb_text }}</p>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% if page.slutet_salskap == true %}
|
||||
<div class="column">
|
||||
|
|
@ -40,3 +42,4 @@ layout: default
|
|||
{% include hittahit.html %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- END events.html -->
|
||||
|
|
|
|||
|
|
@ -154,3 +154,7 @@ a:active {
|
|||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.square-image {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue