Maytag Metalark avatar Maytag Metalark committed fdae0a2

Think I'm finished with README for now. Next, need to change the html include to a reST include, for bitbucket.

Comments (0)

Files changed (1)

templ/README.templ

 
             {p <<<
 A copy of the GNU Affero General Public License is available in the templ
-distribution under the file {link LICENSE.txt}. If you did not receive a copy of
+distribution under the file LICENSE.txt. If you did not receive a copy of
 this file, see {link "http://www.gnu.org/licenses/"}.
             >>> }
         }}
     {$ :NOW {stamp}}
     {$ :AGE {floor {div {- {$ :NOW} {$ :STAMP}} {* 60 60 24 365.25}}}}
     {echo {@ 0 {$ :ROW}} \", age \" {$ :AGE} \" years.\" {\\n} }
-}}
-                " } >>>
+}}"
+    } >>>
         } % end section "Embedded Data"
 
 
+        {section "Programmatic Invocation"
+            <<< {p 
+                <<<The real power of {code templ} comes from the programmatic interface,
+                which allows you to predefine symbols, and even executables (functions, macros
+                and operators) in python, which are then accessible from the template.
+                Because, although {code templ} {em is} Turing complete, and you {em could} do all
+                of your processing directly in the template (or a separate included template), doing
+                advanced data processing in python can help keep your template files simpler.
+                >>>}
+            >>>}
 
     }} %end section Examples
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.