From 27d3f06259e83df2fed6fec7bbe77ac6b917eee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Carton?= Date: Fri, 22 Oct 2021 19:14:14 +0200 Subject: man page: use indented paragraphs for lists --- blogit.1 | 107 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 51 deletions(-) (limited to 'blogit.1') diff --git a/blogit.1 b/blogit.1 index ebdaaa4..b3b8f33 100644 --- a/blogit.1 +++ b/blogit.1 @@ -94,64 +94,69 @@ is replaced with the corresponding environment variable value. .SS Index page The index page is built using the following templates: -- header.html; - -- index_header.html; - -- tag_list_header.html; - -- tag_entry.html, for each tag; - -- tag_separator.html, between each tag; - -- tag_list_footer.html; - -- article_list_header.html; - -- article_entry.html, for each article entry; - -- article_separator.html, between each article; - -- article_list_footer.html; - -- index_footer.html; - -- footer.html. - +.IP - +header.html; +.IP - +index_header.html; +.IP - +tag_list_header.html; +.IP - +tag_entry.html, for each tag; +.IP - +tag_separator.html, between each tag; +.IP - +tag_list_footer.html; +.IP - +article_list_header.html; +.IP - +article_entry.html, for each article entry; +.IP - +article_separator.html, between each article; +.IP - +article_list_footer.html; +.IP - +index_footer.html; +.IP - +footer.html. + +.P The TITLE variable will contain "index". In tag_entry, the following additional variables are available: -- URL, containing the (relative) URL of the tag index page; - -- NAME, the tag name. - +.IP - +URL, containing the (relative) URL of the tag index page; +.IP - +NAME, the tag name. In article_entry, the following additional variables are available: - -- URL, containing the (relative) URL of the article; - -- DATE, the first publication date; - -- TITLE, the title of the article. +.IP - +URL, containing the (relative) URL of the article; +.IP - +DATE, the first publication date; +.IP - +TITLE, the title of the article. .SS Article pages Article pages are built from the following templates: -- header.html - -- index_header.html - -- (then the article file is formatted and inserted) - -- index_footer.html - -- footer.html - +.IP - +header.html +.IP - +index_header.html +.IP - +(then the article file is formatted and inserted) +.IP - +index_footer.html +.IP - +footer.html + +.P At all stages, the following variables are defined: -- TITLE, the title of the article; - -- DATE_POSTED, the first publication date; - -- DATE_EDITED, the last edit (commit) date; - -- TAGS, the tags parsed from "tags:" comments. +.IP - +TITLE, the title of the article; +.IP - +DATE_POSTED, the first publication date; +.IP - +DATE_EDITED, the last edit (commit) date; +.IP - +TAGS, the tags parsed from "tags:" comments. -- cgit v1.2.3