changeset 19:b3c953d94739

man: fix imgupd-themes(5)
author David Demelier <markand@malikania.fr>
date Tue, 22 Dec 2020 09:07:10 +0100
parents c9ecb0eef52b
children fa3c61c375ce
files imgupd-themes.5.in
diffstat 1 files changed, 10 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/imgupd-themes.5.in	Mon Dec 21 23:46:53 2020 +0100
+++ b/imgupd-themes.5.in	Tue Dec 22 09:07:10 2020 +0100
@@ -22,8 +22,8 @@
 .Nd themes for imgupd
 .\" DESCRIPTION
 .Sh DESCRIPTION
-This manual page describe the file hierarchy and syntax required to create a new
-theme for
+This manual pages describe the file hierarchy and syntax required to create a
+new theme for
 .Nm imgupd .
 .Pp
 A theme consists of fragments and pages. A fragment is a piece of HTML code that
@@ -52,6 +52,11 @@
 theme/pages/search.html
 .Ed
 .Pp
+A special
+.Pa static
+directory into the theme can be used to provide non templates data such as
+images, Javascript and CSS files. They are not processed and provided as-is.
+.Pp
 See below for a description per file.
 .\" KEYWORDS
 .Sh KEYWORDS
@@ -86,15 +91,11 @@
 Fragment repeated for every image using
 .Pa fragments/image.html
 template.
-.It Va pastes
-Fragment repeated for every paste using
-.Pa fragments/paste.html
-template.
 .It Va public
 String set to
 .Dq Yes
 if public or
-.Dq "No"
+.Dq \&No
 otherwise.
 .It Va title
 Image title.
@@ -142,18 +143,16 @@
 .Ss pages/500.html
 Those pages are used to indicate an error that are generated from
 .Nm imgupd .
-.Pp
-There are no keywords.
 .\" pages/index.html
 .Ss pages/index.html
 This page is the landing of the
 .Nm imgupd
-program. It should provide a list of last recents pastes.
+program. It should provide a list of last recents images.
 .Pp
 Supported keywords:
 .Bl -bullet -compact
 .It
-.Va pastes
+.Va images
 .El
 .\" pages/image.html
 .Ss pages/image.html