-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (49 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
id: home
layout: home
title: Home
weight: 0
activeWidgets: [music, news, shows, videos, photos, text]
showLimit: 5
textWidgetTitle: "About Us"
textWidgetCopy: "<p>Fox & Coyote is an indie folk quartet featuring Ryan Evans (lead vocals, guitar), Jonathan Harms (banjo, vocals), Amy Chatelaine (cello, vocals), and Jimmy Barnett (drums, vocals). The group offers “soaring and haunting” melodies (KAXE Northern Community Radio), “vivid stories” (89.3 The Current), and songs with “warmth and pulse” (City Pages). Building off the success of their debut full-length album, <em>If We Stay</em> (2013), Fox & Coyote is releasing their EP <em>Boardinghouse</em> in May 2015.</p>"
---
{% for w in page.activeWidgets %}
<div class="page-section--{{ w }}">
<div class="wrap">
<header class="page-section__header">
{% if w == "music" %}
<h2><a href="{{ site.baseurl }}/music">Music</a></h2>
{% elsif w == "news" %}
<h2><a href="{{ site.baseurl }}/news"></a>News</h2>
{% elsif w == "shows" %}
<h2><a href="{{ site.baseurl }}/shows">Shows</a></h2>
{% elsif w == "videos" %}
<h2><a href="{{ site.baseurl }}/videos">Videos</a></h2>
{% elsif w == "photos" %}
<h2>Photos</h2>
{% elsif w == "text" %}
<h2>{{ page.textWidgetTitle }}</h2>
{% endif %}
</header>
{% if w == 'music' %}
{% include album.html album=site.albums.last %}
{% endif %}
{% if w == 'news' %}
{% include news.html post=site.posts.first %}
{% endif %}
{% if w == 'shows' %}
{% include shows.html shows=site.shows limit=page.showLimit %}
{% endif %}
{% if w == 'videos' %}
{% include video.html video=site.videos.last %}
{% endif %}
{% if w == 'photos' %}
{% include photos.html gallery=site.data.homepage-gallery %}
{% endif %}
{% if w == 'text' %}
{% include text.html text=page.textWidgetCopy %}
{% endif %}
</div>
</div>
{% endfor %}