feat: changing widget-* to data-widget-* (#479)

main
Aziz Khoury 6 years ago committed by Julian Lam
parent 521504fbe2
commit 93fe46d5a5

@ -16,7 +16,7 @@
padding-bottom: 0px;
}
[widget-area="header"], [widget-area="footer"] {
[data-widget-area="header"], [data-widget-area="footer"] {
display: none;
}
}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}
@ -13,13 +13,13 @@
{{{end}}}
</ul>
</div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
{{{each widgets.sidebar}}}
{{widgets.sidebar.html}}
{{{end}}}
</div>
</div>
<div widget-area="footer">
<div data-widget-area="footer">
{{{each widgets.footer}}}
{{widgets.footer.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}
@ -49,13 +49,13 @@
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
</div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
{{{each widgets.sidebar}}}
{{widgets.sidebar.html}}
{{{end}}}
</div>
</div>
<div widget-area="footer">
<div data-widget-area="footer">
{{{each widgets.footer}}}
{{widgets.footer.html}}
{{{end}}}

@ -227,7 +227,7 @@
</div>
</div>
<!-- ENDIF group.isOwner -->
<div widget-area="left">
<div data-widget-area="left">
{{{each widgets.left}}}
{{widgets.left.html}}
{{{end}}}
@ -240,7 +240,7 @@
<!-- ENDIF !posts.length -->
<!-- IMPORT partials/posts_list.tpl -->
</div>
<div widget-area="right">
<div data-widget-area="right">
{{{each widgets.right}}}
{{widgets.right.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}
@ -76,13 +76,14 @@
</div>
</div>
</div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
{{{each widgets.sidebar}}}
{{widgets.sidebar.html}}
{{{end}}}
</div>
</div>
<div widget-area="footer">
<div data-widget-area="footer">
{{{each widgets.footer}}}
{{widgets.footer.html}}
{{{end}}}

@ -1,5 +1,5 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

@ -1,5 +1,6 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header">
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}

Loading…
Cancel
Save