[Bug 265276] Books: FAQ: Single HTML: 404

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Jan 2023 20:09:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265276

--- Comment #4 from CiarĂ¡n Ainsworth <ciaranainsworth@posteo.net> ---
Created attachment 239746
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239746&action=edit
Use single page layout for one page books

Looking at this again, I can see this issue affects the following books:

1. The Design and Implementation of the 4.4BSD Operating System:
https://docs.freebsd.org/en/books/design-44bsd/
2. A project model for the FreeBSD Project:
https://docs.freebsd.org/en/books/dev-model/
3. Frequently Asked Questions for FreeBSD 12.X and 13.X:
https://docs.freebsd.org/en/books/faq/

This patch takes the following steps to address the issue:

1. Updates the "single.html" template used for one page books to remove the
link to the single HTML page (this is redundant when you're already in the
single HTML view and just refreshes the page)
2. Applies the "single.html" template on single-page books using the "layout:
single" frontmatter parameter.

-- 
You are receiving this mail because:
You are the assignee for the bug.