-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
78 lines (65 loc) · 2.57 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
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% if site.hastag %} {{site.hashtag}} | {% endif %} {% if site.name %} {{site.name}} | {% endif %} {{ site.utc | date: "%B %-d, %Y" }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{site.description}}">
<meta name="author" content="">
<meta property="og:image" content="{{site.logo}}"/>
<meta property="og:title" content="{{site.hashtag}} | {{ site.utc | date: "%B %-d, %Y" }}"/>
<meta property="og:url" content="{{site.url}}"/>
<meta property="og:type" content="website"/>
<!-- Font from google -->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
<!-- bootstrap -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<!-- countdown css -->
<link rel="stylesheet" href="assets/css/jquery.countdown.css">
<!-- custom styles -->
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="row">
<div class="col-sm-12 text-center">
<h1 class="background-highlight">{{site.name}}</h1>
<h2 class="background-highlight">countdown</h2>
<a href="{{site.externalLink}}"><img src="{{site.logo}}" style="width:40%"/></a>
</div>
</div> <!-- /row -->
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center"><div id="defaultCountdown"></div></div>
</div> <!-- /row -->
<div class="row">
<div class="col-sm-12 text-center">
<h2 class="background-highlight">{{ site.utc | date: "%A %B %-d, %Y" }}</h2>
</div>
</div>
{% if site.facebookEventLink %}
<div class="row">
<div class="col-sm-12 text-center">
<a href="{{site.facebookEventLink}}">RSVP on facebook</a>
</div>
</div>
{% endif %}
<!-- javascript includes
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jquery -->
<script type="text/javascript" src="assets/js/jquery-1.11.3.min.js"></script>
<!-- countdown code -->
<script src="assets/js/jquery.countdown.min.js"></script>
<!-- start the countdown when the page loads -->
<script type="text/javascript">
$(function () {
var holiday = new Date();
holiday = new Date("{{site.utc}}");
$('#defaultCountdown').countdown({until: holiday});
$('#year').text(holiday.getFullYear());
});
</script>
<!-- end of javascript includes -->
</body>
</html>