Add events page and RSS feed

Drop previous orphan events pages
Drop site.post in sitemap.rb
This commit is contained in:
Saivann 2013-06-25 00:02:33 -04:00
parent ff2783fe83
commit a252596168
16 changed files with 127 additions and 56 deletions

View file

@ -80,6 +80,7 @@ menu:
<li{% if page.id == 'resources' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate resources url %}">{% translate menu-resources layout %}</a></li>
<li{% if page.id == 'community' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate community url %}">{% translate menu-community layout %}</a></li>
<li{% if page.id == 'development' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate development url %}">{% translate menu-development layout %}</a></li>
{% case page.lang %}{% when 'ar' or 'de' or 'es' or 'fa' or 'fr' or 'it' or 'nl' or 'pl' or 'ru' %}{% else %}<li{% if page.id == 'events' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate events url %}">{% translate menu-events layout %}</a></li>{% endcase %}
{% case page.lang %}{% when 'ar' or 'de' or 'es' or 'fa' or 'fr' or 'it' or 'nl' or 'pl' or 'ru' %}{% else %}<li{% if page.id == 'press' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate press url %}">{% translate menu-press layout %}</a></li>{% endcase %}
</ul>
</li>

View file

@ -1,6 +0,0 @@
---
layout: base
lang: en
---
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
{{ content }}