2017-02-17 08:50:07 +03:00
<section class="gh-canvas">
<header class="gh-canvas-header">
<h2 class="gh-canvas-title">Code injection</h2>
2015-06-13 17:34:09 +03:00
<section class="view-actions">
2017-04-07 18:23:45 +03:00
{{ gh-task-button task = save class = "gh-btn gh-btn-blue gh-btn-icon" data-test-save-button = true }}
2015-06-13 17:34:09 +03:00
</section>
</header>
2014-07-31 23:36:20 +04:00
2017-02-17 08:50:07 +03:00
<section class="view-continer">
2015-06-13 17:34:09 +03:00
<form id="settings-code" novalidate="novalidate">
<fieldset>
<p>
Ghost allows you to inject code into the top and bottom of your theme files without editing them. This allows for quick modifications to insert useful things like tracking codes and meta tags.
</p>
2014-07-31 23:36:20 +04:00
2015-06-13 17:34:09 +03:00
<div class="form-group settings-code">
<label for="ghost-head">Blog Header</label>
<p>Code here will be injected into the <code>\ {{ ghost_head }} </code> tag on every page of your blog</p>
2016-06-18 14:44:23 +03:00
{{ gh-cm-editor model .ghost_head id = "ghost-head" class = "gh-input settings-code-editor" name = "codeInjection[ghost_head]" type = "text" update = ( action ( mut model .ghost_head ) ) }}
2015-06-13 17:34:09 +03:00
</div>
2014-07-31 23:36:20 +04:00
2015-06-13 17:34:09 +03:00
<div class="form-group settings-code">
<label for="ghost-foot">Blog Footer</label>
<p>Code here will be injected into the <code>\ {{ ghost_foot }} </code> tag on every page of your blog</p>
2016-06-18 14:44:23 +03:00
{{ gh-cm-editor model .ghost_foot id = "ghost-foot" class = "gh-input settings-code-editor" name = "codeInjection[ghost_foot]" type = "text" update = ( action ( mut model .ghost_foot ) ) }}
2015-06-13 17:34:09 +03:00
</div>
</fieldset>
</form>
</section>
2014-07-31 23:36:20 +04:00
</section>