Jelajahi Sumber

fix: Book layout

Remove duplicate footer.
George Cushen 5 tahun lalu
induk
melakukan
9a5a33e354
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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>