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
Showing
13 changed files
with
171 additions
and
76 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,17 @@ | ||
<footer> | ||
<div class="contact"> | ||
<p> | ||
gelipp@gmail.com | ||
</p> | ||
</div> | ||
<div class="contact"> | ||
<p> | ||
Copyright (c) 2013, 2014, 2015 by Gerhard Preuss. License is MIT. | ||
</p> | ||
</div> | ||
<div class="contact"> | ||
<p> | ||
<a href="https://github.com/lipp">github.com/lipp</a><br /> | ||
</p> | ||
</div> | ||
</footer> |
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,15 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<title>Jet</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | ||
|
||
<!-- syntax highlighting CSS --> | ||
<link rel="stylesheet" href="/css/syntax.css"> | ||
|
||
<!-- reset CSS --> | ||
<link rel="stylesheet" href="/css/reset.css"> | ||
|
||
<!-- Custom CSS --> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
</head> |
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,18 @@ | ||
<header> | ||
<nav id="main-nav"> | ||
<ul> | ||
{% assign sorted_pages = (site.pages | sort: 'order') %} | ||
{% for node in sorted_pages %} | ||
{% if node.hidden == null %} | ||
{% if page.url == node.url %} | ||
<li class="active"><a href="{{node.url}}" class="active">{{node.title}}</a></li> | ||
{% else %} | ||
<li><a href="{{node.url}}">{{node.title}}</a></li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
<iframe id="github-star" src="http://ghbtns.com/github-btn.html?user=lipp&repo=jet&type=watch&count=true&size=large" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="120" height="30"></iframe> | ||
</nav> | ||
</header> |
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,8 @@ | ||
<div class="logo"> | ||
<a href="/index.html"> | ||
<h1 id="brand">Jet</h1> | ||
</a> | ||
<div> | ||
<h2 id="tagline">Lightweight, Realtime Message Bus for the Web</h2> | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## | ||
## This Plugin enables Jade support to pages and posts. | ||
## | ||
|
||
require 'open3' | ||
|
||
module Jekyll | ||
|
||
class JadeConverter < Converter | ||
|
||
def matches(ext) | ||
ext =~ /^\.jade$/i | ||
end | ||
|
||
def output_ext(ext) | ||
".html" | ||
end | ||
|
||
def convert(content) | ||
begin | ||
o, e, s = Open3.capture3("jade", :stdin_data => content) | ||
puts(<<-eos | ||
Jade Error >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | ||
#{e} | ||
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Jade Error | ||
eos | ||
) if e.length > 0 | ||
rescue Errno::ENOENT => e | ||
puts "** ERROR: Jade isn't installed or could not be found." | ||
puts "** ERROR: To install with NPM run: npm install jade -g" | ||
return nil | ||
end | ||
return o | ||
end | ||
|
||
end | ||
|
||
end |
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,23 @@ | ||
=begin | ||
Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid. | ||
Usage: | ||
{% markdown <filename> %} | ||
Dependency: | ||
- kramdown | ||
=end | ||
module Jekyll | ||
class MarkdownTag < Liquid::Tag | ||
def initialize(tag_name, text, tokens) | ||
super | ||
@text = text.strip | ||
end | ||
require "kramdown" | ||
def render(context) | ||
tmpl = File.read File.join Dir.pwd, "_includes", @text | ||
site = context.registers[:site] | ||
tmpl = (Liquid::Template.parse tmpl).render site.site_payload | ||
html = Kramdown::Document.new(tmpl).to_html | ||
end | ||
end | ||
end | ||
Liquid::Template.register_tag('markdown', Jekyll::MarkdownTag) |
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,7 +1,7 @@ | ||
--- | ||
layout: default | ||
title: Concepts | ||
order: 0 | ||
order: 1 | ||
--- | ||
|
||
# Overview | ||
|
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
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,7 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Jet | ||
order: 1 | ||
title_hidden: true | ||
sections: | ||
- hero.html | ||
order: 0 | ||
--- | ||
|
||
<div id="hero"> | ||
|
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,6 +1,7 @@ | ||
--- | ||
layout: default | ||
title: Protocol | ||
order: 4 | ||
--- | ||
|
||
# Transport | ||
|
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