add public design files
This commit is contained in:
21
design/default/html/blog.tpl
Normal file
21
design/default/html/blog.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
{* Список записей блога *}
|
||||
|
||||
<!-- Заголовок /-->
|
||||
<h1>{$page->name}</h1>
|
||||
|
||||
{include file='pagination.tpl'}
|
||||
|
||||
<!-- Статьи /-->
|
||||
<ul id="blog">
|
||||
{foreach $posts as $post}
|
||||
<li>
|
||||
<h3><a data-post="{$post->id}" href="blog/{$post->url}">{$post->name|escape}</a></h3>
|
||||
<p>{$post->date|date}</p>
|
||||
<p>{$post->annotation}</p>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<!-- Статьи #End /-->
|
||||
|
||||
{include file='pagination.tpl'}
|
||||
|
||||
Reference in New Issue
Block a user