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:
@@ -12,18 +12,19 @@
|
||||
We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</p>
|
||||
<p>
|
||||
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br>
|
||||
|
||||
<h2>Listen to the live stream</h2>
|
||||
|
||||
<p>
|
||||
<!--% IF date.format(date.now, '%m') == 11 || date.format(date.now, '%d') < 29 %-->
|
||||
<audio controls preload="none">
|
||||
<source src="<!--% absolute_path(baseurl) %-->promos/hpr-nye-promo.ogg" type="audio/ogg">
|
||||
</audio>
|
||||
<!--% ELSE %-->
|
||||
<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 />
|
||||
<!--% END %-->
|
||||
</p>
|
||||
|
||||
<p><a href="<!--% absolute_path(baseurl) %-->new_year.html">More information…</a></p>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user