theme/templates/index.html (56 lines of code) (raw):

{% block head %} <!doctype html> <html class="no-js" lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{SITENAME}}</title> {% include "styles.html" %} </head> <body style="background: #C9B191;"> {% include "menu.html" %} <div class="row"> <div class="large-12 columns"> <div class="callout"> <h3>THIS PAGE IS NOT IN USE CURRENTLY</h3> <p>Temporarily, please see the <a href="https://www.apache.org/board/board-policy">sponsorship page</a>.</p> </div> </div> </div> <!-- news --> <div class="row"> <div class="large-12 medium-12 columns"> <div class="callout"> <h3>News from Fundraising:</h3> <hr/> {% endblock %} {%block content %} {% if articles %} {% for article in articles_page.object_list %} {# First item #} <aside id="featured"> <div class="body"> <article> <h4><a href="{{ article.url }}">{{ article.title }}</a> - {{ article.date|strftime('%d %B %Y') }}</h4> {{ article.summary }} </article> {% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %} {% include 'pagination.html' %} {% endif %} <hr/> </div> </aside><!-- /#featured --> {% endfor %} {% else %} <!-- <section id="content" > <div class="body"> <h2>Pages</h2> {% for page in PAGES %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} </div> </section> --> {% endif %} {% endblock %} </div> </div> </div> {% include "footer.html" %} <script src="{{SITEURL}}/theme/js/vendor/jquery.js"></script> <script src="{{SITEURL}}/theme/js/vendor/what-input.js"></script> <script src="{{SITEURL}}/theme/js/vendor/foundation.js"></script> <script src="{{SITEURL}}/theme/js/app.js"></script> </body> </html>