-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.hbs
82 lines (68 loc) · 2.98 KB
/
page.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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!-- The big featured header, it uses blog cover image as a BG if available --}}
<header class="site-header outer border-primary-top">
<div class="inner-header">
<nav class="site-nav">
<div class="site-nav-left">
<a class="site-nav-logo" href="{{@site.url}}" aria-label="{{@site.title}}">
<img src="{{@site.logo}}">
</a>
</div>
<div class="inner-header">
<div class="category-holder">
<ul class="nav category-nav pull-left">
<li class="nav-tag"><a href="/tag/exclusives/" title="Exclusive">Exclusive</a></li>
<li class="nav-tag"><a href="/tag/news/" title="News">News</a></li>
<li class="nav-tag"><a href="/tag/devices/" title="Devices">Devices</a></li>
<li class="nav-tag"><a href="/tag/how-to/" title="How-To">How-To</a></li>
<li class="nav-tag"><a href="/tag/technology/" title="Technology">Technology</a></li>
<li class="nav-tag"><a href="/tag/apps/" title="Apps & Software">Apps & Software</a></li>
<li>
<a href="/categories">
<span style="margin-left:0.5rem;">More...</span>
</a>
</li>
</ul>
<a class="search-btn no-decoration pull-right" href="#searchinghost-easy">
<span style="color: white;">
<i class="fas fa-search fa-lg"></i>
</span>
</a>
<a class="category-search no-decoration category-xs" href="/categories">
<span style="margin-right:1.5rem;"><i class="fas fa-bars fa-2x"></i></span>
</a>
</div>
</div>
</nav>
</div>
</header>
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<main id="site-main" class="site-main outer">
<div class="inner">
<article class="post-full">
<header class="post-full-header">
<h1 class="site-title">{{title}}</h1>
</header>
{{#if feature_image}}
{{/if}}
<section class="post-full-content">
<div class="post-content">
{{content}}
</div>
</section>
</article>
</div>
</main>
{{/post}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}}
{{#contentFor "scripts"}}
<script>
$(function () {
var $postContent = $(".post-full-content");
$postContent.fitVids();
});
</script>
{{/contentFor}}