OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Blatte-HTML-0.9p0

Blatte functions to generate (X)HTML

Back to search · Project homepage

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 <a href="http://www.blatte.org/">link</a> 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: <html><head><title>A page I wrote</title></head> <body><h1>A page I wrote</h1>This is my page.</body></html>

Package information

Ports path
www/p5-Blatte-HTML
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
www, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Installing and updating packages · Package details as JSON