%if articles.count() == 0:
No articles yet.
%else:
%endif
%for article in articles:
<%
if article["article_readed"] == False:
not_read_begin, not_read_end = "
", ""
else:
not_read_begin, not_read_end = "", ""
if article["article_like"] == True:
like = """
"""
else:
like = ""
article_content = utils.clear_string(article["article_content"])
if article_content:
description = " ".join(article_content[:500].split(' ')[:-1])
else:
description = "No description."
%>
${article["article_date"].strftime('%Y-%m-%d %H:%M')} -
${not_read_begin}${article["article_title"][:150]}${not_read_end}${description}
%endfor