mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
seo优化标题,描述,文章
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<div class="layui-col-md2">
|
||||
<div class="logo">
|
||||
<a href="{:url('Index/index')}">
|
||||
<a href="/">
|
||||
<img src="{:get_source_link(get_system_config('site_logo'))}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav-left-container">
|
||||
<div class="nav-left-list">
|
||||
<a href="{:url('Index/index')}" {eq name='$Request.param.category_id|default=0' value='0'} class="current" {/eq}>全部</a>
|
||||
<a href="/" {eq name='$Request.param.category_id|default=0' value='0'} class="current" {/eq}>全部</a>
|
||||
{volist name='list_header_nav' id='nav'}
|
||||
<a href="{$nav.value}" target="{$nav.target}">{$nav.title}</a>
|
||||
{/volist}
|
||||
|
||||
@@ -13,22 +13,16 @@
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="plus-post-list">
|
||||
{volist name='top_posts' id='post'}
|
||||
{volist name='top_posts' id='post_top'}
|
||||
<a href="{:url('Post/read',['id'=>$post.id])}" class="plus-post-item"
|
||||
onmouseover="$(this).find('.poster').addClass('layui-anim-scale')"
|
||||
onmouseout="$(this).find('.poster').removeClass('layui-anim-scale')">
|
||||
{notempty name='$post->getData("poster")'}
|
||||
|
||||
<div class="poster layui-anim" style="background-image: url('{$post.poster}');"></div>
|
||||
{notempty name='$post_top->getData("poster")'}
|
||||
<div class="poster layui-anim" style="background-image: url('{$post_top.poster}');"></div>
|
||||
{/notempty}
|
||||
|
||||
<div class="info">
|
||||
<div class="title">{$post.title}</div>
|
||||
|
||||
|
||||
|
||||
<div class="title">{$post_top.title}</div>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
{/volist}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user