git: c4708d6750 - main - Fix build by reapplying 05b8bc3182dc4cfcf0a8a0964b4303903a4abf56

From: Benedict Reuschling <bcr_at_FreeBSD.org>
Date: Sun, 14 Nov 2021 15:01:34 UTC
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c4708d675088e62fa3d265fcdde03291cf14db4f

commit c4708d675088e62fa3d265fcdde03291cf14db4f
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2021-11-14 15:00:59 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2021-11-14 15:00:59 +0000

    Fix build by reapplying 05b8bc3182dc4cfcf0a8a0964b4303903a4abf56
    
    Dusting off my pointy hat:  bcr
---
 .../content/en/books/handbook/zfs/_index.adoc      | 40 ++++++++++++----------
 1 file changed, 21 insertions(+), 19 deletions(-)

diff --git a/documentation/content/en/books/handbook/zfs/_index.adoc b/documentation/content/en/books/handbook/zfs/_index.adoc
index fd3323a4c2..53912116f8 100644
--- a/documentation/content/en/books/handbook/zfs/_index.adoc
+++ b/documentation/content/en/books/handbook/zfs/_index.adoc
@@ -15,33 +15,35 @@ tags: ["ZFS", "filesystem", "administration", "zpool", "features", "terminology"
 :icons: font
 :sectnums:
 :sectnumlevels: 6
+:sectnumoffset: 20
+:partnums:
 :source-highlighter: rouge
 :experimental:
-:skip-front-matter:
-:xrefstyle: basic
-:relfileprefix: ../
-:outfilesuffix:
-:sectnumoffset: 20
-
-ifeval::["{backend}" == "html5"]
-:imagesdir: ../../../../images/books/handbook/zfs/
-endif::[]
-
-ifeval::["{backend}" == "pdf"]
-:imagesdir: ../../../../static/images/books/handbook/zfs/
-endif::[]
+:images-path: books/handbook/zfs/
 
-ifeval::["{backend}" == "epub3"]
-:imagesdir: ../../../../static/images/books/handbook/zfs/
+ifdef::env-beastie[]
+ifdef::backend-html5[]
+:imagesdir: ../../../../images/{images-path}
 endif::[]
-
+ifndef::book[]
 include::shared/authors.adoc[]
+include::shared/mirrors.adoc[]
 include::shared/releases.adoc[]
-include::shared/en/mailing-lists.adoc[]
-include::shared/en/teams.adoc[]
-include::shared/en/urls.adoc[]
+include::shared/attributes/attributes-{{% lang %}}.adoc[]
+include::shared/{{% lang %}}/teams.adoc[]
+include::shared/{{% lang %}}/mailing-lists.adoc[]
+include::shared/{{% lang %}}/urls.adoc[]
+toc::[]
+endif::[]
+ifdef::backend-pdf,backend-epub3[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
+endif::[]
 
+ifndef::env-beastie[]
 toc::[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
 
 ZFS is an advanced file system designed to solve major problems found in previous storage subsystem software.