hemplate

Simple XML template engine
git clone git://git.dimitrijedobrota.com/hemplate.git
Log | Files | Refs | README | LICENSE

commit cc19eac108e768124b0b4953fa9e2bef3dde7bf9
parent ba1eaaa156534fa7cbc18261d1627db25cb585d5
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date:   Mon, 24 Jun 2024 00:50:14 +0200

Add h2 - h6

Diffstat:
MCMakeLists.txt | 2+-
Minclude/hemplate/classes.hpp | 5+++++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -4,7 +4,7 @@ include(cmake/prelude.cmake) project( hemplate - VERSION 0.1.5 + VERSION 0.1.6 DESCRIPTION "Simple HTML template engine" HOMEPAGE_URL "https://git.dimitrijedobrota.com/hemplate.git" LANGUAGES CXX diff --git a/include/hemplate/classes.hpp b/include/hemplate/classes.hpp @@ -68,6 +68,11 @@ using figure = elementBoolean<tag<"figure">>; using footer = elementBoolean<tag<"footer">>; using form = elementBoolean<tag<"form">>; using h1 = elementBoolean<tag<"h1">>; +using h2 = elementBoolean<tag<"h2">>; +using h3 = elementBoolean<tag<"h3">>; +using h4 = elementBoolean<tag<"h4">>; +using h5 = elementBoolean<tag<"h5">>; +using h6 = elementBoolean<tag<"h6">>; using head = elementBoolean<tag<"head">>; using header = elementBoolean<tag<"header">>; using hgroup = elementBoolean<tag<"hgroup">>;