forked from HPR/hpr_generator
Toggle New Year show announcement
Show link to promo audio between Nov 1 and Dec 28. Show link to live stream between Dec 29 and Jan 1.
This commit is contained in:
@@ -14,12 +14,18 @@ So please stop in. Say "Hi" and maybe join in the conversation with other HPR li
|
||||
<h1>Listen to the live stream</h1>
|
||||
|
||||
<p>
|
||||
<img src="images/livestream.png" /><br />
|
||||
<audio controls autoplay>
|
||||
<source src="https://files.shownotes.ooguy.com/stream" type="audio/mpeg" >
|
||||
</audio> <br />
|
||||
<a href="https://files.shownotes.ooguy.com/stream">https://files.shownotes.ooguy.com/stream</a><br />
|
||||
<a href="https://hackerpublicradio.org/live">https://hackerpublicradio.org/live</a><br />
|
||||
<!--% IF ((date.format(date.now, '%m') == 12 && date.format(date.now, '%d') > 28) || date.format(date.now, '%j') == 1) %-->
|
||||
<img src="images/livestream.png" /><br />
|
||||
<audio controls autoplay>
|
||||
<source src="https://files.shownotes.ooguy.com/stream" type="audio/mpeg" >
|
||||
</audio> <br />
|
||||
<a href="https://files.shownotes.ooguy.com/stream">https://files.shownotes.ooguy.com/stream</a><br />
|
||||
<a href="https://hackerpublicradio.org/live">https://hackerpublicradio.org/live</a><br />
|
||||
<!--% ELSE %-->
|
||||
<audio controls preload="none">
|
||||
<source src="<!--% absolute_path(baseurl) %-->promos/hpr-nye-promo.ogg" type="audio/ogg">
|
||||
</audio>
|
||||
<!--% END %-->
|
||||
</p>
|
||||
|
||||
<h1>Join the conversation on Mumble</h1>
|
||||
|
||||
Reference in New Issue
Block a user