소스 검색

fix: Book layout

Remove duplicate footer.
George Cushen 5 년 전
부모
커밋
9a5a33e354
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      layouts/_default/baseof.html

+ 1 - 1
layouts/_default/baseof.html

@@ -16,7 +16,7 @@
   {{ partial "site_js" . }}
 
   {{/* Docs and Updates layouts include the site footer in a different location. */}}
-  {{ if not (in (slice "docs" "updates") .Type) }}
+  {{ if not (in (slice "book" "docs" "updates") .Type) }}
   <div class="container">
     {{ partial "site_footer" . }}
   </div>