# HG changeset patch # User David Demelier # Date 1608624430 -3600 # Node ID b3c953d94739eb75c2a871440fb5b0f666a5a3b1 # Parent c9ecb0eef52b0fa0756ea6d528d85e792d5799cc man: fix imgupd-themes(5) diff -r c9ecb0eef52b -r b3c953d94739 imgupd-themes.5.in --- 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