diff options
author | CiarĂ¡n Ainsworth <ciaranainsworth@posteo.net> | 2023-01-28 08:53:27 +0000 |
---|---|---|
committer | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2023-01-28 08:53:27 +0000 |
commit | 34aaac36f56c4b56a168d9f392f5bc2a25998a63 (patch) | |
tree | e278bc09d2ea6e9c73b22583eea8f139aab36ab3 | |
parent | a125b1db5fe0d6e8af633593099785cab0ebe703 (diff) | |
download | doc-34aaac36f5.tar.gz doc-34aaac36f5.zip |
Fix single page problem in FAQ, dev-model and design-44bsd
PR: 265276
Reported by: grahamperrin@
4 files changed, 3 insertions, 4 deletions
diff --git a/documentation/content/en/books/design-44bsd/_index.adoc b/documentation/content/en/books/design-44bsd/_index.adoc index 289efebf32..c149640619 100644 --- a/documentation/content/en/books/design-44bsd/_index.adoc +++ b/documentation/content/en/books/design-44bsd/_index.adoc @@ -10,6 +10,7 @@ description: Donated by Addison-Wesley, provides a design overview of 4.4BSD, fr trademarks: ["design-44bsd"] bookOrder: 60 tags: ["4.4BSD", "design", "operating system", "BSD", "UNIX"] +layout: single --- = The Design and Implementation of the 4.4BSD Operating System diff --git a/documentation/content/en/books/dev-model/_index.adoc b/documentation/content/en/books/dev-model/_index.adoc index 8e0a1b8226..3e3371ca07 100644 --- a/documentation/content/en/books/dev-model/_index.adoc +++ b/documentation/content/en/books/dev-model/_index.adoc @@ -7,6 +7,7 @@ description: A formal study of the organization of the FreeBSD project trademarks: ["freebsd", "ibm", "ieee", "adobe", "intel", "linux", "microsoft", "opengroup", "sun", "netbsd", "general"] bookOrder: 45 tags: ["model", "project model", "FreeBSD"] +layout: single --- //// diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc index 80e9ee53b7..bc9a3c7524 100644 --- a/documentation/content/en/books/faq/_index.adoc +++ b/documentation/content/en/books/faq/_index.adoc @@ -7,6 +7,7 @@ description: Frequently Asked Questions, and answers, covering all aspects of Fr trademarks: ["freebsd", "ibm", "ieee", "adobe", "intel", "linux", "microsoft", "opengroup", "sun", "netbsd", "general"] bookOrder: 5 tags: ["FAQ", "FreeBSD FAQ"] +layout: single --- = Frequently Asked Questions for FreeBSD {rel2-relx} and {rel-relx} diff --git a/documentation/themes/beastie/layouts/books/single.html b/documentation/themes/beastie/layouts/books/single.html index ea5653a6ed..70793376f1 100644 --- a/documentation/themes/beastie/layouts/books/single.html +++ b/documentation/themes/beastie/layouts/books/single.html @@ -121,10 +121,6 @@ <h3>{{ i18n "resources" }}</h3> <ul class="contents"> {{ $pathSections := split .Page.File "/" }} - {{ if $.Site.Params.isOnline }} - {{ $singlePagePath := printf "%s/%s/book/" (index $pathSections 0) (index $pathSections 1) }} - <li><i class="fa fa fa-book" aria-hidden="true" title="{{ i18n "single-html" }}"></i><a href={{ $singlePagePath | absLangURL }}>{{ i18n "single-html" }}</a></li> - {{ end }} {{ $path := printf "%s/%s/%s_%s.pdf" (index $pathSections 0) (index $pathSections 1) (index $pathSections 1) $.Site.Home.Language }} {{ $pdfUrl := printf "%s%s/%s" $.Site.Params.downloadBaseUrl $.Site.Home.Language $path }} <li><i class="fa fa-file-pdf-o" aria-hidden="true" title="{{ i18n "download-pdf" }}"></i><a href="{{ $pdfUrl }}">{{ i18n "download-pdf" }}</a></li> |