<link rel="stylesheet" href="/blog/static/css/common/post_theme.css" type="text/css">
<div class="content-post">
  {% for post in posts %}
    {% set user = siteInfo.users_item[post.author] || {} %}
    {% set cate = siteInfo.cates_item[post.category] || {} %}
    <article class="post-item">
    	<div class="post-author">
    		<img src="/user/avatar?img={{user.avatar}}">
    		<a href="{{user.blog || user.github}}" target="_blank">{{user.nickname}}</a>
    		<span>{{post.time|date('Y-m-d H:i',-480)}}</span