Ghost/ghost/admin/app/templates/settings/code-injection.hbs

29 lines
1.4 KiB
Handlebars
Raw Normal View History

2015-05-12 14:09:45 +03:00
<header class="view-header">
<h2 class="view-title">Code Injection</h2>
<section class="view-actions">
<button type="button" class="btn btn-blue" {{action "save"}}>Save</button>
</section>
</header>
2015-05-12 15:55:24 +03:00
<section class="view-content">
<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>
2015-05-20 19:52:55 +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>
{{gh-cm-editor id="ghost-head" class="gh-input settings-code-editor" name="codeInjection[ghost_head]" type="text" value=model.ghost_head}}
</div>
2015-05-20 19:52:55 +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>
{{gh-cm-editor id="ghost-foot" class="gh-input settings-code-editor" name="codeInjection[ghost_foot]" type="text" value=model.ghost_foot}}
</div>
</fieldset>
</form>
</section>