Skip to content

New Custom Theme #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 8 additions & 38 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,22 @@
# Dependencies
markdown: redcarpet
pygments: true
pygments: false

# Permalinks
permalink: /blog/:title

# Setup
title: codeRIT
tagline: 'codeRIT'
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'
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.'
url: http://coderit.org

author:
name: 'codeRIT'
url: https://google.com/+IanCamporezBrunelli

paginate: 5
paginate: 3

# Custom vars
icon: /assets/images/icon.png
cover: /assets/images/cover.jpg

social:
- icon: twitter
url: https://twitter.com/iancamporez
desc: Follow me on twitter

- icon: github
url: https://github.com/camporez
desc: Fork me on github

- icon: googleplus-alt
url: https://google.com/+IanCamporezBrunelli
desc: Add me on google+

- icon: feed
url: http://camporez.com/atom.xml
desc: Subscribe to my feed

menu:
- title: Home
url: /

- title: About
url: /about

copyright:
author: Camporez
url: http://camporez.com
type_title: Some rights reserved
type_url: http://creativecommons.org/licenses/by-nc/2.5
- title: About
url: /about

- title: Contact
url: /contact
13 changes: 13 additions & 0 deletions _includes/foot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<footer class="footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<div class="copyright">
&copy;{{ site.title }} {{ site.time | date: "%Y" }} | All Rights Reserved
</div>
</div>
</div>
</div>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="/assets/js/bootstrap.min.js"></script>
32 changes: 8 additions & 24 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">{% if page.article %}
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<meta name="description" content="{% if page.quote %}{{ page.quote }}{% else %}{{ page.content | strip_html | truncatewords: 20 }}{% endif %}" />
<meta property="og:description" content="{% if page.quote %}{{ page.quote }}{% else %}{{ page.content | strip_html | truncatewords: 20 }}{% endif %}" />
<meta itemprop="image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}{{ site.icon }}{% endif %}" />
<meta property="og:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}{{ site.icon }}{% endif %}" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
<meta property="og:site_name" content="{{ site.title }}" />{% endif %}
<title>{% if page.title == "Home" %}{{ site.title }} &middot; {{ site.tagline }}{% else %}{{ page.title }} &middot; {{ site.title }}{% endif %}</title>
<meta name="mobile-web-app-capable" content="yes">
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" media="only screen and (min-width: 1001px)" href="/assets/css/desktop.css" />
<link rel="stylesheet" type="text/css" media="only screen and (max-width: 1000px)" href="/assets/css/mobile.css" />
<link href="/assets/css/genericons.css" type="text/css" rel="stylesheet" />
<link href="/assets/css/syntax.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
<link rel="apple-touch-icon" href="{{ site.url }}{{ site.icon }}">
<link rel="shortcut icon" href="{{ site.url }}/assets/images/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.url }}/atom.xml">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="{{site.description}}" />
<meta property="og:description" content="{{site.description}}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="/assets/css/bootstrap_custom.min.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/main.css" />
</head>
20 changes: 20 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<nav class="navbar" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#nav">
<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="/">{{ site.title }}</a>
</div>
<div class="collapse navbar-collapse" id="nav">
<ul class="nav navbar-nav">
{% for item in site.menu %}
<li><a href="{{ item.url }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</nav>
2 changes: 0 additions & 2 deletions _includes/image.html

This file was deleted.

15 changes: 0 additions & 15 deletions _includes/top.html

This file was deleted.

5 changes: 4 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<html>
{% include head.html %}
<body>
{{ content }}
<div id="main">
{% include header.html %}
{{ content }}</div>
{% include foot.html %}
</body>
</html>
16 changes: 0 additions & 16 deletions _layouts/fullscreen.html

This file was deleted.

21 changes: 0 additions & 21 deletions _layouts/page.html

This file was deleted.

69 changes: 24 additions & 45 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,46 +1,25 @@
---
layout: default
article: true
---

<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%;">
{% if page.video %}
<video id="bg-video" preload="auto" autoplay="true" loop="loop" muted="muted" volume="0">
{% if page.video_webm %}<source src="{{ page.video_webm }}" type="video/webm">{% endif %}
{% if page.video_ogv %}<source src="{{ page.video_ogv }}" type="video/ogg ogv">{% endif %}
{% if page.video_mp4 %}<source src="{{ page.video_mp4 }}" type="video/mp4">{% endif %}
</video>
{% endif %}
{% include top.html %}
<div id="post-info">
<h1>{{ page.title }}</h1>
{% if page.quote %}
<h2>{{ page.quote }}</h2>
{% endif %}
<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 }}
</div>
<div id="nav-icon" style="bottom: 60px;">
<a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-expand"></span></a>
</div>
</header>
<div id="article">
{{ content }}
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
<div id="main">
{% include header.html %}
<div class="banner {% if page.darkimage %}dark{% endif %}" {% if page.image %}style="background-image:url({{page.image}});"{% endif %}>
<div class="container-fluid">
<div class="banner-inner">
<p>{{ page.quote }}</p>
</div>
</div>
</div>
{% for post in site.related_posts limit:1 %}
<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;">
<div id="nav-icon" style="top: 25px;">
<a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-collapse"></span></a>
</div>
<div id="post-info">
<h3>Featured post</h3>
<a href="{{ post.url }}">
<h1>{{ post.title }}</h1>
{% if post.quote %}
<h2>{{ post.quote }}</h2>
{% endif %}
</a>
</div>
<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>
</footer>
{% endfor %}
<script src="/assets/js/smooth-scroll.js"></script>
<div class="container-fluid">
<div class="row">
<div class="col-xs-10 col-md-offset-1">
<h1 class="page-title">{{ page.title }}</h1>
{{ content }}
</div>
</div>
</div>
</div>
{% include foot.html %}
</body>
</html>
79 changes: 0 additions & 79 deletions _posts/2014-01-22-thinny-2.md

This file was deleted.

Loading