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