-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
63 lines (61 loc) · 2.42 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
---
layout: default
title: index
permalink: /
---
<div class="navbar-wrapper">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#page-top" id="i18_title"><span data-i18n="website.title">{{ site.title }}</span></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right" id="i18_navbar">
{% for section in site.data.landing %}
{% assign counter = '0' %}
{% if section.name == 'Upcoming Events' %}
{% for obj in site.data.index.upcoming-events %}
{% assign counter = forloop.length %}
{% endfor %}
{% else %}
{% assign counter = '1' %}
{% endif %}
{% if counter != '0' %}
<li>
{% if section.page %}
<a class="page-scroll" href="{{ section.page}} ">
{% else %}
<a class="page-scroll" href="{{ section.id | prepend: '#'}} ">
{% endif %}
<span data-i18n="{{ section.i18n }}">{{ section.name }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% for language in site.data.index.language %}
<li>
<a id="set_lang_{{ language.locale }}" class="btn btn-sm set_{{ language.locale }}" data-locale="{{ language.locale }}">
<img src="{{ language.flag | prepend: site.baseurl }}" height="16" width="16">
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</nav>
</div>
{% if site.index_carousel %}
{% include carousel.html %}
{% endif %}
{% for section in site.data.landing %}
{% assign loopindex = forloop.index | modulo: 2 %}
<section id="{{ section.id }}" class="features {% if loopindex != 1 %} gray-section {% endif %} {{ section.css }}" style="margin-top: 0;">
{% include sections/{{section.tpl}} %}
</section>
{% endfor %}