mirror of
https://github.com/aljazceru/Journal-ghost.git
synced 2025-12-28 10:34:23 +01:00
* Add Alto theme * Remove unnecessary specificity from link hover selector * Add Dope theme * Refine Dope theme * Remove unnecessary selectors from dark mode styles * Add Ruby theme * Add branding+navigation header style * Post/page template cleanup for Ruby theme * Remove jQuery dependency from Ruby * Photoswipe for Ruby * package.json cleanup * Add Ease theme * Ease theme cleanup * Add Edge theme * Add callback to pagination script * Rebuild assets * Refresh Wave * Wave theme pagination * Remove unused settings * Add tag/author pages to Wave * Remove unnecessary dependencies * Post meta spacing * Dawn theme * Edition theme * Cleanup body class * Lint * More cleanup * London theme * Ease theme search cleanup * Minor bug fixes * Remove jQuery dependency from the custom search script * Put back commented functions * Update posts per page to make it consistent with homepage section posts * Alto theme update * Rebuild assets * Remove unused theme setting * Unnecessary rule * Start adding search support * Search support to more themes * Remove starter * Add Alto theme workflow
105 lines
4.1 KiB
Handlebars
105 lines
4.1 KiB
Handlebars
<!DOCTYPE html>
|
||
<html lang="{{@site.locale}}">
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>{{meta_title}}</title>
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Inter:wght@400;500;600;700;800&display=swap">
|
||
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
|
||
|
||
{{ghost_head}}
|
||
</head>
|
||
|
||
<body class="{{body_class}} is-head-b--a_n{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}">
|
||
<div class="gh-site">
|
||
<header id="gh-head" class="gh-head gh-outer">
|
||
<div class="gh-head-inner gh-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>
|
||
<button class="gh-burger"></button>
|
||
</div>
|
||
|
||
<nav class="gh-head-menu">
|
||
{{navigation}}
|
||
</nav>
|
||
|
||
<div class="gh-head-actions">
|
||
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
||
{{#unless @member}}
|
||
<a class="gh-head-btn" href="#/portal/signup" data-portal="signup">
|
||
{{> icons/email}}
|
||
Subscribe
|
||
</a>
|
||
{{else}}
|
||
<a class="gh-head-btn" href="#/portal/account" data-portal="account">Account</a>
|
||
{{/unless}}
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
{{{body}}}
|
||
|
||
{{^if @member.paid}}
|
||
<div class="gh-subscribe">
|
||
<div class="gh-outer">
|
||
<section class="gh-subscribe-inner">
|
||
{{^if @member}}
|
||
<h3 class="gh-subscribe-title">Subscribe to {{@site.title}}</h3>
|
||
|
||
<div class="gh-subscribe-description">Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.</div>
|
||
|
||
<a class="gh-subscribe-input" href="#/portal/signup" data-portal="signup">
|
||
<div class="gh-subscribe-input-text">
|
||
{{> icons/email}}
|
||
jamie@example.com
|
||
</div>
|
||
<div class="gh-subscribe-input-btn">Subscribe</div>
|
||
</a>
|
||
{{else}}
|
||
<h3 class="gh-subscribe-title">Ready for unlimited access?</h3>
|
||
|
||
<div class="gh-subscribe-description">Upgrade to a paid account to get full access.</div>
|
||
|
||
<a class="gh-subscribe-btn gh-btn gh-primary-btn" href="#/portal/account/plans" data-portal="account/plans">Upgrade now</a>
|
||
{{/if}}
|
||
</section>
|
||
</div>
|
||
</div>
|
||
{{/if}}
|
||
|
||
<footer class="gh-foot gh-outer">
|
||
<div class="gh-foot-inner gh-inner">
|
||
<div class="gh-copyright">
|
||
{{@site.title}} © {{date format="YYYY"}}
|
||
</div>
|
||
|
||
<nav class="gh-foot-menu">
|
||
{{navigation type="secondary"}}
|
||
</nav>
|
||
|
||
<div class="gh-powered-by">
|
||
<a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
|
||
{{#is "post, page"}}
|
||
{{> pswp}}
|
||
{{/is}}
|
||
|
||
<script src="{{asset "built/main.min.js"}}"></script>
|
||
|
||
{{ghost_foot}}
|
||
</body>
|
||
|
||
</html> |