优化标签,增加模型标签的使用demo
This commit is contained in:
@@ -30,6 +30,9 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
|
||||
{sent:nav tree="false" type="1" name="item"}
|
||||
<li><a href="{$item['url']}">{$item['title']}</a></li>
|
||||
{/sent:nav}
|
||||
{sent:doc model="article" limit="10" cid="1"}
|
||||
<li><a href="{:url('/article/detail-'.$item['id'])}">{$item['title']}</a></li>
|
||||
{/sent:doc}
|
||||
<div class="flex-center position-ref full-height">
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
|
||||
Reference in New Issue
Block a user