The www/p5-Blatte-HTML port
p5-Blatte-HTML-0.9p0 – Blatte functions to generate (X)HTML (cvsweb github mirror)
Description
The Blatte-HTML module defines Blatte functions corresponding to HTML tags, making it possible to write Blatte that looks like this: Here is a {\a \href=http://www.blatte.org/ link} that can be translated to this: Here is a link The beauty is that you can use Blatte functions to encapsulate repeated constructs. For instance, this definition: {\define {\mypagestyle \=name \&content} {\html {\head {\title \name}} {\body {\h1 \name} \content}}} allows you to write {\mypagestyle \name={A page I wrote} This is my page.} which saves you from having to write:WWW: http://www.blatte.org/A page I wrote A page I wrote
This is my page.
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/bin/blatte-html
- /usr/local/libdata/perl5/site_perl/Blatte/HTML.pm
- /usr/local/man/man1/blatte-html.1
- /usr/local/man/man3p/Blatte::HTML.3p