mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
🔗 Updated docs api links to be version-less
This commit is contained in:
parent
dad908911b
commit
dbb3368921
@ -60,7 +60,7 @@ export default Service.extend(Evented, {
|
||||
}, {
|
||||
id: 'upload-a-theme',
|
||||
title: 'Customising your publication',
|
||||
message: 'Using custom themes you can completely control the look and feel of your site to suit your brand. Here\'s a full guide to help: <strong><a href="https://ghost.org/docs/api/v2/handlebars-themes/" target="_blank">https://ghost.org/docs/api/v2/handlebars-themes/</a></strong>'
|
||||
message: 'Using custom themes you can completely control the look and feel of your site to suit your brand. Here\'s a full guide to help: <strong><a href="https://ghost.org/docs/api/handlebars-themes/" target="_blank">https://ghost.org/docs/api/handlebars-themes/</a></strong>'
|
||||
}];
|
||||
},
|
||||
|
||||
|
@ -109,7 +109,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/v2/handlebars-themes/" target="_blank" rel="noopener">
|
||||
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/handlebars-themes/" target="_blank" rel="noopener">
|
||||
<div class="td-cta-icon">{{svg-jar "book-open"}}</div>
|
||||
<div class="td-cta-content-wrapper">
|
||||
<div class="td-cta-content">
|
||||
|
@ -86,7 +86,7 @@
|
||||
data-test-default-locale-input=true
|
||||
}}
|
||||
{{gh-error-message errors=settings.errors property="defaultLocale"}}
|
||||
<p>Default: English (<strong>en</strong>); you can add translation files to your theme for <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/translate/" target="_blank" rel="noopener">any language</a></p>
|
||||
<p>Default: English (<strong>en</strong>); you can add translation files to your theme for <a href="https://ghost.org/docs/api/handlebars-themes/helpers/translate/" target="_blank" rel="noopener">any language</a></p>
|
||||
{{/gh-form-group}}
|
||||
</div>
|
||||
{{/liquid-if}}
|
||||
|
@ -102,7 +102,7 @@
|
||||
<div class="gh-setting">
|
||||
<div class="gh-setting-content">
|
||||
<div class="gh-setting-title">Public API (deprecated)</div>
|
||||
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://ghost.org/docs/api/v2/content/">the docs</a></div>
|
||||
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://ghost.org/docs/api/content/">the docs</a></div>
|
||||
</div>
|
||||
<div class="gh-setting-action">
|
||||
<div class="for-switch">{{gh-feature-flag "publicAPI"}}</div>
|
||||
|
@ -383,7 +383,7 @@ describe('Acceptance: Settings - Design', function () {
|
||||
theme.warnings = [{
|
||||
level: 'warning',
|
||||
rule: 'Assets such as CSS & JS must use the <code>{{asset}}</code> helper',
|
||||
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
|
||||
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
|
||||
failures: [
|
||||
{
|
||||
ref: '/assets/dist/img/apple-touch-icon.png'
|
||||
@ -565,7 +565,7 @@ describe('Acceptance: Settings - Design', function () {
|
||||
theme.update({warnings: [{
|
||||
level: 'warning',
|
||||
rule: 'Assets such as CSS & JS must use the <code>{{asset}}</code> helper',
|
||||
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
|
||||
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
|
||||
failures: [
|
||||
{
|
||||
ref: '/assets/dist/img/apple-touch-icon.png'
|
||||
|
Loading…
Reference in New Issue
Block a user