-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (40 loc) · 1.47 KB
/
index.html
File metadata and controls
44 lines (40 loc) · 1.47 KB
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
---
layout: layout
title: Another Game Development Blog
---
<div class="content">
<header>
<h1>{{ page.title }}</h1>
</header>
<input style="" type="text" id="myInput" onkeyup="search()" placeholder="Search...">
<ul id="myUL" style="padding-left: 0;">
{% for post in site.posts %}
{% unless post.tags contains "WIP" %}
<li style="text-align:left;list-style-type: none;margin-bottom: 1em;" id={{post.url}}>
<div style="display: flex; align-items: baseline;">
<h4 style="flex-grow: 4; margin: 0px 40px 0px 0px; flex-basis: 0;"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h4>
<h5>{{ post.date | date: "%e %B %Y" }}</h5><br>
</div>
<h6>{% for tag in post.tags %}{{tag}}{% unless forloop.last %}, {% endunless %}{% endfor %}</h6>
</li>
{% endunless %}
{% endfor %}
</ul>
<h2>Contact information</h2>
Author: Miguel Edo<br>
Email: <a href="mailto:miego.cvcv@gmail.com"> miego.cvcv@gmail.com</a>.<br>
</div>
<script>
window.documents =
[{% for post in site.posts %}
{
"title": "{{ post.title | xml_escape }}",
"tags": [{% for tag in post.tags %}"{{tag}}"{% unless forloop.last %}, {% endunless %}{% endfor %}],
"date": "{{ post.date | xml_escape }}",
"url": "{{ post.url | xml_escape }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
];
</script>
<script src="./js/lunr.js"></script>
<script src="./js/search.js"></script>