home » zplus/freepost.git
ID: ace21b340b85a0bd6a999aaa0709af7d5663a9b0
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 %}