forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-post-video.hbs
48 lines (42 loc) · 1.9 KB
/
custom-post-video.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
{{!-- Layout --}}
{{!< default }}
{{#contentFor "mapache_class_body"}}is-article is-video share-margin has-cover is-transparency{{/contentFor}}
{{#post}}
<div class="cc-video u-overflowHidden u-relative">
<div class="post-fluid u-container">
<div class="row">
<div class="col s12 l8 cc-video-left">
<div class="cc-video-cont">
{{!-- Video Embed --}}
<div class="cc-video-embed">
<span class="cc-video-close button button--circle button--dark"><svg class="icon"><use xlink:href="#icon-close"></use></svg> </span>
</div>
</div>
</div>
<div class="col s12 l4 cc-video-right">
<div class="cc-video-header">
{{#if primary_tag}}{{#primary_tag}}<div class="post-primary-tag u-marginBottom15"><a href="{{url}}" title="{{name}}" class="u-oblique">{{name}}</a></div>{{/primary_tag}}{{/if}}
<h1 class="cc-video-title u-md-fontSizeLarger u-fontSizeLarger u-lineHeightTight u-textColorWhite">{{title}}</h1>
{{#if custom_excerpt}}<p class="cc-video-excerpt u-fontSizeBase u-paddingTop15">{{custom_excerpt}}</p>{{/if}}
</div>
</div>
</div>
</div>
</div>
{{/post}}
<div class="post js-video-post extreme-container u-marginTop30 u-marginBottom40">
<div class="row">
{{#post}}
<div class="col col-left">
{{!-- Article Author - partials/article/article-author.hbs --}}
{{> "article/article-author"}}
{{!-- Article Content - partials/article/article-body.hbs --}}
{{> "article/article-body"}}
</div>
{{/post}}
{{!-- Sidebar - partials/sidebar.hbs --}}
{{> "sidebar"}}
</div>
</div>
{{!-- Related Articles - partials/article/article-related.hbs --}}
{{> "article/article-related"}}