-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·97 lines (93 loc) · 4.29 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
---
layout: compress
---
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.title }}</title>
<meta name="description" content="{{ site.description }}"/>
<meta name="keywords" content="{{ site.keywords }}"/>
<meta name="author" content="{{ site.author }}"/>
<link rel="shortcut icon" href="{{ site.baseurl }}/img/favicon.ico">
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/normalize.css"/>
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/fonts/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/body.css"/>
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/card.css"/>
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/pattern.css"/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110549153-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-110549153-2');
</script>
<script>
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
var root = document.getElementsByTagName('html')[0];
root.setAttribute('class', 'ff');
}
</script>
</head>
<body class="demo-1">
<div class="container">
<header class="codrops-header">
<h1>Aimona Studio's Blog<span>make something fun</span></h1>
</header>
<div class="content">
<!-- trianglify pattern container -->
<div class="pattern pattern--hidden"></div>
<!-- cards -->
<div class="wrapper">
{% for post in paginator.posts %}
<div class="card" data-id="{{ post.id }}">
<div class="card__container card__container--closed">
<svg class="card__image" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1920 500"
preserveAspectRatio="xMidYMid slice">
<defs>
<clipPath id="{{ post.id }}-clip-path">
<circle class="clip" cx="960" cy="250" r="992"></circle>
</clipPath>
</defs>
<image clip-path="url(#{{ post.id }}-clip-path)" width="1920" height="1200"
xlink:href="{{ site.baseurl }}/{{ post.image }}"></image>
</svg>
<div class="card__content">
<i class="card__btn-close fa fa-times"></i>
<div class="card__caption">
<h2 class="card__title">{{ post.title }}</h2>
<p class="card__subtitle">{{ post.subtitle }}</p>
</div>
<div class="card__copy">
<div class="meta">
<img class="meta__avatar" src="{{ site.baseurl }}/{{ post.avatar }}"/>
<span class="meta__author">{{ post.author }}</span>
<span class="meta__date">{{ post.date | date: "%Y-%m-%d" }}</span>
</div>
{{ post.content }}
</div>
</div>
</div>
</div>
{% endfor %}
<!-- /cards -->
{% if paginator.previous_page or paginator.next_page %}
{% include pagination.html %}
{% endif %}
</div>
</div>
<!-- /container -->
</div>
<!-- JS -->
<script src="{{ site.baseurl }}/js/vendors/trianglify.min.js"></script>
<script src="{{ site.baseurl }}/js/vendors/TweenMax.min.js"></script>
<script src="{{ site.baseurl }}/js/vendors/ScrollToPlugin.min.js"></script>
<script src="{{ site.baseurl }}/js/vendors/cash.min.js"></script>
<script src="{{ site.baseurl }}/js/Card-circle.js"></script>
<script src="{{ site.baseurl }}/js/modern-blog.js"></script>
</body>
</html>