-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
149 lines (112 loc) · 4.57 KB
/
index.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
---
title: Home
permalink: "{% if pagination.pageNumber > 0 %}page-{{ pagination.pageNumber + 1 }}/{% endif %}index.html"
layout: default
pagination: { data: collections.posts, size: 12, reverse: true }
---
{% set page_n = (pagination.pageNumber + 1) | default(1) %}
{% set pagination_size = 12 %}
{% if page_n == 1 %}
<!-- Home Jumbotron
================================================== -->
<section class="intro full-width">
<div class="wrapintro" style="position:relative; margin-top: 80px;">
<!--<h1><img src="/assets/images/ui/korge-512.png" title="KorGE Game Engine" alt="KorGE Game Engine" style="width:256px;height:256px;" /></h1>-->
<h1 style="color:#400796;padding:0 70px;"><img src="/assets/images/logo-opt.svg" title="KorGE Game Engine" alt="KorGE Game Engine" style="width:1.5em;height:1.5em;" /> KorGE Game Engine</h1>
<h2 class="lead" style="padding:0 70px;">The Kotlin Multiplatform Game Engine You Will Love</h2>
<a href="https://docs.korge.org/getting-started/" target="_blank" class="btn">Get Started</a>
<img src="/assets/images/mascot/512-Gest.webp" style="position:absolute;left:-130px;bottom:-64px;filter:brightness(1.2) contrast(1.1);" />
<img src="/assets/images/mascot/512-Koral.webp" style="position:absolute;right:-160px;bottom:-64px;filter:brightness(1.2) contrast(1.1);" />
</div>
</section>
{% endif %}
<!-- Featured
================================================== -->
<section class="featured-posts">
<!--
<div class="section-title">
<h2><span>Featured</span></h2>
</div>
-->
<div class="row listfeaturedtag">
{% for post in site.posts %}
{% if post.featured %}
{% include "featuredbox.html" %}
{% endif %}
{% endfor %}
</div>
</section>
<!-- Posts Index
================================================== -->
{% if pagination.previous_page %}
{% if pagination.previous_page > 0 %}
<div id="jumptopageof"></div>
{% endif %}
{% endif %}
<section class="recent-posts row">
<div class="col-sm-4 order-last order-md-first">
{% include "sidebar.html" %}
</div>
<div class="col-sm-8">
{% include "debug.html" %}
<div class="section-title">
<h2><span>All Stories</span></h2>
</div>
<!-- Pagination -->
<div class="bottompagination" style="margin-bottom: 2em;">
<span class="navigation" role="navigation">
{% include "pagination.html" %}
</span>
</div>
<div class="masonrygrid row listrecent">
{% for post in pagination.items %}
<!-- begin post -->
{% set author = site.authors[post.author] %}
<div class="col-md-6 grid-item">
<div class="card">
<a href="{{ post.url | absolute_url }}">
<div style="position:relative;overflow:hidden;width:100%;">
<div style="
width:100%;
aspect-ratio: 706/370;
background-image: url('{{ post.data.featured_image | absolute_url }}');
background-size: cover;
background-position: center center;
"
title="{{ post.title }}"
></div>
</div>
</a>
<div class="card-block">
<h2 class="card-title"><a href="{{ post.url | absolute_url }}">{{ post.data.title }}</a></h2>
<h4 class="card-text">{{ post.excerpt }}</h4>
<div class="metafooter">
<div class="wrapfooter">
{% set author = post.data.author %}
{% if author %}
<span class="meta-footer-thumb">
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
</span>
<span class="author-meta">
<span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
{% endif %}
<span class="post-date">{{ post.date | date_short }}</span>
</span>
<span class="post-read-more"><a href="{{ post.url | absolute_url }}" title="Read Story"><i class="fa fa-link"></i></a></span>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<!-- end post -->
{% endfor %}
</div>
<!-- Pagination -->
<div class="bottompagination">
<span class="navigation" role="navigation">
{% include "pagination.html" %}
</span>
</div>
</div>
</section>