<%= this.head({ medium: true, title: 'Accueil' }) %>
<body>
<% data.active = 'accueil' %>
<%= this.mainmenu(data) %>
<div class="row column">
<%= this.breadcrumbs({ title: data.title }) %>
<div id='main-editor'>
<%= data.content %>
</div>
</div>
<%= this.js({ medium: true }) %>
<% if (data.editor) { %>
<script type="text/javascript" src="/js/editor.js"></script>
<% } %>
</body>
</html>

<%= this.head({ medium: true, title: 'Accueil' }) %>
<body>
<% data.active = 'accueil' %>
<%= this.mainmenu(data) %>
<div class="row column">
<%= this.breadcrumbs({ title: data.title }) %>
<div id='main-editor'>
<%= data.content %>
</div>
</div>
<%= this.js({ medium: data.editor }) %>
<% if (data.editor) { %>
<script type="text/javascript" src="/js/editor.js"></script>
<% } %>
</body>
</html>

Include medium-editor for editor only.
Include medium-editor for editor only.
