Logo
Explore Help
Sign In
I2P_Developers/i2p.www
3
0
Fork 5
You've already forked i2p.www
Code Issues 27 Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
e3d2a4a2c27f94cba7af701d9a738a309d05ade2
i2p.www/i2p2www/pages/blog/latest.html

7 lines
292 B
HTML
Raw Normal View History

Moved latest news list from index.html to a separate file (since it will be updated more often)
2012-09-19 12:02:03 +00:00
<ul>
Reworked meta dict usage to make blog templates easier to understand Displayed dates in the blog templates are now all taken from meta['date'], which can be set by the 'date' metatag in the blog post but defaults to the date obtained from the post's slug (i.e. what subfolder the post is in).
2013-01-16 01:41:24 +00:00
{% for slug, post in blog_posts -%}
Fixed URLs and added translation tags to blog, downloads and meetings pages
2013-01-18 03:42:02 +00:00
<li>{{ post.date }} - <a href="{{ get_url('blog_post', slug=slug) }}">{{ post.title }}</a></li>
Dynamically generate latest blog entries TODO: this should probably be cached somewhere
2012-11-09 00:44:57 +00:00
{%- endfor %}
Use {{ _('') }} instead of {% trans %}{% endtrans %} for short strings and headings
2013-01-18 04:36:24 +00:00
<li><a href="{{ get_url('blog_index') }}"><em>{{ _('More blog posts&hellip;') }}</em></a></li>
Moved latest news list from index.html to a separate file (since it will be updated more often)
2012-09-19 12:02:03 +00:00
</ul>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 2a8ecfb Page: 298ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API