Ghost/ghost/admin/app/templates/application.hbs
Chris Raible 71d830e1c9
Removed cache buster from client extensions script (#20668)
ref
https://linear.app/tryghost/issue/PA-71/remove-cache-bust-from-projs-in-admin
ref
15ed2eb245

- This cache buster was added in March to mitigate a client side error in pro.js,
to effectively force browsers to redownload the fixed version of the file.
- It's not needed anymore, as the error has been fixed for a few months
now, so we can safely remove it.
2024-07-25 15:40:12 -07:00

72 lines
2.0 KiB
Handlebars

<GhApp>
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
{{#if this.upgradeStatus.refreshRequired}}
<div class="gh-update-banner">
{{!-- template-lint-disable no-invalid-link-text --}}
<span>Ghost has been updated! To get access to the latest features, refresh or <a href="javascript:window.location.reload(true)">click here</a>.</span>
</div>
{{/if}}
<GhAlerts />
<div class="gh-viewport {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
{{#if this.showNavMenu}}
<GhNavMenu />
{{/if}}
<main class="gh-main {{this.ui.mainClass}}">
{{outlet}}
{{#if this.showBilling}}
<GhBillingModal @billingWindowOpen={{this.billing.billingWindowOpen}} />
{{/if}}
<GhExploreModal />
</main>
<GhNotifications />
<GhContentCover />
{{#if this.session.user}}
{{#unless this.session.user.isContributor}}
<GhMobileNavBar />
{{/unless}}
{{/if}}
</div>
{{#if this.showScriptExtension}}
{{{this.showScriptExtension.container}}}
{{!-- template-lint-disable no-forbidden-elements --}}
<script src="{{this.showScriptExtension.src}}"></script>
{{/if}}
{{#if this.settings.accentColor}}
<style>
:root {
--accent-color: {{this.settings.accentColor}};
--adjusted-accent-color: {{this.ui.adjustedAccentColor}};
--kg-accent-color: {{this.settings.accentColor}};
}
.gh-btn-accent {
background-color: var(--adjusted-accent-color);
color: #fff;
}
.gh-btn-accent:hover {
background-color: {{hex-adjust this.ui.adjustedAccentColor l=-15}};
color: #fff;
}
</style>
{{/if}}
</GhApp>
<div id="unsplash-selector-wormhole"></div>
<EpmModalContainer />
<EmberLoadRemover />