diff --git a/asciidoc-pmg.in b/asciidoc-pmg.in
index 443afe6..ec4bb2a 100644
--- a/asciidoc-pmg.in
+++ b/asciidoc-pmg.in
@@ -319,6 +319,7 @@ sub compile_asciidoc {
} elsif ($env eq 'default') {
die "$infile: wrong doctype\n" if $doctype != 0;
$attributes->{toc} = undef;
+ $attributes->{toc2} = undef;
}
if (!defined($outfile)) {
diff --git a/asciidoc/pmg-html.conf b/asciidoc/pmg-html.conf
index 75cc9a4..b801096 100644
--- a/asciidoc/pmg-html.conf
+++ b/asciidoc/pmg-html.conf
@@ -587,6 +587,50 @@ endif::toc2[]
include1::{stylesheet}[]
endif::linkcss[]
+
+ifdef::toc2[]
+
+endif::toc2[]
+
ifndef::disable-javascript[]
ifdef::linkcss[]
diff --git a/pmg-admin-guide.adoc b/pmg-admin-guide.adoc
index aee7cf6..15ca793 100644
--- a/pmg-admin-guide.adoc
+++ b/pmg-admin-guide.adoc
@@ -8,7 +8,7 @@ Proxmox Mail Gateway Administration Guide
endif::pmglogo[]
:doctype: book
:title: Proxmox Mail Gateway Administration Guide
-:toc:
+:toc2:
:numbered:
:data-uri:
:icons: