首页列表显示,单个作者页面列表显示

This commit is contained in:
oncereply
2012-12-14 15:20:15 +08:00
parent 849e4dd410
commit cbd582dea9
6 changed files with 171 additions and 89 deletions

View File

@@ -1,21 +1,24 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${authorName} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${authorName}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<#include "header.ftl">
<div class="main">
<div class="wrapper">
<h2>${author1Label}${authorName}</h2>
<#include "article-list.ftl">
</div>
<head>
<@head title="${blogTitle}">
<meta name="keywords" content="${metaKeywords}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body class="home page top-navbar">
<#include "header.ftl">
<div id="wrap" class="container" role="document">
<div id="content" class="row">
<div id="main" class="span8" role="main">
<#include "article-list.ftl">
</div>
<#include "footer.ftl">
</body>
<aside id="sidebar" class="span4">
<#include "side.ftl">
</aside>
</div>
</div>
<#include "footer.ftl">
</body>
</html>