-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.hbs
More file actions
56 lines (51 loc) · 2.74 KB
/
Copy pathdefault.hbs
File metadata and controls
56 lines (51 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
{{!-- Base Meta --}}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True"/>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
{{{block "meta"}}}
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
<link rel="apple-touch-icon" href="{{asset "apple-touch-icon.png"}}">
<link rel="stylesheet" type="text/css" href="{{asset "js/main.css"}}"/>
<link rel="stylesheet" type="text/css" href="{{asset "css/light.css"}}"/>
<link rel="stylesheet" type="text/css" href="{{asset "css/dark.css"}}" media="(prefers-color-scheme: dark)"/>
{{!-- shiki source code syntax highlighting --}}
<script defer src="https://unpkg.com/shiki@0.10.1/dist/index.unpkg.iife.js"></script>
{{!-- This script load presisted the color scheme --}}
<script src="{{asset "js/color-scheme.js"}}"></script>
<link rel="stylesheet" type="text/css" href="{{asset "css/gapstyle.css"}}"/>
{{{block "styles"}}}
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div id="app" class="site-wrapper">
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
{{!-- The footer at the very bottom of the screen --}}
<footer class="site-footer outer">
<div class="site-footer-content inner">
<section class="copyright"><a href="{{@site.url}}">{{@site.title}}</a> © {{date format="YYYY"}} - <a href="https://github.com/gaplotech/just-dev-ghost-theme" target="_blank" rel="noopener">GapStyle Blog Theme</a></section>
<nav class="site-footer-nav">
<a href="{{@site.url}}">{{t "Latest Post"}}</a>
<a href="https://www.github.com/gaplo917" target="_blank" rel="noopener">GitHub</a>
{{#if @site.facebook}}
<a href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener">Facebook</a>{{/if}}
{{#if @site.twitter}}<a href="{{twitter_url @site.twitter}}" target="_blank" rel="noopener">Twitter</a>{{/if}}
</nav>
</div>
</footer>
</div>
{{{block "beforeScripts"}}}
<script src="{{asset "js/main.js"}}"></script>
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
{{ghost_foot}}
</body>
</html>