FreeBSD Bugzilla – Attachment 239746 Details for
Bug 265276
Books: FAQ and other single-page books: Single HTML: 404
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use single page layout for one page books
0001-Use-single-page-layout-for-one-page-books.patch (text/plain), 3.42 KB, created by
Ciarán Ainsworth
on 2023-01-27 20:09:18 UTC
(
hide
)
Description:
Use single page layout for one page books
Filename:
MIME Type:
Creator:
Ciarán Ainsworth
Created:
2023-01-27 20:09:18 UTC
Size:
3.42 KB
patch
obsolete
>From daef5be2c5b174c29008728b25ff94939ffc0939 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= <ciaranainsworth@posteo.net> >Date: Fri, 27 Jan 2023 21:06:10 +0100 >Subject: [PATCH] Use single page layout for one page books. > >--- > documentation/content/en/books/design-44bsd/_index.adoc | 1 + > documentation/content/en/books/dev-model/_index.adoc | 1 + > documentation/content/en/books/faq/_index.adoc | 1 + > documentation/themes/beastie/layouts/books/single.html | 4 ---- > 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> >-- >2.39.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265276
: 239746