diff --git a/layouts/docs/second.html b/layouts/docs/second.html
index add15eaca..b92810b3c 100644
--- a/layouts/docs/second.html
+++ b/layouts/docs/second.html
@@ -117,29 +117,14 @@ height="0" width="0" style="display:none;visibility:hidden">
-
- {{ define "content" }}
- {{ if .context.IsSection }}
-
{{ .context.Description }}
- {{ $count := add .count 1 }} - {{ if .context.IsSection }} - {{ range (union (where .context.Pages ".context.Params._build.render" "!=" false) .context.Sections).ByWeight }} - {{ template "content" (dict "context" . "count" $count) }} - {{ end }} - {{ else}} - {{ end }} - {{ end }}{{ .Description }}
{{ end }}