From e8d2dd7204b2ae80819905075de1a036c2be9aa6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 30 Apr 2015 18:18:46 +0200 Subject: document [var=wrap]none[/var] for block elements --- doc/Comanche.md | 4 ++++ doc/comanche.bb | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/Comanche.md b/doc/Comanche.md index 56bf68457..147988938 100644 --- a/doc/Comanche.md +++ b/doc/Comanche.md @@ -88,6 +88,10 @@ This places the menu called "mymenu" at this location on the page, which must be This places a block named "contributors" in this region. + [block][var=wrap]none[/var]contributors[/block] + +The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block. + **Widgets** diff --git a/doc/comanche.bb b/doc/comanche.bb index 19a74833e..3afe14489 100644 --- a/doc/comanche.bb +++ b/doc/comanche.bb @@ -108,6 +108,10 @@ This places the menu called "mymenu" at this location on the page, whi [/code] This places a block named "contributors" in this region. +[code] + [block][var=wrap]none[/var]contributors[/block] +[/code] +The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block. [b]Widgets[/b] -- cgit v1.2.3