Logo
Explore Help
Sign In
kytv/I2P_Website
1
0
Fork 0
You've already forked I2P_Website
forked from I2P_Developers/i2p.www
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
e9f46fdbca77c5fece53ec56e761fda2cac8a78e
I2P_Website/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: 65cd3f5 Page: 184ms Template: 4ms
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