-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (55 loc) · 2.2 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
---
layout: default
---
<style type="text/css">
nav {
background-color: #3f51b5;
box-shadow: none;
color: #fff; }
nav a { color: #fff; }
nav ul a { color: #fff; }
nav .brand-logo { color: #fff; }
</style>
{% capture url %}{{ site.url | append: "$" | replace: "/$", "" | replace: "$", "" }}{% endcapture %}
<div class="section no-pad indigo">
<div class="valign-wrapper" style="height: 380px;">
<div class="container">
<h1 class="row center white-text logo-font truncate">{{ site.title }}</h1>
<div class="row center">
<h5 class="col s12 white-text logo-font truncate">{{ site.description }}</h5>
</div>
<div class="row center">
<a class="btn-flat btn-large waves-effect waves-light indigo logo-font white-text" href="{{ url }}/notis/" style="border: 1px #fff solid; margin-right: 4px;">Notify</a>
<a class="btn-flat btn-large waves-effect waves-light indigo logo-font white-text" href="{{ url }}/blog/" style="border: 1px #fff solid; margin-left: 4px;">Blog</a>
<div style="margin-top: 32px;">
<a href="#latest-images"><i class="material-icons white-text" style="font-size: 36px;">keyboard_arrow_down</i></a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="section">
<div class="row">
<div class="col s12">
<h4 class="indigo-text truncate" id="latest-images">Latest Images</h4>
</div>
{% for post in site.posts %}
{% if post.image.src %}
<div class="col s12 m6">
<article>
<div class="card">
<div class="card-image">
<img class="materialboxed" data-caption="© {{ post.image.copyright }}" src="{{ post.image.src }}">
<span class="card-title truncate" style="background-color: rgba(0,0,0,.5); cursor: pointer; padding: 8px 24px; width: 100%;" onclick="window.location='{{ url }}{{ post.url }}'">
{{ post.title }}<time datetime="{{ post.date }}" style="font-size: 16px;"> | {{ post.date | date_to_string }}</time>
</span>
</div>
</div>
</article>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>