-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (50 loc) · 1.6 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
---
layout: default
title: home
ref: home
lang: en
---
<div class="home home--all">
<div class="page-heading">
</div>
<div class="row projects">
{% for post in site.posts %}
{% if post.lang == "en" %}
<div class="col-sm-4">
<a href="{{ post.url }}">
<div class="{{ post.title | replace:' ','' | append: 'parent'}} col-inner" style="
background-image: url({{ "/images/" | append:post.title | downcase | replace:' ','' | append:'1low.jpg' | prepend: site.baseurl }});">
<div class="hovers {{ post.categories }} {{ post.title | replace:' ',''}}">
</div>
</div>
</a>
</div>
{% endif %}
{% endfor %}
<div class="col-sm-4">
<a href="/about">
<div class="aboutparent col-inner" style="
background-image: url(/images/portrait4.jpeg);">
<div class="hovers artdesign about">
</div>
</div>
</a>
</div>
<style type="text/css">
{% for post in site.posts %}
{% if post.lang == "en" %}
{% assign title = post.title | replace:' ','' %}
.{{ title }}:before {
content: "{{ post.title }}";
text-decoration: none !important;
border-bottom: none;
}
.{{ title }}:after {
content: "{{ post.info }}";
text-decoration: none !important;
}
{% endif %}
{% endfor %}
</style>
</div>
</div>