home » zplus/freepost.git
ID: bcedc2267d8e4b52db2cc282a2e3f83ed788f0e2
50 lines — 1K — View raw


{# This is just a banner that is displayed at the top of the homepage
 # on special occasions.
 #}

{#
<div class="bg-green" style="margin: 0 0 2em 0; padding: .5em;">
    <img alt="" title="" src="images/pulse.gif" style="height: 1em;" />
    <a href="https://libreplanet.org/2019/program/">LibrePlanet 2019</a>
</div>
#}

{# Welcome New Year.
 # To maintain alignment, keep al lines below of the same length
 # and with no padding.
 #}
{#
<pre class="new_year">
                    .''.
  .        *''*    :_\/_:
_\(/_  .:.*_\/_*   : /\ :
./)\   ':'* /\ * :  '..'.
' *''*    * '.\'/.' _\(/_'
 *_\/_*     -= o =-  /)\
 * /\ *     .'/.\'.   '
  *..*         :
   ____   ___ ____  _
  |___ \ / _ \___ \/ |
    __) | | | |__) | |
   / __/| |_| / __/| |
  |_____|\___/_____|_|
</pre>
#}


{# Peers Jam
{% set datetime = now() %}
{% if datetime.isoweekday() == 5 and datetime['hour'] >= 19 and datetime['hour'] <= 20 %}
    <div class="bg-green" style="margin: 0 0 2em 0; padding: .5em;">
        <img alt="" title="" src="images/pulse.gif" style="height: 1em;" />
        <a href="https://peers.community/#jam">Peers Jam</a>
    </div>
{% endif %}
#}

{# Retirement 2023
<div class="bg-green" style="margin: 0 0 2em 0; padding: .5em;">
    <img alt="" title="" src="images/pulse.gif" style="height: 1em;" />
    freepost will be retiring on December <b>2023</b>
</div>
#}