Explorar o código

fix: Book layout

Remove duplicate footer.
George Cushen %!s(int64=5) %!d(string=hai) anos
pai
achega
9a5a33e354
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>