mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
b0fbd1b029
refs #5652 - always put button text inside opening/closing helper tag - only include type if it is 'submit' as button is default - wrap attributes in double quotes
31 lines
1.6 KiB
Handlebars
31 lines
1.6 KiB
Handlebars
<section class="gh-view">
|
|
<header class="view-header">
|
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Code Injection</span>{{/gh-view-title}}
|
|
<section class="view-actions">
|
|
{{#gh-spin-button class="btn btn-blue" action="save" submitting=submitting}}Save{{/gh-spin-button}}
|
|
</section>
|
|
</header>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
</section>
|