mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
106 lines
4.1 KiB
Handlebars
106 lines
4.1 KiB
Handlebars
<!DOCTYPE html>
|
|
<html lang="{{@site.locale}}"{{#match @custom.color_scheme "Dark"}} class="dark-mode"{{/match}}{{#match @custom.color_scheme "Auto"}} class="auto-color"{{/match}}>
|
|
<head>
|
|
|
|
{{!-- Basic meta - advanced meta is output with {ghost_head} below --}}
|
|
<title>{{meta_title}}</title>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="HandheldFriendly" content="True" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<style>
|
|
:root {
|
|
{{#if @custom.header_button_background}}
|
|
--button-bg-color: {{@custom.header_button_background}};
|
|
{{/if}}
|
|
--button-text-color: {{#match @custom.header_button_text_color "Light"}}#fff{{else}}var(--color-darkgrey){{/match}};
|
|
}
|
|
</style>
|
|
|
|
{{!-- Theme assets - use the {asset} helper to reference styles & scripts,
|
|
this will take care of caching and cache-busting automatically --}}
|
|
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
|
|
|
|
{{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings,
|
|
it should always be the last tag before the closing head tag --}}
|
|
{{ghost_head}}
|
|
|
|
</head>
|
|
<body class="{{body_class}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Modern sans-serif"}} has-sans-body{{/match}}{{#if @site.cover_image}} has-cover-image{{/if}}{{#is "home"}}{{#match @custom.identity "!=" "None"}}{{#if @custom.include_logo_in_identity}} no-logo{{/if}}{{/match}}{{/is}}">
|
|
<div class="viewport">
|
|
|
|
<header id="gh-head" class="gh-head outer">
|
|
<nav class="gh-head-inner inner">
|
|
|
|
<div class="gh-head-brand">
|
|
<a class="gh-head-logo" href="{{@site.url}}">
|
|
{{#if @site.logo}}
|
|
<img src="{{@site.logo}}" alt="{{@site.title}}" />
|
|
{{else}}
|
|
{{@site.title}}
|
|
{{/if}}
|
|
</a>
|
|
<a class="gh-burger" role="button">
|
|
<div class="gh-burger-box">
|
|
<div class="gh-burger-inner"></div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<div class="gh-head-menu">
|
|
{{navigation}}
|
|
</div>
|
|
<div class="gh-head-actions">
|
|
{{#unless @member}}
|
|
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
|
{{else}}
|
|
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
|
|
{{/unless}}
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<div class="site-content">
|
|
{{!-- All other templates get inserted here, index.hbs, post.hbs, etc --}}
|
|
{{{body}}}
|
|
</div>
|
|
|
|
{{!-- The global footer at the very bottom of the screen --}}
|
|
<footer class="site-footer outer">
|
|
<div class="inner">
|
|
<section class="copyright"><a href="{{@site.url}}">{{@site.title}}</a> © {{date format="YYYY"}}</section>
|
|
<nav class="site-footer-nav">
|
|
{{navigation type="secondary"}}
|
|
</nav>
|
|
<div><a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a></div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
{{!-- /.viewport --}}
|
|
|
|
|
|
{{!-- Scripts - handle member signups, responsive videos, infinite scroll, floating headers, and galleries --}}
|
|
<script
|
|
src="https://code.jquery.com/jquery-3.5.1.min.js"
|
|
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
|
|
crossorigin="anonymous">
|
|
</script>
|
|
<script src="{{asset "built/casper.js"}}"></script>
|
|
<script>
|
|
$(document).ready(function () {
|
|
// Mobile Menu Trigger
|
|
$('.gh-burger').click(function () {
|
|
$('body').toggleClass('gh-head-open');
|
|
});
|
|
// FitVids - Makes video embeds responsive
|
|
$(".gh-content").fitVids();
|
|
});
|
|
</script>
|
|
|
|
{{!-- Ghost outputs required functional scripts with this tag - it should always be the last thing before the closing body tag --}}
|
|
{{ghost_foot}}
|
|
|
|
</body>
|
|
</html>
|