Skip to content

Instantly share code, notes, and snippets.

@bigin
Created August 20, 2016 15:17
Show Gist options
  • Save bigin/25ad601d6bb23f86f291428f125d9b39 to your computer and use it in GitHub Desktop.
Save bigin/25ad601d6bb23f86f291428f125d9b39 to your computer and use it in GitHub Desktop.
<div id="main-wrapper">
<h1>[[page_title]]</h1>
<div class="content-wrapper">
<div class="content">
[[page_content]]
</div>
</div>
<div class="sidebar">
[[page_sidebar]]
</div>
</div>
<script>
// Remove chunk from edit page panel and from ItemManager edit item view
$(function() {
if($('body#edit, body#load').length > 0) { $('#main-wrapper').remove(); }
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment