This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
blog.hbs
59 lines (50 loc) · 2.12 KB
/
blog.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
{{!< default }}
{{#if @site.cover_image}}
<style type="text/css">
.cover {
background-image: url({{img_url @site.cover_image size="s"}});
background-image: -webkit-image-set(url({{img_url @site.cover_image size="s"}}) 1x,
url({{img_url @site.cover_image size="l"}}) 2x);
background-image: image-set(url({{img_url @site.cover_image size="s"}}) 1x,
url({{img_url @site.cover_image size="l"}}) 2x);
}
@media(min-width: 768px) {
.cover {
background-image: url({{img_url @site.cover_image size="l"}});
background-image: -webkit-image-set(url({{img_url @site.cover_image size="l"}}) 1x,
url({{img_url @site.cover_image size="xxl"}}) 2x);
background-image: image-set(url({{img_url @site.cover_image size="l"}}) 1x,
url({{img_url @site.cover_image size="xxl"}}) 2x);
}
}
@media(min-width: 1024px) {
.cover {
background-image: url({{img_url @site.cover_image size="xl"}});
background-image: -webkit-image-set(url({{img_url @site.cover_image size="xl"}}) 1x,
url({{img_url @site.cover_image size="3xl"}}) 2x);
background-image: image-set(url({{img_url @site.cover_image size="xl"}}) 1x,
url({{img_url @site.cover_image size="3xl"}}) 2x);
}
}
@media(min-width: 1440px) {
.cover {
background-image: url({{img_url @site.cover_image size="3xl"}});
}
}
</style>
{{/if}}
<section class="cover {{#if @site.cover_image}}isCoverEnable {{else}}isCoverDisabled{{/if}}">
{{> "cover/cover" title="Blog" description="Aprende, crece y mejora tus habilidades. Los artículos están enfocados en que logres entender y profundizar sobre un tema en particular." }}
</section>
<main id="site-main" class="site-main" role="main">
<section class="site-main-container u-content-center">
<div class="site-main-wrapper">
{{> "posts/post-card"}}
</div>
</section>
</main>
{{#if @labs.members}}
<section class="subscription">
{{> subscription/subscription }}
</section>
{{/if}}