diff examples/turbogears/genshitest/templates/plain.txt @ 265:26bebcc26da8 trunk

Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
author cmlenz
date Fri, 22 Sep 2006 17:22:53 +0000
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/examples/turbogears/genshitest/templates/plain.txt
@@ -0,0 +1,8 @@
+#choose
+  #when name
+    Hello, $name!
+  #end
+  #otherwise
+    Hello, anonymous!
+  #end
+#end
Copyright (C) 2012-2017 Edgewall Software