forked from OpenMage/OpenMage.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
111 lines (101 loc) · 4.79 KB
/
blog.html
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
layout: page-redesign
title: Blog
title_thin: OpenMage
classes: page-blog
---
<div id="js-blog-page" class="blog-page">
<div class="blog blog--last">
<div class="container">
<div class="row">
<h2 class="blog__title col">
Last posts
</h2>
</div>
<div class="blog__items row">
{% assign posts=site.posts | where:"lang", "en" %}
{% for post in posts %}
{% if post.show_in_blog_page_last_posts_section %}
<div class="blog__item blog__item--hide col-sm-10 offset-sm-1 col-md-6 offset-md-0 col-xl-3">
{% if post.thumbnail %}
<a class="blog__item-link" href="{{ site.baseurl }}{{ post.url }}">
<div class="blog__item-wrapper">
<img class="blog__item-image" src="{{ post.thumbnail }}" alt="{{ post.title }}" />
</div>
<img class="blog__item-dots" src="/assets/svg/dots-dark.svg" alt="Dots" />
</a>
{% endif %}
{% if post.title %}
<a class="blog__item-title" href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
{% endif %}
{% if post.category %}
<div class="blog__item-info">
{{ post.category }}
</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
<div class="row">
<div class="blog__show-more blog__show-more--hide col-12">
<div id="js-blog__show-more-link" class="blog__show-more-link">Load more</div>
</div>
</div>
</div>
</div>
<div class="blog blog--pinned">
<div class="container">
<div class="row">
<h2 class="blog__title col">
Pinned announcements
</h2>
</div>
<div class="blog__items row">
{% assign posts=site.posts | where:"lang", "en" %}
{% for post in posts %}
{% if post.show_in_blog_page_pinned_posts_section %}
<div class="blog__item col-sm-10 offset-sm-1 col-md-6 offset-md-0 col-xl-3">
{% if post.thumbnail %}
<a class="blog__item-link" href="{{ site.baseurl }}{{ post.url }}">
<div class="blog__item-wrapper">
<img class="blog__item-image" src="{{ post.thumbnail }}" alt="{{ post.title }}" />
</div>
<img class="blog__item-dots" src="/assets/svg/dots-dark.svg" alt="Dots" />
</a>
{% endif %}
{% if post.title %}
<a class="blog__item-title" href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
{% endif %}
{% if post.category %}
<div class="blog__item-info">
{{ post.category }}
</div>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class="newsletter mt-3">
<div class="newsletter__bg bg-dark-gradient"></div>
<div class="container">
<div class="row">
<div class="col-lg-4 text-center">
<img class="newsletter__image" src="/assets/images/newsletter.png" alt="Newsletter">
</div>
<div class="col-lg-8 mt-2 mt-lg-5 mb-4" id="newsletter">
<h2 class="newsletter__title title">Want OpenMage in your inbox?</h2>
<p class="newsletter__subtitle">Be the first to know about new paths fresh bug fixes, and co-op offers. We’re a good penpal. Promise.</p>
<iframe class="mj-w-res-iframe" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://app.mailjet.com/widget/iframe/4iX1/iBI" width="100%"></iframe>
<script type="text/javascript" src="https://app.mailjet.com/statics/js/iframeResizer.min.js"></script>
</div>
</div>
</div>
</div>
</div>