Updated for Ghost 5
[ghost-theme-lbbg.git] / default.hbs
1 <!DOCTYPE html>
2 <html lang="{{@site.locale}}">
3 <head>
4
5 {{!-- Basic meta - advanced meta is output with {ghost_head} below --}}
6 <title>{{meta_title}}</title>
7 <meta charset="utf-8" />
8 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
9 <meta name="HandheldFriendly" content="True" />
10 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
11
12 {{!-- Theme assets - use the {asset} helper to reference styles & scripts,
13 this will take care of caching and cache-busting automatically --}}
14 <link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
15
16 {{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings,
17 it should always be the last tag before the closing head tag --}}
18 {{ghost_head}}
19
20 </head>
21 <body class="{{body_class}}">
22 <div class="viewport">
23
24 <header id="gh-head" class="gh-head {{#if @site.cover_image}}has-cover{{/if}}">
25 <nav class="gh-head-inner inner gh-container">
26
27 <div class="gh-head-brand">
28 <a class="gh-head-logo" href="{{@site.url}}">
29 {{#if @site.logo}}
30 <img src="{{@site.logo}}" alt="{{@site.title}}" />
31 {{else}}
32 {{@site.title}}
33 {{/if}}
34 </a>
35 <a class="gh-burger" role="button">
36 <div class="gh-burger-box">
37 <div class="gh-burger-inner"></div>
38 </div>
39 </a>
40 </div>
41 <div class="gh-head-menu">
42 {{navigation}}
43 </div>
44 <div class="gh-head-actions">
45 <div class="gh-social">
46 {{#if @site.facebook}}
47 <a class="gh-social-facebook" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
48 {{/if}}
49 {{#if @site.twitter}}
50 <a class="gh-social-twitter" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
51 {{/if}}
52 <a class="gh-social-link" href="https://www.instagram.com/lbboardgames/?hl=en" title="Instagram" target="_blank" rel="noopener">{{> "icons/instagram"}}</a>
53 <a class="gh-social-link" href="https://www.meetup.com/Leighton-Buzzard-Board-Games/" title="Meetup" target="_blank" rel="noopener">{{> "icons/meetup"}}</a>
54 </div>
55
56 {{#unless @member}}
57 <a class="gh-head-button" href="#/portal/signup">Subscribe</a>
58 {{else}}
59 <a class="gh-head-button" href="#/portal/account">Account</a>
60 {{/unless}}
61 </div>
62 </nav>
63 </header>
64
65 <main>
66 {{!-- All other templates get inserted here, index.hbs, post.hbs, etc --}}
67 {{{body}}}
68 </main>
69
70 {{!-- The global footer at the very bottom of the screen --}}
71 <footer class="site-footer outer">
72 <div class="inner">
73 <section class="copyright"><a href="{{@site.url}}">{{@site.title}}</a> &copy; {{date format="YYYY"}}</section>
74 <nav class="site-footer-nav">
75 {{navigation type="secondary"}}
76 </nav>
77 <div><a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a></div>
78 </div>
79 </footer>
80
81 </div>
82 {{!-- /.viewport --}}
83
84
85 {{!-- Scripts - handle member signups, responsive videos, infinite scroll, floating headers, and galleries --}}
86 <script
87 src="https://code.jquery.com/jquery-3.5.1.min.js"
88 integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
89 crossorigin="anonymous">
90 </script>
91 <script src="{{asset "built/casper.js"}}"></script>
92 <script>
93 $(document).ready(function () {
94 // Mobile Menu Trigger
95 $('.gh-burger').click(function () {
96 $('body').toggleClass('gh-head-open');
97 });
98 // FitVids - Makes video embeds responsive
99 $(".gh-content").fitVids();
100 });
101 </script>
102
103 {{!-- Ghost outputs required functional scripts with this tag - it should always be the last thing before the closing body tag --}}
104 {{ghost_foot}}
105
106 </body>
107 </html>