1
0
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:
2026-02-28 11:17:39 -05:00
parent e56592152f
commit 4750a08456
3 changed files with 19 additions and 12 deletions

View File

@@ -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>