Posts about PageTemplate, a Ruby text templating I wrote a long time ago. I no longer do anything with PageTemplate, and it predates most of the interesting things people started using Ruby for.
Jan 7, 2008
I’ve got my code filtering Markdown and now I want to stuff that filtered content into an HTML page. I could just use
maruku#to_html_document, but I need the ability to add details like a title and site-related links.
Jan 6, 2008 (Updated Mar 28, 2015)
Jan 7, 2006
I snuck out a couple of new PageTemplate releases over the last week. There were no significant changes. The main bugfix is that PT should now work okay in an environment where $SAFE > 0. This means you can finally use stock PageTemplate in your mod_ruby projects. I don’t have any major plans for PT in the near future. I really need to improve the tests, so I can know for sure that the package does what it’s currently advertised to do. Much later, I want to split the library into components so that people who want the bare minimum can use a PageTemplate::Core module which would be equivalent to PT 0.3.2.