Skip to content

Commit 95bcb18

Browse files
committed
Merge pull request #1 from codeRIT/dev-nate
New Custom Theme
2 parents 3ee3f2f + 6d0c7a8 commit 95bcb18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+666
-1354
lines changed

_config.yml

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,22 @@
11
# Dependencies
22
markdown: redcarpet
3-
pygments: true
3+
pygments: false
44

55
# Permalinks
66
permalink: /blog/:title
77

88
# Setup
99
title: codeRIT
1010
tagline: 'codeRIT'
11-
description: 'codeRIT represents a coalition of students with a mission to represent the RIT hackathon community on a national level. It focuses its attention towards increasing its relationship with other collegiate technical communities, teaching software development and entrepreneurial skills to its members, and uniting a fragmented collection of groups amongst GCCIS as one RIT group'
11+
description: 'codeRIT represents a coalition of students with a mission to represent the RIT hackathon community on a national level. It focuses its attention towards increasing its relationship with other collegiate technical communities, teaching software development and entrepreneurial skills to its members, and uniting a fragmented collection of groups amongst GCCIS as one RIT group.'
1212
url: http://coderit.org
1313

14-
author:
15-
name: 'codeRIT'
16-
url: https://google.com/+IanCamporezBrunelli
17-
18-
paginate: 5
14+
paginate: 3
1915

2016
# Custom vars
21-
icon: /assets/images/icon.png
22-
cover: /assets/images/cover.jpg
23-
24-
social:
25-
- icon: twitter
26-
url: https://twitter.com/iancamporez
27-
desc: Follow me on twitter
28-
29-
- icon: github
30-
url: https://github.com/camporez
31-
desc: Fork me on github
32-
33-
- icon: googleplus-alt
34-
url: https://google.com/+IanCamporezBrunelli
35-
desc: Add me on google+
36-
37-
- icon: feed
38-
url: http://camporez.com/atom.xml
39-
desc: Subscribe to my feed
40-
4117
menu:
42-
- title: Home
43-
url: /
44-
45-
- title: About
46-
url: /about
47-
48-
copyright:
49-
author: Camporez
50-
url: http://camporez.com
51-
type_title: Some rights reserved
52-
type_url: http://creativecommons.org/licenses/by-nc/2.5
18+
- title: About
19+
url: /about
20+
21+
- title: Contact
22+
url: /contact

_includes/foot.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<footer class="footer">
2+
<div class="container-fluid">
3+
<div class="row">
4+
<div class="col-xs-12">
5+
<div class="copyright">
6+
&copy;{{ site.title }} {{ site.time | date: "%Y" }} | All Rights Reserved
7+
</div>
8+
</div>
9+
</div>
10+
</div>
11+
</footer>
12+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
13+
<script type="text/javascript" src="/assets/js/bootstrap.min.js"></script>

_includes/head.html

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
11
<head>
2-
<link href="http://gmpg.org/xfn/11" rel="profile">
3-
<meta http-equiv="content-type" content="text/html; charset=utf-8">{% if page.article %}
4-
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
5-
<meta name="description" content="{% if page.quote %}{{ page.quote }}{% else %}{{ page.content | strip_html | truncatewords: 20 }}{% endif %}" />
6-
<meta property="og:description" content="{% if page.quote %}{{ page.quote }}{% else %}{{ page.content | strip_html | truncatewords: 20 }}{% endif %}" />
7-
<meta itemprop="image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}{{ site.icon }}{% endif %}" />
8-
<meta property="og:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}{{ site.icon }}{% endif %}" />
9-
<meta property="og:title" content="{{ page.title }}" />
10-
<meta property="og:type" content="article" />
11-
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
12-
<meta property="og:site_name" content="{{ site.title }}" />{% endif %}
13-
<title>{% if page.title == "Home" %}{{ site.title }} &middot; {{ site.tagline }}{% else %}{{ page.title }} &middot; {{ site.title }}{% endif %}</title>
14-
<meta name="mobile-web-app-capable" content="yes">
15-
<meta name="HandheldFriendly" content="True" />
16-
<meta name="MobileOptimized" content="320" />
17-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
18-
<link rel="stylesheet" type="text/css" media="only screen and (min-width: 1001px)" href="/assets/css/desktop.css" />
19-
<link rel="stylesheet" type="text/css" media="only screen and (max-width: 1000px)" href="/assets/css/mobile.css" />
20-
<link href="/assets/css/genericons.css" type="text/css" rel="stylesheet" />
21-
<link href="/assets/css/syntax.css" type="text/css" rel="stylesheet" />
22-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
23-
<link rel="apple-touch-icon" href="{{ site.url }}{{ site.icon }}">
24-
<link rel="shortcut icon" href="{{ site.url }}/assets/images/favicon.ico">
25-
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.url }}/atom.xml">
2+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
3+
<meta name="description" content="{{site.description}}" />
4+
<meta property="og:description" content="{{site.description}}" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
7+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
8+
<link rel="stylesheet" type="text/css" href="/assets/css/bootstrap_custom.min.css" />
9+
<link rel="stylesheet" type="text/css" href="/assets/css/main.css" />
2610
</head>

_includes/header.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<nav class="navbar" role="navigation">
2+
<div class="container-fluid">
3+
<div class="navbar-header">
4+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#nav">
5+
<span class="sr-only">Toggle navigation</span>
6+
<span class="icon-bar"></span>
7+
<span class="icon-bar"></span>
8+
<span class="icon-bar"></span>
9+
</button>
10+
<a class="navbar-brand" href="/">{{ site.title }}</a>
11+
</div>
12+
<div class="collapse navbar-collapse" id="nav">
13+
<ul class="nav navbar-nav">
14+
{% for item in site.menu %}
15+
<li><a href="{{ item.url }}">{{ item.title }}</a></li>
16+
{% endfor %}
17+
</ul>
18+
</div>
19+
</div>
20+
</nav>

_includes/image.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

_includes/top.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

_layouts/default.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<html>
33
{% include head.html %}
44
<body>
5-
{{ content }}
5+
<div id="main">
6+
{% include header.html %}
7+
{{ content }}</div>
8+
{% include foot.html %}
69
</body>
710
</html>

_layouts/fullscreen.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

_layouts/page.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

_layouts/post.html

Lines changed: 24 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,25 @@
1-
---
2-
layout: default
3-
article: true
4-
---
5-
6-
<header class="{% if page.dark %}dark{% else %}clean{% endif %}" style="background-image: url({% if page.image %}{{ page.image }}{% else %}{{ site.cover }}{% endif %});{% if page.background_position %} background-position: {{ page.background_position }};{% endif %}height: 100%;">
7-
{% if page.video %}
8-
<video id="bg-video" preload="auto" autoplay="true" loop="loop" muted="muted" volume="0">
9-
{% if page.video_webm %}<source src="{{ page.video_webm }}" type="video/webm">{% endif %}
10-
{% if page.video_ogv %}<source src="{{ page.video_ogv }}" type="video/ogg ogv">{% endif %}
11-
{% if page.video_mp4 %}<source src="{{ page.video_mp4 }}" type="video/mp4">{% endif %}
12-
</video>
13-
{% endif %}
14-
{% include top.html %}
15-
<div id="post-info">
16-
<h1>{{ page.title }}</h1>
17-
{% if page.quote %}
18-
<h2>{{ page.quote }}</h2>
19-
{% endif %}
20-
<a class="site-title" href="{{ site.url }}"><img src="{{ site.icon }}" class="site-icon-small">{{ site.title }}</a>, in {{ page.date | date_to_long_string }}
21-
</div>
22-
<div id="nav-icon" style="bottom: 60px;">
23-
<a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-expand"></span></a>
24-
</div>
25-
</header>
26-
<div id="article">
27-
{{ content }}
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
<body>
5+
<div id="main">
6+
{% include header.html %}
7+
<div class="banner {% if page.darkimage %}dark{% endif %}" {% if page.image %}style="background-image:url({{page.image}});"{% endif %}>
8+
<div class="container-fluid">
9+
<div class="banner-inner">
10+
<p>{{ page.quote }}</p>
11+
</div>
12+
</div>
2813
</div>
29-
{% for post in site.related_posts limit:1 %}
30-
<footer class="{% if post.dark %}dark{% else %}clean{% endif %}" style="background-image: url({% if post.image %}{{ post.image }}{% else %}{{ site.cover }}{% endif %});{% if post.background_position %} background-position: {{ post.background_position }};{% endif %}height: 75%; min-height: 500px;">
31-
<div id="nav-icon" style="top: 25px;">
32-
<a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-collapse"></span></a>
33-
</div>
34-
<div id="post-info">
35-
<h3>Featured post</h3>
36-
<a href="{{ post.url }}">
37-
<h1>{{ post.title }}</h1>
38-
{% if post.quote %}
39-
<h2>{{ post.quote }}</h2>
40-
{% endif %}
41-
</a>
42-
</div>
43-
<p class="copyright">&copy;{{ site.time | date: "%Y" }}, <a href="{{ site.copyright.url }}" target="_blank">{{ site.copyright.author }}</a>. <a href="{{ site.copyright.type_url }}" target="_blank">{{ site.copyright.type_title }}</a>.</p>
44-
</footer>
45-
{% endfor %}
46-
<script src="/assets/js/smooth-scroll.js"></script>
14+
<div class="container-fluid">
15+
<div class="row">
16+
<div class="col-xs-10 col-md-offset-1">
17+
<h1 class="page-title">{{ page.title }}</h1>
18+
{{ content }}
19+
</div>
20+
</div>
21+
</div>
22+
</div>
23+
{% include foot.html %}
24+
</body>
25+
</html>

0 commit comments

Comments
 (0)