- 最新文章 ${$tagList := GetArticleTags "pageSize:5"} ${range $key,$tag := $tagList}
- ${$tag.Name} ${end}
-
${range $key,$article := GetArticleList "orderBy:published_at desc | pageSize:10"}
-
${if ne $article.Thumb ""}
${end}
${if eq $article.Flag 1} 置顶 ${end} ${$article.Title}
${$article.Summary}
${end}
- 加载中....
- 点击查看更多
-
${range $key,$article := GetArticleList (print "tagId:" $tag.Id " | orderBy:published_at desc | pageSize:10")}
-
${if ne $article.Thumb ""}
${end}
${if FindArticleAttr $article.Flag "置顶"} 置顶 ${end} ${$article.Title}
${$article.Summary}
${end}
- 加载中....
- 点击查看更多