Преглед изворни кода

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>