forked from roryg/ghostwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
97 lines (77 loc) · 3.93 KB
/
default.hbs
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
{{! Document Settings }}
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
{{! Page Meta }}
<title>{{ meta_title }}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{! Styles }}
<link rel="stylesheet" type="text/css" href="{{asset "css/style.css"}}" />
<link href='//fonts.googleapis.com/css?family=Dosis:400,600|Open+Sans:300italic,400italic,300,600,700,400&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
{{! Ghost outputs important style and meta data with this tag }}
{{ ghost_head }}
</head>
<body class="{{ body_class }}">
<div id="wrapper" {{#unless post }}class="main"{{/unless}}>
<header class="site-header">
<div class="site-title-wrapper">
{{#if post.feature_image }}
<a class="site-logo js-ajax-link" title="{{ @blog.title }}" href="{{ @blog.url }}"><figure class="tint"><div style="background-image: url('{{ img_url post.feature_image }}')"></div></figure></a>
{{/if}}
<div class="header-menu-content">
{{ navigation }}
</div>
{{#if post }}
{{#post}}
<header class="post-header">
<div class="post-header-wrapper">
<div>
<h1 class="post-title">{{title}}</h1>
<p class="post-date">Opublikowano: <time datetime="{{ published_at }}">{{ date format="LL" }}</time></p>
</div>
</div>
</header>
{{/post}}
{{/if}}
</header>
<div id="ajax-container">
{{{ body }}}
</div>
</div>
<footer class="footer">
<div class="jump-top-wrapper button-jump-top">
<div>
<a class=" js-jump-top" href="#"><i class="fa fa-angle-up"></i></a>
</div>
</div>
<div class="container">
<h3 class="site-logo"><a title="{{ @blog.title }}" href="{{ @blog.url }}">A Konrad napisał</a></h3>
<ul class="menu">
<li><a class="icon" title="Facebook" href="{{ facebook_url }}"><i class="fa fa-facebook"></i></a></li>
<li><a class="icon" title="Twitter" href="{{ twitter_url }}"><i class="fa fa-twitter"></i></a></li>
<li><a class="icon" title="Napisz do mnie" href="mailto:konrad@ksieski.pl"><i class="fa fa-envelope"></i></a></li>
<li><a class="icon" title="RSS" href="{{ @blog.url }}/rss"><i class="fa fa-rss-square"></i></a></li>
</ul>
<h4 class="social-text">Podobają Ci się moje wpisy, zdjęcia?<br>Polub mój blog na <a href="{{ facebook_url }}" title="Facebook">Facebooku</a>, napisz do mnie!</h4>
<p class="footer-copyright">
Przy użyciu platformy <a href="//ghost.org">Ghost</a> i motywu <a href="//github.com/xyleen/ghostwriter">Ghostwriter</a> z własnymi poprawkami
<br>
© {{date format="YYYY"}} <a href="//ksieski.pl">ksieski.pl</a>
</p>
</footer>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write('<script type="text/javascript" src="{{asset "js/jquery-1.11.3.min.js"}}"></'+'script>');
}
</script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script type="text/javascript" src="{{asset "js/scripts.js"}}"></script>
</body>
</html>