52 lines
1.4 KiB
Handlebars
52 lines
1.4 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>
|
|
|
|
{{> common/lib/header/fonts}}
|
|
{{#match @custom.mode "Text-based"}}
|
|
<link rel="stylesheet" href="{{asset "dist/text/main.css"}}">
|
|
{{else}}
|
|
<link rel="stylesheet" href="{{asset "dist/image/main.css"}}">
|
|
{{/match}}
|
|
{{> common/lib/header/prism}}
|
|
|
|
{{ghost_head}}
|
|
</head>
|
|
|
|
<body class="{{body_class}} is-head-{{#match @custom.navigation_layout "Logo on the left"}}left-logo{{else match
|
|
@custom.navigation_layout "Logo in the middle" }}middle-logo{{else}}stacked{{/match}}{{#match
|
|
@custom.title_font "=" "Elegant serif" }} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif" }}
|
|
has-serif-body{{/match}}">
|
|
|
|
<div class="gh-site">
|
|
{{> common/header}}
|
|
|
|
<div class="gh-site-content">
|
|
{{{body}}}
|
|
</div>
|
|
|
|
{{> common/footer}}
|
|
</div>
|
|
|
|
{{> common/pswp}}
|
|
|
|
{{> common/lib/footer/tocbot}}
|
|
{{#match @custom.mode "Text-based"}}
|
|
<script src="{{asset "dist/text/main.min.js"}}"></script>
|
|
{{else}}
|
|
{{> image/lib/footer/jquery}}
|
|
{{> image/lib/footer/masonry}}
|
|
<script src="{{asset "dist/image/main.min.js"}}"></script>
|
|
{{/match}}
|
|
{{> common/lib/footer/prism}}
|
|
|
|
{{ghost_foot}}
|
|
|
|
</body>
|
|
|
|
</html>
|