forked from SaintDavidsChurch/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgovtseries.html
36 lines (33 loc) · 1.41 KB
/
govtseries.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
---
title: Civil Government sermon series (June-July 2020)
subtitle: Pastor Adam McIntosh
layout: default
url: /sermons
---
<style>
a.anchor {
display: block;
position: relative;
visibility: hidden;
}
@media (min-width: 960px) {
a.anchor {
top: -80px;
}
}
</style>
<div class="uk-container uk-container-small uk-margin-large-top" uk-height-viewport="offset-top: true; offset-bottom: true">
<h1 class="uk-margin-remove-bottom">{{ page.title }}</h1>
<h3 class="uk-margin-remove-top">{{ page.subtitle }}</h3>
{% for sermon in site.data.government_series %}
<hr>
<a class="anchor" id="{{ sermon.title | slugify }}"></a>
<a href="/govtseries#{{ sermon.title | slugify }}"><h3 class="uk-margin-remove-bottom">{{ sermon.title }}</h3></a>
<p class="uk-margin-remove-top"><i>{{ sermon.description }}</i></p>
<audio controls>
<source src="{% unless sermon.audio contains '://' %}https://saintdavids.church/assets/{% endunless %}{{ sermon.audio }}" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<p><a target="_blank" href="{% unless sermon.audio contains '://' %}https://saintdavids.church/assets/{% endunless %}{{ sermon.audio }}" download="{% unless sermon.audio contains '://' %}https://saintdavids.church/assets/{% endunless %}{{ sermon.audio }}">Download audio</a></p>
{% endfor %}
</div>