Update book list generator to use HTML-TEMPLATE
[clinton/website/site-support.git] / templates / book-list.template
diff --git a/templates/book-list.template b/templates/book-list.template
new file mode 100644 (file)
index 0000000..f316945
--- /dev/null
@@ -0,0 +1,14 @@
+#title A Not So Fancy Listing of Books
+
+<!-- TMPL_LOOP authors -->
+* <!-- TMPL_VAR name -->
+
+<!-- TMPL_IF description --><!-- TMPL_VAR description --><!-- /TMPL_IF -->
+<!-- TMPL_LOOP books -->
+** <!-- TMPL_VAR title -->
+
+<!-- TMPL_IF ratingp -->*Rating:* <class name="rating-good"><!-- TMPL_REPEAT rating-good -->•<!-- /TMPL_REPEAT --></class><class name="rating-bad"><!-- TMPL_REPEAT rating-bad -->•<!-- /TMPL_REPEAT --></class><!-- /TMPL_IF --> / *<!-- TMPL_VAR classification -->*
+
+<!-- TMPL_IF description --><!-- TMPL_VAR description --><!-- /TMPL_IF -->
+
+<!-- /TMPL_LOOP --><!-- /TMPL_LOOP -->
\ No newline at end of file