mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
The search icon used to be on the bottom of the mobile menu, and now it will be placed before the burger menu.
73 lines
2.1 KiB
Handlebars
73 lines
2.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="stylesheet" href="{{asset "built/screen.css"}}">
|
|
|
|
{{ghost_head}}
|
|
</head>
|
|
|
|
<body class="{{body_class}}{{{block "body_class"}}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}">
|
|
<div class="site">
|
|
|
|
<header id="gh-head" class="gh-head gh-outer">
|
|
<div class="gh-head-inner gh-inner">
|
|
|
|
<div class="gh-head-brand">
|
|
<div class="gh-head-brand-wrapper">
|
|
<a class="gh-head-logo" href="{{@site.url}}">
|
|
{{#if @site.logo}}
|
|
<img src="{{@site.logo}}" alt="{{@site.title}}">
|
|
{{else}}
|
|
{{@site.title}}
|
|
{{/if}}
|
|
</a>
|
|
</div>
|
|
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
|
<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>
|
|
</div>
|
|
|
|
</div>
|
|
</header>
|
|
|
|
<div class="site-content">
|
|
{{{body}}}
|
|
</div>
|
|
|
|
<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> |