-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
executable file
·90 lines (85 loc) · 3.18 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
---
---
<!DOCTYPE html>
<html lang="ja" data-page-type="index">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self';
script-src 'self' 'unsafe-inline' 'unsafe-eval' code.jquery.com www.googletagmanager.com fonts.googleapis.com fonts.gstatic.com www.google-analytics.com;
style-src 'self' 'unsafe-inline' fonts.googleapis.com fonts.gstatic.com;
font-src 'self' fonts.googleapis.com fonts.gstatic.com;">
<title>DBCLS | ライフサイエンス統合データベースセンター</title>
<link rel="stylesheet" href="style/swiper-bundle.min.css">
<link rel="stylesheet" href="style/default.css">
</head>
<body>
{% include header.html %}
<div class="main-image__wrapper">
<div class="main-image__contents" data-slides-per-view="{{site.data.carousel.slides_per_view}}"
data-duration="{{site.data.carousel.duration}}">
<div class="swiper main-carousel">
<div class="swiper-wrapper main">
{% for item in site.data.carousel.items limit:site.data.carousel.slides_per_view %}
<div class=" swiper-slide">
<a href="{{item.url.ja}}" target="_blank"><img draggable="false" class="top-image" src="{{item.image.ja}}"
alt="{{item.title.ja}}"></a>
<img draggable="false" class="reflection" src="{{item.image.ja}}" alt="{{item.title.ja}}">
<div class="details">
{% if item.logo != nil %}
<a href="{{item.url.ja}}" target="_blank">
<img draggable="false" class="details-logo" src="{{item.logo}}" alt="{{item.title.ja}}">
</a>
{% endif %}
<h2>{{item.title.ja}}</h2>
<p>{{item.description.ja}}
</p>
</div>
</div>
{% endfor %}
</div>
</div>
<div thumbsSlider="" class="swiper thumbnail-carousel">
<div class="swiper-button-prev"></div>
<div class="swiper-wrapper">
{% for item in site.data.carousel.items limit:site.data.carousel.slides_per_view %}
<div class="swiper-slide"><img draggable="false" src="{{item.image.ja}}" alt="{{item.title.ja}}">
</div>
{% endfor %}
</div>
<div class="swiper-button-next"></div>
</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, 300 | 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/swiper-bundle.min.js"></script>
<script src="script/default.js"></script>
<script src="script/index.js"></script>
</body>
</html>