Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carson Gross
committed
Dec 17, 2013
1 parent
318e098
commit d81a405
Showing
6 changed files
with
140 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: IntercoolerJS - REST-ful data bindings for HTML | ||
pygments: false | ||
exclude: | ||
- config | ||
- Gemfile | ||
- Gemfile.lock | ||
- Capfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="A Javascript-optional AJAX library featuring declarative, REST-ful bindings"> | ||
<meta name="author" content=""> | ||
<link rel="shortcut icon" href="./img/icon.png"> | ||
|
||
<title>Intercooler.JS - The Javascript-optional AJAX library</title> | ||
|
||
<!-- Bootstrap core CSS --> | ||
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Crete+Round:400italic,400" rel="stylesheet" type="text/css"> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,300,400italic,400,600italic,600,700italic,700,800italic,800" | ||
rel="stylesheet" type="text/css"> | ||
<link href="./css/site.css" rel="stylesheet" type="text/css"> | ||
|
||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> | ||
<![endif]--> | ||
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> | ||
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="index.html">Intercooler.JS</a> | ||
</div> | ||
<ul class="nav navbar-nav"> | ||
<li class="{% active examples %}"><a href="/examples.html">Examples</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="body-wrapper"> | ||
{{content}} | ||
</div> | ||
|
||
<div class="container"> | ||
<hr> | ||
<footer> | ||
<p> | ||
© <a href="http://intercoolerjs.org">IntercoolerJS.org</a> 2013-2014 | ||
<span class="pull-right"><em>Sponsored By <a href="http://www.leaddyno.com">LeadDyno</a></em></span> | ||
</p> | ||
</footer> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
require 'digest/md5' | ||
|
||
module Jekyll | ||
class ActiveTag < Liquid::Tag | ||
def initialize(tag_name, text, tokens) | ||
super | ||
@text = text | ||
end | ||
def render(context) | ||
nav = context.registers[:page]['nav'] || '' | ||
'active' if nav.include? @text.chop | ||
end | ||
end | ||
class HideTag < Liquid::Tag | ||
def initialize(tag_name, text, tokens) | ||
super | ||
@text = text | ||
end | ||
def render(context) | ||
nav = context.registers[:page]['nav'] || '' | ||
'hide' unless nav.include? @text.chop | ||
end | ||
end | ||
end | ||
|
||
Liquid::Template.register_tag('active', Jekyll::ActiveTag) | ||
Liquid::Template.register_tag('unless', Jekyll::HideTag) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
div.jumbotron { | ||
.body-wrapper { | ||
margin-top:50px !important; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters