]>
Commit | Line | Data |
---|---|---|
1 | $(function() { | |
2 | if(!document.getElementById('sidebar')) { | |
3 | const content = q('main'); | |
4 | content.innerHTML = '<div class="col-md-9">' + content.innerHTML + '</div><aside id="sidebar" class="col-md-3"></aside>'; | |
5 | content.classList.add('row'); | |
6 | } | |
7 | }); |