diff options
author | friendica <info@friendica.com> | 2014-03-02 17:15:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-02 17:15:33 -0800 |
commit | 7cdfe48bb4001a2d137e92bd5aaf1ce5e3e4bbe6 (patch) | |
tree | a2156e1a8ce49d784926dccaa407ddbc7e3291f1 /doc | |
parent | 895c9411d9393776f2ae4846935e42c31fde41af (diff) | |
download | volse-hubzilla-7cdfe48bb4001a2d137e92bd5aaf1ce5e3e4bbe6.tar.gz volse-hubzilla-7cdfe48bb4001a2d137e92bd5aaf1ce5e3e4bbe6.tar.bz2 volse-hubzilla-7cdfe48bb4001a2d137e92bd5aaf1ce5e3e4bbe6.zip |
add choklet to the comanche docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Comanche.md | 19 | ||||
-rw-r--r-- | doc/comanche.bb | 25 |
2 files changed, 41 insertions, 3 deletions
diff --git a/doc/Comanche.md b/doc/Comanche.md index a1fbe023d..658b31ca7 100644 --- a/doc/Comanche.md +++ b/doc/Comanche.md @@ -6,7 +6,7 @@ Comanche is a markup language similar to bbcode with which to create elaborate a Comanche primarily chooses what content will appear in various regions of the page. The various regions have names and these names can change depending on what layout template you choose. -Currently there are two layout templates, unless your site provides additional layouts. +Currently there are three layout templates, unless your site provides additional layouts. default @@ -19,10 +19,25 @@ Currently there are two layout templates, unless your site provides additional l The full template defines the same as the default template with the exception that there is no "aside" region. -To choose a layout template, use the 'template' tag. + choklet + + The choklet template provides a number of fluid layout styles which can be specified by flavour: + + (default flavour) - a two column layout similar to the "default" template, but more fluid + three - three column layout (adds a "right_aside" region to the default template) + edgestwo - two column layout with fixed side margins + edgesthree - three column layout with fixed side margins + full - three column layout with fixed side margins and adds a "header" region beneath the navigation bar + + +To choose a layout template, use the "template" tag. [template]full[/template] +To choose the "choklet" template with the "three" flavour: + + [template=three]choklet[/template] + The default template will be used if no other template is specified. The template can use any names it desires for content regions. You will be using 'region' tags to decide what content to place in the respective regions. diff --git a/doc/comanche.bb b/doc/comanche.bb index 5bfa59a50..83384f2de 100644 --- a/doc/comanche.bb +++ b/doc/comanche.bb @@ -4,7 +4,7 @@ Comanche is a markup language similar to bbcode with which to create elaborate a Comanche primarily chooses what content will appear in various regions of the page. The various regions have names and these names can change depending on what layout template you choose.
-Currently there are two layout templates, unless your site provides additional layouts (TODO list all templates)
+Currently there are three layout templates, unless your site provides additional layouts (TODO list all templates)
[code]
default
@@ -16,6 +16,18 @@ Currently there are two layout templates, unless your site provides additional l full
The full template defines the same as the default template with the exception that there is no "aside" region.
+
+
+ choklet
+
+ The choklet template provides a number of fluid layout styles which can be specified by flavour:
+
+ (default flavour) - a two column layout similar to the "default" template, but more fluid
+ three - three column layout (adds a "right_aside" region to the default template)
+ edgestwo - two column layout with fixed side margins
+ edgesthree - three column layout with fixed side margins
+ full - three column layout with fixed side margins and adds a "header" region beneath the navigation bar
+
[/code]
To choose a layout template, use the 'template' tag.
@@ -24,6 +36,17 @@ To choose a layout template, use the 'template' tag. [template]full[/template]
[/code]
+
+To choose the "choklet" template with the "three" flavour:
+
+[code]
+ [template=three]choklet[/template]
+[/code]
+
+
+
+
+
The default template will be used if no other template is specified. The template can use any names it desires for content regions. You will be using 'region' tags to decide what content to place in the respective regions.
|