forked from gluesys/tech-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (161 loc) · 5.88 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
layout: main
---
<!-- flexslider -->
<link rel="stylesheet" href="/public/flexslider.css" type="text/css">
<style>
@font-face {
font-family: 'flexslider-icon';
src: url(/public/fonts/flexslider-icon.eot);
src: url(/public/fonts/flexslider-icon.woff) format('woff'),
url(/public/fonts/flexslider-icon.ttf) format('truetype');
}
</style>
<div class="home" style="background-color: #F1F1F1; position: relative">
<div class="navigation" role="banner" style="position: absolute; z-index: 9999; width: 100%; box-shadow: none; background: none;">
<div class="navigation-wrapper">
<a href="{{ site.baseurl }}/" class="logo">
{% if site.logo %}
<img src="{{ site.logo | prepend: site.baseurl }}" alt="{{ site.title }}">
{% else %}
<span>{{ site.title }}</span>
{% endif %}
</a>
<a href="javascript:void(0)" class="navigation-menu-button" id="js-mobile-menu">
<i class="fa fa-bars"></i>
</a>
<nav role="navigation">
<ul id="js-navigation-menu" class="navigation-menu show">
{% assign sorted_pages = site.pages | sort:"order" %}
{% for page in sorted_pages %}
{% if page.title and page.main_nav != false %}
<li class="nav-link"><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</ul>
</nav>
</div>
</div>
<div class="flexslider">
<ul class="slides">
<li>
<img src="/public/slide01.jpg" />
</li>
</ul>
</div>
<div class="sub-title-out">
<div class="sub-title-in">
<div style="display: inline-block; width: 380px; text-align: center;">
<div><img src="/assets/img_info.png"></div>
<div class="sub-title-menu-conetnt">
<div class="sub-title">지식 공유</div>
<div>스토리지에 대한 기본 개념,</div>
<div>기술에 대한 다양한 정보와 지식을</div>
<div>공유합니다.</div>
</div>
<div>
<div class="sub-title-menu-button" onclick="location.href='/blog'">바로가기</div>
</div>
</div>
<div style="display: inline-block; width: 380px; text-align: center;">
<div><img src="/assets/img_issue.png"></div>
<div class="sub-title-menu-conetnt">
<div class="sub-title">이슈 사례</div>
<div>스토리지 기술 개발 및 구축 사례,</div>
<div>트러블 슈팅 과정에서 얻은 기술과</div>
<div>노하우를 아낌없이 공유합니다.</div>
</div>
<div>
<div class="sub-title-menu-button" onclick="location.href='/blog'">바로가기</div>
</div>
</div>
<div style="display: inline-block; width: 380px; text-align: center;">
<div><img src="/assets/img_test.png"></div>
<div class="sub-title-menu-conetnt">
<div class="sub-title">테스트 자료</div>
<div>사내, 실 업무 환경, 공인 테스트 등</div>
<div>다양한 환경에서 진행된</div>
<div>테스트 결과를 공유합니다.</div>
</div>
<div>
<div class="sub-title-menu-button" onclick="location.href='/blog'">바로가기</div>
</div>
</div>
</div>
</div>
<div class="wrapper-index">
<div style="text-align: center; height: 138px; padding-top: 50px;">
<div class="main-content-title">최근 게시물</div></div>
<div class="post-list">
{% for post in paginator.posts limit:3 %}
<div style="padding-bottom: 30px; height: 270px;">
<div style="float: left; width: 240px; background-color: #fff;">
<img src="{{ post.main }}" style="width: 240px; height: 240px">
</div>
<div style="float: left; width: 960px; height: 180px">
<div class="main-conetnt">
<div class="main-conetnt-list-title"><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></div>
<section class="post-excerpt" itemprop="description">
<p>{{ post.content | strip_html | truncatewords: 40 }}</p>
</section>
<section class="post-meta">
<div class="post-date">{{ post.date | date: "%B %-d, %Y" }}</div>
<div class="post-categories">
{% if post.categories.size > 0 %}in {% for cat in post.categories %}
{% if site.jekyll-archives %}
<a href="{{ site.baseurl }}/{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
{% else %}
<a href="{{ site.baseurl }}/posts/#{{ cat }}">{{ cat | capitalize }}</a>{% if forloop.last == false %}, {% endif %}
{% endif %}
{% endfor %}{% endif %}
</div>
</section>
</div>
</div>
</div>
{% endfor %}
</div>
<!--
<nav class="pagination" role="navigation">
<p>
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="newer-posts" href="{% if site.baseurl %}{{ site.baseurl }}{% endif %}/">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<a class="newer-posts" href="{{ site.baseurl }}/page{{paginator.previous_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
</a>
{% endif %}
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="newer-posts" href="{{ site.baseurl }}/page{{paginator.next_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
</p>
</nav>
-->
</div>
</div>