浏览代码

And fix it on non-post pages...

master
Chris Smith 5 年前
父节点
当前提交
6b17b916ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      site/layouts/partials/head.html

+ 1
- 1
site/layouts/partials/head.html 查看文件

@@ -47,7 +47,7 @@
47 47
 
48 48
         <section id="posts">
49 49
           <ul>
50
-            {{ range first 3 .Pages }}
50
+            {{ range first 3 .Site.Pages }}
51 51
               <li class="recent">
52 52
                 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
53 53
                 <p>{{ .Date.Format "Jan 2, 2006" }}</p>

正在加载...
取消
保存