Skip to content

Commit e15b3c5

Browse files
committed
Add campaign page
1 parent 5a21e84 commit e15b3c5

18 files changed

+1023
-2
lines changed

_includes/head.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
<title>{{ page.title }}</title>
77

8-
{% if page.custom_style != "energy" %}
8+
{% if page.custom_style == "globalot" %}
9+
<link href="{{ site.url }}/vendor/splide/splide-core.min.css" rel="stylesheet">
10+
{% elsif page.custom_style != "energy" %}
911
<!-- Bootstrap core CSS -->
1012
<link href="{{ site.url }}/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
1113

@@ -17,7 +19,7 @@
1719
{% endif %}
1820

1921
<!-- Custom fonts for this template -->
20-
{% if page.custom_style == "energy" %}
22+
{% if page.custom_style == "energy" or page.custom_style == "globalot" %}
2123
<link href="{{ site.url }}/css/roboto.css" rel="stylesheet">
2224
{% else %}
2325
<link href="{{ site.url }}/css/latoweb.css" rel="stylesheet">
@@ -29,6 +31,8 @@
2931
<link href="{{ site.url }}/css/energy.css" rel="stylesheet">
3032
{% elsif page.custom_style == "partners" %}
3133
<link href="{{ site.url }}/css/partners.css" rel="stylesheet">
34+
{% elsif page.custom_style == "globalot" %}
35+
<link href="{{ site.url }}/css/globalot.css" rel="stylesheet">
3236
{% else %}
3337
<link href="{{ site.url }}/css/default.css" rel="stylesheet">
3438
{% endif %}

_includes/scripts.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{% if page.custom_style == "energy" %}
22
<script src="{{ site.url }}/js/energy.js"></script>
3+
{% elsif page.custom_style == "globalot" %}
4+
<script src="{{ site.url }}/vendor/splide/splide.min.js"></script>
5+
<script src="{{ site.url }}/js/globalot.js"></script>
36
{% else %}
47
<script src="{{ site.url }}/vendor/jquery/jquery.min.js"></script>
58
<script src="{{ site.url }}/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

_layouts/globalot.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body>
5+
{{ content }}
6+
{% include scripts.html %}
7+
</body>
8+
</html>

0 commit comments

Comments
 (0)