Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Commit a7407e4

Browse files
author
Bilawal Hameed
committed
Initial template.
0 parents  commit a7407e4

23 files changed

+635
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata
4+
node_modules/
5+
.DS_Store

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.4

Gemfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
ruby "2.2.4"
4+
5+
gem "jekyll"
6+
gem "jekyll-watch"
7+
gem "kramdown"
8+
gem "scss-lint"

Gemfile.lock

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
colorator (1.1.0)
5+
ffi (1.9.14)
6+
forwardable-extended (2.6.0)
7+
jekyll (3.2.1)
8+
colorator (~> 1.0)
9+
jekyll-sass-converter (~> 1.0)
10+
jekyll-watch (~> 1.1)
11+
kramdown (~> 1.3)
12+
liquid (~> 3.0)
13+
mercenary (~> 0.3.3)
14+
pathutil (~> 0.9)
15+
rouge (~> 1.7)
16+
safe_yaml (~> 1.0)
17+
jekyll-sass-converter (1.4.0)
18+
sass (~> 3.4)
19+
jekyll-watch (1.5.0)
20+
listen (~> 3.0, < 3.1)
21+
kramdown (1.12.0)
22+
liquid (3.0.6)
23+
listen (3.0.8)
24+
rb-fsevent (~> 0.9, >= 0.9.4)
25+
rb-inotify (~> 0.9, >= 0.9.7)
26+
mercenary (0.3.6)
27+
pathutil (0.14.0)
28+
forwardable-extended (~> 2.6)
29+
rainbow (2.1.0)
30+
rb-fsevent (0.9.7)
31+
rb-inotify (0.9.7)
32+
ffi (>= 0.5.0)
33+
rouge (1.11.1)
34+
safe_yaml (1.0.4)
35+
sass (3.4.22)
36+
scss-lint (0.38.0)
37+
rainbow (~> 2.0)
38+
sass (~> 3.4.1)
39+
40+
PLATFORMS
41+
ruby
42+
43+
DEPENDENCIES
44+
jekyll
45+
jekyll-watch
46+
kramdown
47+
scss-lint
48+
49+
RUBY VERSION
50+
ruby 2.2.4p230
51+
52+
BUNDLED WITH
53+
1.12.4

_config.yml

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# **************
2+
# -- Settings --
3+
# **************
4+
5+
# Ignore this. This is only if you're hosting this in a subfolder.
6+
baseurl: ""
7+
8+
# If you're using GitHub pages without custom domain, this is "[github_username].github.io". Prepend with "http://"
9+
url: "http://mlh.github.io/mlh-hackathon-boilerplate"
10+
11+
# The ability to use custom themes.
12+
style:
13+
theme: "original"
14+
15+
# This will help you track who's visiting your website.
16+
tracking:
17+
google_analytics: "UA-43729070-14"
18+
19+
# Let people connect & engage with you through social media.
20+
social:
21+
twitter_handle: "MLHacks"
22+
23+
# This is Search Engine Optimization. It'll help your website look better on search.
24+
seo:
25+
title: "MLH Prime | 5/6 August 2016"
26+
description: "Come join us on the 5 & 6th August 2016 for a wonderful hackathon in the New York Area."
27+
image: "https://prime.mlh.io/img/logos/mlh-prime-color.svg"
28+
29+
# Event information.
30+
event:
31+
name: "MLH Prime"
32+
logo: "https://prime.mlh.io/img/logos/mlh-prime-color.svg"
33+
description: "Come hack with 400 hackers in New Jersey this August!"
34+
date: "5 & 6 August 2016"
35+
location: "Holmdel, NJ, United States"
36+
37+
trust_badge:
38+
year: "2017" # year
39+
region: "eu" # na or eu
40+
color: "white" # white, black, grey, red, blue, yellow
41+
42+
hero:
43+
links:
44+
- text: "Apply"
45+
my_mlh:
46+
client_id: "b2cd21334755d96a29663d60e59482faa6fa09829b63f3620ea357a4d63d2800"
47+
redirect_uri: "http://mlh.github.io/mlh-hackathon-boilerplate/success.html"
48+
- text: "Sponsor"
49+
href: "mailto:[email protected]"
50+
51+
about:
52+
description: >
53+
MLH Prime is a series of hackathons that bring together the most dedicated, passionate hackers
54+
from the MLH Hackathon Season.
55+
56+
info:
57+
sections:
58+
- image: "images/image1.png"
59+
title: "LEARN."
60+
description: >
61+
Fingerstache farm-to-table microdosing PBR&B literally before they sold out. Artisan leggings celiac keffiyeh.
62+
- image: "images/image2.png"
63+
title: "BUILD."
64+
description: >
65+
Fingerstache farm-to-table microdosing PBR&B literally before they sold out. Artisan leggings celiac keffiyeh.
66+
- image: "images/image3.png"
67+
title: "SHARE."
68+
description: >
69+
Fingerstache farm-to-table microdosing PBR&B literally before they sold out. Artisan leggings celiac keffiyeh.
70+
71+
faq:
72+
- question: "What is a hackathon?"
73+
answer: >
74+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
75+
- question: "How much does it cost?"
76+
answer: >
77+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
78+
- question: "Do I need to be a student to attend?"
79+
answer: >
80+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
81+
- question: "Where is the event?"
82+
answer: >
83+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
84+
- question: "What is Major League Hacking?"
85+
answer: >
86+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
87+
- question: "Is there a code of conduct?"
88+
answer: >
89+
Meditation readymade skateboard, beard venmo whatever ugh. Farm-to-table brooklyn selvage.
90+
91+
# ****************************************************
92+
# -- Ignore this unless you know what you're doing. --
93+
# ****************************************************
94+
95+
markdown: kramdown
96+
exclude:
97+
- node_modules
98+
- gulpfile.js
99+
- Gemfile
100+
- Gemfile.lock
101+
- package.json
102+
- README.md
103+
- CNAME
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% if include.ga_id %}
2+
<!-- Google Analytics code -->
3+
<script>
4+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
8+
9+
ga('create', '{{ include.ga_id }}', 'auto');
10+
ga('send', 'pageview');
11+
12+
</script>
13+
{% endif %}

_includes/head.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
5+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.event.name }}{% endif %}</title>
6+
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.seo.description }}{% endif %}">
9+
10+
<!-- Twitter Handle -->
11+
<meta name="twitter:card" content="summary" />
12+
<meta name="twitter:site" content="@{{ site.social.twitter_handle }}" />
13+
<meta name="twitter:creator" content="@{{ site.social.twitter_handle }}" />
14+
15+
<!-- Open Graph -->
16+
<meta property="og:url" content="{{ site.baseurl | prepend: site.url }}" />
17+
<meta property="og:title" content="{{ site.seo.title }}" />
18+
<meta property="og:description" content="{{ site.seo.description }}" />
19+
{% if site.seo.image %}<meta property="og:image" content="{{ site.seo.image }}" />{% endif %}
20+
21+
<!-- Stylesheets -->
22+
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,300italic,400italic,700italic" />
23+
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
24+
<link rel="stylesheet" type="text/css" href="{{ '/css/bootstrap.min.css' | prepend: site.baseurl }}" />
25+
<link rel="stylesheet" type="text/css" href="{{ '/css/base.css' | prepend: site.baseurl }}" />
26+
<link rel="stylesheet" type="text/css" href="{{ '/css/' | prepend: site.baseurl }}{{ site.style.theme | append: '.css' }}" />
27+
28+
<!-- Favicon -->
29+
<link rel="canonical" href="{{ page.url | replace: 'index.html', '' | prepend: site.baseurl | prepend: site.url }}">
30+
<link rel="icon" href="{{ '/img/favicon.ico' | prepend: site.baseurl }}">
31+
</head>

_includes/hero.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<section class="hero">
2+
<div class="wrapper text-center">
3+
<h1 rel="title">{{ site.event.name }}</h1>
4+
<h2 rel="description">{{ site.event.description }}</h2>
5+
<h3 rel="location">{{ site.event.date }} &mdash; {{ site.event.location }}</h3>
6+
<hr>
7+
<div class="buttons">
8+
{% for link in site.event.hero.links %}
9+
{% if link.href %}
10+
<a href="{{ link.href }}">{{ link.text }}</a>
11+
{% elsif link.my_mlh %}
12+
<a class="apply" href="https://my.mlh.io/oauth/authorize?client_id={{ link.my_mlh.client_id }}&amp;redirect_uri={{ link.my_mlh.redirect_uri }}&amp;response_type=token">{{ link.text }}</a>
13+
{% endif %}
14+
{% endfor %}
15+
</div>
16+
</div>
17+
</section>

_includes/trust_badge.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% if site.event.trust_badge %}
2+
<a id="mlh-trust-badge"
3+
href="https://mlh.io/seasons/{{ site.event.trust_badge.region }}-{{ site.event.trust_badge.year }}/events?utm_source={{ site.event.trust_badge.region }}-{{ site.event.trust_badge.year }}&utm_medium=TrustBadge&utm_campaign={{ site.event.trust_badge.region }}-{{ site.event.trust_badge.year }}&utm_content={{ site.event.trust_badge.color }}"
4+
target="_blank">
5+
<img src="https://s3.amazonaws.com/logged-assets/trust-badge/{{ site.event.trust_badge.year }}/{{ site.event.trust_badge.color }}.svg"
6+
alt="Major League Hacking {{ site.event.trust_badge.year }} Hackathon Season"
7+
style="width:100%">
8+
</a>
9+
{% endif %}

_layouts/default.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
5+
<body{% if page.custom_class %} class="{{ page.custom_class }}"{% endif %}>
6+
{% include trust_badge.html %}
7+
8+
{{ content }}
9+
10+
<section class="footer">
11+
<div class="container text-center">
12+
<h1>{{ site.event.name }}</h1>
13+
<h3>&copy; 2016 {{ site.event.name }}. Template by <a href="https://github.com/nlaz">Niko Lazaris</a>.</h3>
14+
</div>
15+
</section>
16+
17+
<script src="js/jquery-1.11.3.js"></script>
18+
<script src="js/form.js"></script>
19+
20+
{% include analytics/google_analytics.html ga_id=site.tracking.google_analytics %}
21+
</body>
22+
</html>

css/base.css

Whitespace-only changes.

css/bootstrap.min.css

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)