소스 검색

Fix menu after hugo upgrade

master
Chris Smith 5 년 전
부모
커밋
4e5725ac7a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      site/layouts/partials/head.html

+ 2
- 2
site/layouts/partials/head.html 파일 보기

@@ -47,7 +47,7 @@
47 47
 
48 48
         <section id="posts">
49 49
           <ul>
50
-            {{ range first 3 (where .Site.Pages "Type" "post") }}
50
+            {{ range first 3 .Pages }}
51 51
               <li class="recent">
52 52
                 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
53 53
                 <p>{{ .Date.Format "Jan 2, 2006" }}</p>
@@ -81,4 +81,4 @@
81 81
       </div>
82 82
     </header>
83 83
 
84
-    <div id="main">
84
+    <div id="main">

Loading…
취소
저장