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