mirror of https://github.com/1099438829/apeblog
This commit is contained in:
parent
7016f80fac
commit
713054fbea
|
|
@ -33,17 +33,19 @@
|
|||
</a>
|
||||
</div>
|
||||
<!-- tag链接等待完善-->
|
||||
{notempty name="$field['tags']"}
|
||||
<div class="post-item-tags ">
|
||||
<span class="cat-item">
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['title'],15)}...</a>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
{/notempty}
|
||||
<div class="post-item-main">
|
||||
<h2>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['title'],15)}...</a>
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['content'],15)}...</a>
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],40)}</a>
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
|
|
|
|||
|
|
@ -120,18 +120,19 @@
|
|||
<img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/>
|
||||
</a>
|
||||
</div>
|
||||
{notempty name="$field['tags']"}
|
||||
<div class="post-item-tags">
|
||||
<span class="cat-item">
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['title'],15)}...</a>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],20)}</a>
|
||||
</span>
|
||||
</div>
|
||||
{/notempty}
|
||||
<div class="post-item-main">
|
||||
<h2>
|
||||
<span class="post-item-sticky">置顶</span>
|
||||
<a href="{$field['url']}" target="_blank">{:cn_substr($field['title'],15)}...</a>
|
||||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
||||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;" target="_blank">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">{:cn_substr($field['description'],40)}...
|
||||
</div>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],40)}</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
<div class="post-item-meta-item">
|
||||
|
|
|
|||
Loading…
Reference in New Issue