2017-02-17 08:50:07 +03:00
<section class="gh-canvas">
2019-06-18 13:47:21 +03:00
<GhCanvasHeader class="gh-canvas-header">
2022-10-04 08:35:29 +03:00
<div class="flex flex-column">
<div class="gh-canvas-breadcrumb">
<LinkTo @route="settings">
Settings
</LinkTo>
{{ svg-jar "arrow-right-small" }} Code injection
</div>
<h2 class="gh-canvas-title" data-test-screen-title>
Code injection
</h2>
</div>
2015-06-13 17:34:09 +03:00
<section class="view-actions">
2021-02-10 13:54:27 +03:00
<GhTaskButton @task= {{ this .saveTask }} @class="gh-btn gh-btn-primary gh-btn-icon" data-test-save-button= {{ true }} />
2015-06-13 17:34:09 +03:00
</section>
2019-06-18 13:47:21 +03:00
</GhCanvasHeader>
2014-07-31 23:36:20 +04:00
2019-06-18 13:47:21 +03:00
<section class="view-container">
2015-06-13 17:34:09 +03:00
<form id="settings-code" novalidate="novalidate">
<fieldset>
2020-09-16 16:37:33 +03:00
<p class="gh-box gh-box-tip">
2019-06-18 13:47:21 +03:00
{{ svg-jar "idea" }}
2015-06-13 17:34:09 +03:00
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
2021-02-10 13:54:27 +03:00
<div class="gh-main-section">
<label for="ghost-head" class="gh-main-section-header bn">Site Header</label>
<p class="gh-main-section-description bn">Code here will be injected into the <code>\ {{ ghost_head }} </code> tag on every page of the site</p>
2019-06-18 13:47:21 +03:00
<div class="form-group settings-code">
2020-01-16 18:14:03 +03:00
<GhCmEditor @value= {{ this .settings .codeinjectionHead }} @id="ghost-head" @class="gh-input settings-code-editor" @name="codeInjection[ghost_head]" @type="text" @update= {{ action ( mut this .settings .codeinjectionHead ) }} />
2019-06-18 13:47:21 +03:00
</div>
2021-02-10 13:54:27 +03:00
</div>
2014-07-31 23:36:20 +04:00
2021-02-10 13:54:27 +03:00
<div class="gh-main-section">
<label for="ghost-foot" class="gh-main-section-header bn">Site Footer</label>
<p class="gh-main-section-description bn">Code here will be injected into the <code>\ {{ ghost_foot }} </code> tag on every page of the site</p>
2019-06-18 13:47:21 +03:00
<div class="form-group settings-code">
2020-01-16 18:14:03 +03:00
<GhCmEditor @value= {{ this .settings .codeinjectionFoot }} @id="ghost-foot" @class="gh-input settings-code-editor" @name="codeInjection[ghost_foot]" @type="text" @update= {{ action ( mut this .settings .codeinjectionFoot ) }} />
2019-06-18 13:47:21 +03:00
</div>
2015-06-13 17:34:09 +03:00
</div>
</fieldset>
</form>
</section>
2014-07-31 23:36:20 +04:00
</section>