diff options
Diffstat (limited to 'lib/partials/section.p')
| -rw-r--r-- | lib/partials/section.p | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/partials/section.p b/lib/partials/section.p new file mode 100644 index 0000000..44135e1 --- /dev/null +++ b/lib/partials/section.p @@ -0,0 +1,8 @@ +@section[id;content;.title] +<section id="$id" class="section"> + ^if(def $title){ + <h2 class="title">$title</h2> + } + $content +</section> +#end @section[] |
