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"
|
output: "true"
|
||||||
permalink: "/events/:title/"
|
permalink: "/events/:title/"
|
||||||
artists:
|
artists:
|
||||||
output: "false"
|
|
||||||
_hide_content: "true"
|
_hide_content: "true"
|
||||||
|
|
||||||
# tjanster:
|
# tjanster:
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ event_data:
|
||||||
start_datetime: 2019-06-14 17:00:00 +0200
|
start_datetime: 2019-06-14 17:00:00 +0200
|
||||||
end_datetime: 2019-06-14 23:00:00 +0200
|
end_datetime: 2019-06-14 23:00:00 +0200
|
||||||
category: music
|
category: music
|
||||||
artists:
|
deltagande_artists:
|
||||||
- max_park
|
- max_park
|
||||||
- knivtid
|
- knivtid
|
||||||
slutet_salskap: true
|
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
|
layout: default
|
||||||
---
|
---
|
||||||
|
<!-- begin events.html -->
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div style="padding:0 3px 3px 3px;border-radius: 3px;" class="highlight">
|
<div style="padding:0 3px 3px 3px;border-radius: 3px;" class="highlight">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
|
|
@ -14,20 +15,21 @@ layout: default
|
||||||
<img src="{{ site.baseurl}}{{ page.image }}" width="100%" />
|
<img src="{{ site.baseurl}}{{ page.image }}" width="100%" />
|
||||||
<p>{{ page.description }}</p>
|
<p>{{ page.description }}</p>
|
||||||
{{ content }}
|
{{ 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>
|
||||||
|
|
||||||
<div class="square-image" style="background-image: url('{{ featured.image }}')"></div>
|
|
||||||
<p class="blurb">{{ featured.blurb_text }}</p>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% if page.slutet_salskap == true %}
|
{% if page.slutet_salskap == true %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
|
@ -39,4 +41,5 @@ layout: default
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{% include hittahit.html %}
|
{% include hittahit.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<!-- END events.html -->
|
||||||
|
|
|
||||||
|
|
@ -153,4 +153,8 @@ a:active {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.square-image {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue