-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
executable file
·97 lines (90 loc) · 4.33 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: frontpage
title: 3D geoinformation at TU Delft
---
<div class="jumbotron">
<div class="container" style="max-width: 750px;">
<img src="{{ "/logo/logo-url-white.svg" | prepend: site.baseurl }}" />
</div>
</div>
<!-- alerts for new job position or others -->
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
{% for alert in site.data.alerts %}
<div class="alert alert-blue text-center" role="alert">
<b>{{ alert.type }}</b> {{ alert.description }}
</div>
{% endfor %}
</div>
<br />
</div>
<div class="row">
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Latest news <a href="{{ "/feed.xml" | prepend: site.baseurl }}"><i class="fas fa-rss"></i></a></h4>
</div>
<div class="panel-body">
<div class="firstpost">
<a href="{{ site.posts[0].url | prepend: site.baseurl }}">{{ site.posts[0].title }}</a>
<br><span>{{ site.posts[0].date | date_to_string }}</span>
<br />{{ site.posts[0].excerpt | strip_html | truncatewords:100 }}
<br /><a href="{{ site.posts[0].url | prepend: site.baseurl }}">read more</a>
<hr />
</div>
<ul class="posts">
{% for post in site.posts offset:1 limit:5 %}
<li><span>{{ post.date | date_to_string }}</span> <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
<a href="{{ site.baseurl }}/news">All news</a>
</div>
</div>
</div>
<div class="col-sm-8">
<div id="frontimggrid" class="row">
<!-- merry xmas -->
<!-- <img class="img-responsive" src="{{ "/img/2023/merryxmas.jpg" | prepend: site.baseurl }}"/> -->
<script type="text/javascript">
var randomIndexUsed = [];
var counter = 0;
var numberOfImages = 9;
while (counter < numberOfImages) {
var randomIndex;
var coverLink;
var coverImage;
randomIndex = Math.floor(Math.random() * coverLinks.length);
if (randomIndexUsed.indexOf(randomIndex) == "-1") {
coverLink = coverLinks[randomIndex];
coverImage = coverImages[randomIndex];
document.write('<div class="col-sm-4 col-xs-4">');
document.write('<a href="' + coverLink + '"><img class="img-responsive" style="padding-top: 15px; padding-bottom: 15px;" src="' + coverImage + '"></a>');
document.write('</div>');
randomIndexUsed.push(randomIndex);
counter++;
}
}
</script>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-sm-2 col-xs-4"><a href="https://erc.europa.eu"><img class="img-responsive" src="{{ "/img/partners/erc.svg" | prepend: site.baseurl }}" alt="ERC logo" style="height: 100px; margin: auto;" /></a></div>
<div class="col-sm-2 col-xs-4"><a href="https://www.nwo.nl"><img class="img-responsive" src="{{ "/img/partners/nwo.svg" | prepend: site.baseurl }}" alt="NWO logo" style="height: 100px; margin: auto;" /></a></div>
<div class="col-sm-2 col-xs-4"><a href="https://www.ams-institute.org"><img class="img-responsive" src="{{ "/img/partners/ams.svg" | prepend: site.baseurl }}" alt="AMS logo" style="height: 100px; margin: auto;" /></a></div>
<div class="col-sm-2 col-xs-4"><a href="https://www.kadaster.nl"><img class="img-responsive" src="{{ "/img/partners/kadaster.svg" | prepend: site.baseurl }}" alt="Kadaster logo" style="height: 100px; margin: auto;" /></a></div>
<div class="col-sm-2 col-xs-4"><a href="https://www.rijkswaterstaat.nl"><img class="img-responsive" src="{{ "/img/partners/rws.svg" | prepend: site.baseurl }}" alt="RWS logo" style="height: 100px; margin: auto;" /></a></div>
<div class="col-sm-2 col-xs-4"><a href="https://www.cgal.org"><img class="img-responsive" src="{{ "/img/partners/cgal.png" | prepend: site.baseurl }}" alt="CGAL logo" style="height: 100px; margin: auto;" /></a></div>
</div>
</div>
</div>
</div>
</div>
<a rel="me" href="https://social.edu.nl/@tudelft3d"></a>
</div>