profice a general content wrapper template.
This commit is contained in:
parent
3a368214c0
commit
71b30e0651
4 changed files with 37 additions and 8 deletions
12
view/templates/content_wrapper.tpl
Normal file
12
view/templates/content_wrapper.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
|
||||
{{* give different possibilities for the size of the heading *}}
|
||||
{{if $title_size}}
|
||||
<h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
|
||||
{{else}}
|
||||
{{include file="section_title.tpl"}}
|
||||
{{/if}}
|
||||
|
||||
{{* output the content *}}
|
||||
{{$content}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue