Fixed URLs and added translation tags to blog, downloads and meetings pages

This commit is contained in:
str4d
2013-01-18 03:42:02 +00:00
parent 789739aff6
commit 18b1ea8fc1
8 changed files with 298 additions and 144 deletions

View File

@@ -1,6 +1,6 @@
<ul>
{% for slug, post in blog_posts -%}
<li>{{ post.date }} - <a href="{{ url_for('blog_post', slug=slug) }}">{{ post.title }}</a></li>
<li>{{ post.date }} - <a href="{{ get_url('blog_post', slug=slug) }}">{{ post.title }}</a></li>
{%- endfor %}
<li><a href="{{ url_for('blog_index', lang=g.lang) }}"><em>More blog posts&hellip;</em></a></li>
<li><a href="{{ get_url('blog_index') }}"><em>{% trans %}More blog posts&hellip;{% endtrans %}</em></a></li>
</ul>