forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
34 lines (25 loc) · 1.13 KB
/
tag.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
{{!< default}}
{{#tag}}
{{!-- custom Styles For tag <body> --}}
{{#contentFor "mapache_class_body"}}is-tag {{^is "paged"}}is-pagination{{/is}} {{#if feature_image}}has-cover is-transparency{{/if}}{{/contentFor}}
<section class="tag u-relative u-textAlignCenter u-flexCenter u-flexColumn u-paddingBottom30 u-paddingTop30 {{#if feature_image}}u-marginBottom30 u-textColorWhite has--image u-boxShadowBottom has-cover-padding{{/if}}">
{{!-- Cover Background --}}
{{#if feature_image}}
<div class="u-absolute0 u-backgroundDark"></div>
<div class="cover-opacity lazy-load-image u-absolute0 u-bgCover zindex2 u-block" data-src="{{feature_image}}"></div>
{{/if}}
<div class="u-maxWidth1040 u-container zindex2">
<h1 class="tag-title animated bounceIn u-fontSize36 u-md-fontSizeBase">{{name}}</h1>
{{#if description}}<p class="tag-description u-marginTop30">{{description}}</p>{{/if}}
</div>
</section>
{{/tag}}
{{!-- Ad --}}
{{> "ad/ad-author-tag-top"}}
{{!-- Post Grid --}}
<section class="extreme-container">
{{!-- lates post --}}
{{> "loop"}}
</section>
{{!-- Ad --}}
{{> "ad/ad-author-tag-footer"}}