forked from dbcls/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·70 lines (68 loc) · 1.85 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
---
---
<!DOCTYPE html>
<html lang="ja" data-page-type="index">
<head>
<meta charset="UTF-8">
<title>DBCLS | ライフサイエンス統合データベースセンター</title>
<link rel="stylesheet" href="style/default.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
</head>
<body>
{% include header.html %}
<div class="main-image__wrapper">
<div class="main-image__contents">
<div class="active">
<img src="img/top_assets/main0.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main1.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main2.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main4.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main5.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main7.jpg" alt="">
</div>
<div>
<img src="img/top_assets/main8.jpg" alt="">
</div>
</div>
</div>
<div class="top__news-section">
<div class="main__contents-top-news">
<h2 class="page-title">News</h2>
<ul class="news__individual-wrapper">
{% for post in site.categories.ja limit:5 %}
<li class='post__individual'>
<div class="post__date">
{{post.date | date: '%Y. %m. %d'}}
</div>
<div class="post__main post__main-top">
<a href="{{post.url | prepend: site.baseurl}}" class="post__title">{{post.title}}</a>
{% assign beginning = post.content | slice: 0, 150 | strip_html%}
<p class='post__desc-beginning'>{{beginning | slice: 0, 50}}…</p>
<div class="post__sub-info">
<div class="post-tags">
{% include post_meta.html %}
</div>
</div>
</div>
</li>
{% endfor %}
</ul>
<div class="btn-box__top">
<a href="news.html" class="more_btn page_btn">more</a>
</div>
</div>
</div>
{% include footer.html %}
<script src="script/default-min.js"></script>
</body>
</html>