forked from allthingsgit/www.allthingsgit.com
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
153 lines (141 loc) · 4.94 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
---
layout: default
title: The Podcast About Git
---
{% for post in site.categories.episodes %}
{% assign recent_episode = post %}
{% break %}
{% endfor %}
<main id="frontpage" class="fullwidth">
<div id="fullheight">
<div class="container">
<section>
<div id="intro">
<div class="logo"></div>
<div class="description">
<h2>The podcast about Git</h2>
<nav id="external" class="linkbar">
<ul>
<li id="itunes"><a href="https://itunes.apple.com/us/podcast/all-things-git/id1292463134" target="_blank">iTunes</a></li>
<li id="googleplay"><a href="https://playmusic.app.goo.gl/?ibi=com.google.PlayMusic&isi=691797987&ius=googleplaymusic&link=https://play.google.com/music/m/Ihbobqvmsqsalj5noq3dreztywu?t%3DAll_Things_Git%26pcampaignid%3DMKT-na-all-co-pr-mu-pod-16" target="_blank">Google Play</a></li>
<li id="rss"><a href="/rss.xml" target="_blank">RSS</a></li>
<li id="facebook"><a href="https://facebook.com/allthingsgit" target="_blank">Facebook</a></li>
<li id="twitter"><a href="https://twitter.com/allthingsgit" target="_blank">Twitter</a></li>
</ul>
</nav>
</div>
</div>
</section>
{% if recent_episode %}
{% if recent_episode.number == "0" %}
{% assign recent_title = "Introduction" %}
{% else %}
{% assign recent_title = recent_episode.number | prepend: "Episode " %}
{% endif %}
<div class="episode">
<section class="episode">
<div class="episode_metadata">
<span class="number">{{recent_title}}</span>
<span class="separator">•</span>
<span class="date">{{recent_episode.date | date: '%B %-d, %Y'}}</span>
</div>
<div class="episode_title">
<h3><a href="{{recent_episode.url}}">{{recent_episode.title}}</a></h3>
</div>
</section>
</div>
{% endif %}
</div>
</div>
{% if recent_episode %}
<div id="featured_player" class="player">
<section>
<div class="controls">
<audio controls preload="metadata" width="685" height="60" src="{{recent_episode.mp3}}" type="audio/mp3" controls="controls"></audio>
</div>
<a href="{{recent_episode.mp3}}">
<div class="download">Download</div>
</a>
</section>
</div>
{% endif %}
{% for post in site.categories.episodes limit:3 %}
{% if forloop.index == 1 %}
{% continue %}
{% endif %}
{% if post.number == "0" %}
{% continue %}
{% endif %}
{% capture bgclass %}{% cycle 'dark', 'light' %}{% endcapture %}
<div class="episode {{ bgclass }}">
<section>
<div class="episode_metadata">
<span class="number">Episode {{post.number}}</span>
<span class="separator">•</span>
<span class="date">{{post.date | date: '%B %-d, %Y'}}</span>
</div>
<div class="episode_title">
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
</div>
<div class="episode_player player">
<div class="controls">
<audio controls preload="metadata" width="685" height="60" src="{{post.mp3}}" type="audio/mp3" controls="controls"></audio>
</div>
<a href="{{post.mp3}}">
<div class="download">Download</div>
</a>
</div>
</section>
</div>
{% endfor %}
{% for post in site.categories.blog limit:1 %}
{% if bgclass == 'light' %}
{% assign bgclass = 'dark' %}
{% else %}
{% assign bgclass = 'light' %}
{% endif %}
<div class="blog {{ bgclass }}">
<section>
<div>
<span class="date">{{post.date | date: '%B %-d, %Y'}}</span>
</div>
<div class="blog_title">
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
</div>
<p>
{% if post.content contains '<!--summary-->' %}
{% assign summary_parts = post.content | split:'<!--summary-->' %}
{{ summary_parts[1] | split:'<!--/summary-->' | first }}
{% else %}
{{post.content | split:'<!--break-->' | first}}
{% endif %}
</p>
<nav class="linkbar">
<ul>
<li class="details"><a href="{{post.url}}">Read More...</a></li>
</ul>
</nav>
</section>
</div>
{% endfor %}
<div class="about">
<section>
<h3>About the Podcast</h3>
<p>
All Things Git is the podcast about Git. We talk to
the people who build Git, who create tools for it and
who teach people how to use it. We bring you a new
episode every two weeks, discussing the Git version
control system with a guest. Subscribe to the podcast
on our <a href="/rss.xml">RSS</a>,
on
<a href="https://itunes.apple.com/us/podcast/all-things-git/id1292463134">iTunes</a>
or
<a href="https://playmusic.app.goo.gl/?ibi=com.google.PlayMusic&isi=691797987&ius=googleplaymusic&link=https://play.google.com/music/m/Ihbobqvmsqsalj5noq3dreztywu?t%3DAll_Things_Git%26pcampaignid%3DMKT-na-all-co-pr-mu-pod-16">Google Play</a>.
And be sure to follow us on
<a href="https://twitter.com/allthingsgit">Twitter</a> and
<a href="https://www.facebook.com/allthingsgit">Facebook</a>.
</p>
</section>
</div>
</main>