Major update - simpler file structure, better layouts, moar content
This commit is contained in:
15
src/layouts/partials/embed_switch.ejs
Normal file
15
src/layouts/partials/embed_switch.ejs
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
<!-- EMBED-SWITCH BEGIN -->
|
||||
|
||||
<%
|
||||
if (page.path && page.path.indexOf('/updates') === 0) {
|
||||
-%>
|
||||
<div class='embedSwitch'>
|
||||
<form action='' method=''>
|
||||
<input type='checkbox' id='toggle_embeds' name='toggle_embeds' class='toggleSwitch js-toggleEmbeds' />
|
||||
<label for='toggle_embeds'><span class='toggleSwitch-info'>Enable Embedded Media<span></label>
|
||||
</form>
|
||||
</div>
|
||||
<% } -%>
|
||||
|
||||
<!-- EMBED-SWITCH END -->
|
||||
Reference in New Issue
Block a user