Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

playing with jekyll generator

  • Loading branch information...
commit 244ad6619b41997056a8b57ba689ba0cb41a985f 1 parent cc9dff5
@ffmike ffmike authored
View
61 website/_layouts/default.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width = 750">
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" charset="utf-8">
+ <title>{{ page.title }}</title>
+ </head>
+ <body id="intro">
+ <div id="wrapper">
+ <div id="header" onclick="javascript:window.location='/model_plus/'">
+ <h1>Model Plus</h1>
+ </div>
+ <div id="navigation">
+ <ul>
+ <li id="navi_intro">
+ <a href="/model_plus/">Intro</a>
+ </li>
+ <li id="navi_source">
+ <a href="http://github.com/ffmike/model_plus">Source</a>
+ </li>
+ <li id="navi_tickets">
+ <a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a>
+ </li>
+ </ul>
+ </div>
+ <div id="page_body">
+ <div id="content">
+ {{ content }}
+ </div>
+ <div id="sidebar">
+ <div class="item">
+ <!-- Tickets -->
+ <h4><a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a></h4>
+ <p>
+ Found a bug?<br />
+ Request a feature?
+ </p>
+ </div>
+ <div class="item">
+ <!-- Blog -->
+ <h4><a href="atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a></h4>
+ <p>
+ {% for post in site.posts %}
+ <span>{{ post.date | date_to_string }}</span> » <a href="/model_plus{{ post.url }}">{{ post.title }}</a><br>
+ {% endfor %}
+ </p>
+ </div>
+ <div class="item">
+ <script type="text/javascript" src="http://disqus.com/forums/model-plus/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
+ </div>
+ </div>
+ </div>
+ <div id="footer">
+ <p><a href="http://github.com/ffmike/model_plus/tree/gh-pages" title="ffmike's model_plus at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
+ </div>
+ </div>
+ <a href="http://github.com/ffmike/model_plus"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+ </body>
+</html>
View
86 website/_layouts/post.html
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width = 750">
+ <link rel="stylesheet" type="text/css" href="../../../css/stylesheet.css" charset="utf-8">
+ <title>{{ page.title }}</title>
+ </head>
+ <body id="intro">
+ <div id="wrapper">
+ <div id="header" onclick="javascript:window.location='/model_plus/'">
+ <h1>Model Plus</h1>
+ </div>
+ <div id="navigation">
+ <ul>
+ <li id="navi_intro">
+ <a href="/model_plus/">Intro</a>
+ </li>
+ <li id="navi_source">
+ <a href="http://github.com/ffmike/model_plus">Source</a>
+ </li>
+ <li id="navi_tickets">
+ <a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a>
+ </li>
+ </ul>
+ </div>
+ <div id="page_body">
+ <div id="content">
+ {{ content }}
+
+ <script type="text/javascript">var disqus_url = "http://ffmike.github.com/model_plus/{{ post.url }}"; var disqus_title ="{{ post.title }}";</script>
+ <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/model-plus/embed.js"></script>
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
+ <script type="text/javascript">
+ //<![CDATA[
+ (function() {
+ var links = document.getElementsByTagName('a');
+ var query = '?';
+ for(var i = 0; i < links.length; i++) {
+ if(links[i].href.indexOf('#disqus_thread') >= 0) {
+ query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
+ }
+ }
+ document.write('<script type="text/javascript" src="http://disqus.com/forums/model-plus/get_num_replies.js' + query + '"></' + 'script>');
+ })();
+ //]]>
+ </script>
+
+ </div>
+ <div id="sidebar">
+ <div class="item">
+ <!-- Download -->
+ <h4>Install Bundle</h4>
+ <p>Coming soon</p>
+ </div>
+ <div class="item">
+ <!-- Tickets -->
+ <h4><a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets" id="tickets" name="tickets">Tickets</a></h4>
+ <p>
+ Found a bug?<br />
+ Request a feature?
+ </p>
+ </div>
+ <div class="item">
+ <!-- Blog -->
+ <a href="../../../atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a>
+ <h4>Blog Posts</h4>
+ <p>
+ {% for post in site.posts %}
+ <span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a><br>
+ {% endfor %}
+ </p>
+ </div>
+ <div class="item">
+ <script type="text/javascript" src="http://disqus.com/forums/model-plus/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
+ </div>
+ </div>
+ </div>
+ <div id="footer">
+ <p><a href="http://github.com/ffmike/model_plus/tree/gh-pages" title="ffmike's model_plus at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
+ </div>
+ </div>
+ <a href="http://github.com/ffmike/model_plus"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+ </body>
+</html>
View
6 website/_posts/2008-12-21-first-post.markdown
@@ -0,0 +1,6 @@
+---
+layout: post
+title: Welcome to 'Model Plus'
+---
+
+Model Plus is going to be an awesome project.
View
85 website/_site/2008/12/21/first-post.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width = 750">
+ <link rel="stylesheet" type="text/css" href="../../../css/stylesheet.css" charset="utf-8">
+ <title>Welcome to 'Model Plus'</title>
+ </head>
+ <body id="intro">
+ <div id="wrapper">
+ <div id="header" onclick="javascript:window.location='/model_plus/'">
+ <h1>Model Plus</h1>
+ </div>
+ <div id="navigation">
+ <ul>
+ <li id="navi_intro">
+ <a href="/model_plus/">Intro</a>
+ </li>
+ <li id="navi_source">
+ <a href="http://github.com/ffmike/model_plus">Source</a>
+ </li>
+ <li id="navi_tickets">
+ <a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a>
+ </li>
+ </ul>
+ </div>
+ <div id="page_body">
+ <div id="content">
+ <p>Model Plus is going to be an awesome project.</p>
+
+
+ <script type="text/javascript">var disqus_url = "http://ffmike.github.com/model_plus/"; var disqus_title ="";</script>
+ <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/model-plus/embed.js"></script>
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
+ <script type="text/javascript">
+ //<![CDATA[
+ (function() {
+ var links = document.getElementsByTagName('a');
+ var query = '?';
+ for(var i = 0; i < links.length; i++) {
+ if(links[i].href.indexOf('#disqus_thread') >= 0) {
+ query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
+ }
+ }
+ document.write('<script type="text/javascript" src="http://disqus.com/forums/model-plus/get_num_replies.js' + query + '"></' + 'script>');
+ })();
+ //]]>
+ </script>
+
+ </div>
+ <div id="sidebar">
+ <div class="item">
+ <!-- Download -->
+ <h4>Install Bundle</h4>
+ <p>Coming soon</p>
+ </div>
+ <div class="item">
+ <!-- Tickets -->
+ <h4><a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets" id="tickets" name="tickets">Tickets</a></h4>
+ <p>
+ Found a bug?<br />
+ Request a feature?
+ </p>
+ </div>
+ <div class="item">
+ <!-- Blog -->
+ <a href="../../../atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a>
+ <h4>Blog Posts</h4>
+ <p>
+
+ </p>
+ </div>
+ <div class="item">
+ <script type="text/javascript" src="http://disqus.com/forums/model-plus/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
+ </div>
+ </div>
+ </div>
+ <div id="footer">
+ <p><a href="http://github.com/ffmike/model_plus/tree/gh-pages" title="ffmike's model_plus at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
+ </div>
+ </div>
+ <a href="http://github.com/ffmike/model_plus"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+ </body>
+</html>
View
25 website/_site/atom.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title>Model Plus</title>
+ <link href="http://ffmike.github.com/model_plus/atom.xml" rel="self"/>
+ <link href="http://ffmike.github.com/model_plus/"/>
+ <updated>2008-12-21T08:59:19-06:00</updated>
+ <id>http://ffmike.github.com/model_plus/</id>
+ <author>
+ <name>Dr Nic Williams</name>
+ <email>ffmikewilliams@gmail.com</email>
+ </author>
+
+
+ <entry>
+ <title>Welcome to 'Model Plus'</title>
+ <link href="http://ffmike.github.com/model_plus/2008/12/21/first-post.html"/>
+ <updated>2008-12-21T00:00:00-06:00</updated>
+ <id>http://ffmike.github.com/model_plus/2008/12/21/first-post</id>
+ <content type="html">&lt;p&gt;Model Plus is going to be an awesome project.&lt;/p&gt;
+</content>
+ </entry>
+
+
+</feed>
View
6 website/_site/config.yml
@@ -0,0 +1,6 @@
+---
+:theme: plain
+:title: Model Plus
+:name: model_plus
+:github_user: ffmike
+:header_color: E9C000
View
166 website/_site/css/stylesheet.css
@@ -0,0 +1,166 @@
+html {
+ background: #1e1e1e;
+}
+body {
+/* background: transparent url("http://macromates.com/images/site/bg_body") repeat-y 50% 0px;*/
+/* font: 0.72em/170% "Lucida Grande", Verdana, Helvetica, sans-serif;*/
+ font: 12px "Lucida Grande", Verdana, Helvetica, sans-serif;
+ margin: 0;
+ padding: 0;
+}
+a[href] {
+ color: #525151;
+}
+
+#wrapper { /* IE workaround */
+ margin: 0 auto;
+ padding: 0;
+ width: 750px;
+}
+html>body #wrapper {
+ margin: 0 auto;
+ padding: 0;
+ width: auto;
+ max-width: 750px;
+}
+
+#header {
+ position: relative;
+ background: #E9C000;
+ height: 113px;
+}
+#header h1 {
+ position: absolute;
+ left: 60px;
+ top: 40px;
+ width: 380px;
+ height: 50px;
+ cursor: pointer;
+ color: white;
+}
+
+#navigation {
+ background: #232323;
+ border-bottom: 1px solid #171717;
+ margin: 0;
+ padding: 0.5em 0;
+ width: 100%;
+}
+#navigation ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+#navigation li {
+ display: inline;
+ margin: 0;
+ padding: 0 0 0 25px;
+ text-shadow: 0px 2px 4px #000;
+}
+#navigation li a {
+ color: #5b5b5b;
+ text-decoration: none;
+}
+
+#intro #navi_intro a,
+#blog #navi_blog a,
+#toc #navi_manual a,
+#chapter #navi_manual a,
+#wiki #navi_wiki a,
+#community #navi_community a,
+#contact #navi_contact a,
+#navigation li a:hover {
+ color: #fff;
+}
+
+#page_body {
+ margin: 0;
+ padding: 0;
+ position: relative;
+ overflow: hidden;
+}
+
+#content { /* IE workaround */
+ margin: 0;
+ padding: 25px;
+ width: 430px;
+ height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
+ background: #fff;
+}
+html>body #content {
+ margin: 0;
+ padding: 25px;
+ width: auto;
+ height: auto;
+ max-width: 430px;
+ min-height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
+ background: #fff;
+}
+#content :first-child {
+ margin-top: 0px;
+}
+#content :first-child + h1 {
+ margin-top: 0px;
+}
+
+#sidebar {
+ margin: 0;
+ padding: 0;
+ top: 0px;
+ left: 480px;
+ width: 270px;
+ background-color: #e8eaea;
+ position: absolute;
+}
+#sidebar .item {
+ color: #5b5b5b;
+ border-bottom: 2px solid #fff;
+ padding: 20px;
+ min-height: 64px;
+}
+#sidebar .item * {
+ margin: 0px;
+}
+#sidebar .item h4 {
+ margin-bottom: 1em;
+ font-size: 120%;
+}
+#sidebar .item p {
+ font-size: 90%;
+}
+#sidebar .item a {
+ text-decoration: none;
+}
+#sidebar .item a:hover {
+ text-decoration: underline;
+}
+
+#footer {
+ position: relative;
+ margin: 0;
+ padding: 0.75em 25px 0.75em 25px;
+ min-height: 1em;
+ clear: both;
+ color: #b5b5b5;
+ background: #2E2E2E;
+}
+#footer * {
+ margin: 0;
+ padding: 0;
+}
+#footer a {
+ color: #b5b5b5;
+ text-decoration: none;
+}
+#footer a:hover {
+ color: #2E2E2E;
+ background: #b5b5b5;
+ text-decoration: none;
+}
+#footer .left {
+ float: left;
+}
+#footer .right {
+ float: right;
+}
+
View
62 website/_site/index.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width = 750">
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" charset="utf-8">
+ <title>Model Plus</title>
+ </head>
+ <body id="intro">
+ <div id="wrapper">
+ <div id="header" onclick="javascript:window.location='/model_plus/'">
+ <h1>Model Plus</h1>
+ </div>
+ <div id="navigation">
+ <ul>
+ <li id="navi_intro">
+ <a href="/model_plus/">Intro</a>
+ </li>
+ <li id="navi_source">
+ <a href="http://github.com/ffmike/model_plus">Source</a>
+ </li>
+ <li id="navi_tickets">
+ <a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a>
+ </li>
+ </ul>
+ </div>
+ <div id="page_body">
+ <div id="content">
+ <p>This project <a href="http://github.com/ffmike/model_plus">Model Plus</a> is awesome.</p>
+
+ </div>
+ <div id="sidebar">
+ <div class="item">
+ <!-- Tickets -->
+ <h4><a href="http://ffmike.lighthouseapp.com/projects/TODO/tickets">Tickets</a></h4>
+ <p>
+ Found a bug?<br />
+ Request a feature?
+ </p>
+ </div>
+ <div class="item">
+ <!-- Blog -->
+ <h4><a href="atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a></h4>
+ <p>
+
+ <span>21 Dec 2008</span> » <a href="/model_plus/2008/12/21/first-post.html">Welcome to 'Model Plus'</a><br>
+
+ </p>
+ </div>
+ <div class="item">
+ <script type="text/javascript" src="http://disqus.com/forums/model-plus/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
+ </div>
+ </div>
+ </div>
+ <div id="footer">
+ <p><a href="http://github.com/ffmike/model_plus/tree/gh-pages" title="ffmike's model_plus at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
+ </div>
+ </div>
+ <a href="http://github.com/ffmike/model_plus"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+ </body>
+</html>
View
27 website/atom.xml
@@ -0,0 +1,27 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title>Model Plus</title>
+ <link href="http://ffmike.github.com/model_plus/atom.xml" rel="self"/>
+ <link href="http://ffmike.github.com/model_plus/"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>http://ffmike.github.com/model_plus/</id>
+ <author>
+ <name>Dr Nic Williams</name>
+ <email>ffmikewilliams@gmail.com</email>
+ </author>
+
+ {% for post in site.posts %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="http://ffmike.github.com/model_plus{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>http://ffmike.github.com/model_plus{{ post.id }}</id>
+ <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+
+</feed>
View
6 website/config.yml
@@ -0,0 +1,6 @@
+---
+:theme: plain
+:title: Model Plus
+:name: model_plus
+:github_user: ffmike
+:header_color: E9C000
View
166 website/css/stylesheet.css
@@ -0,0 +1,166 @@
+html {
+ background: #1e1e1e;
+}
+body {
+/* background: transparent url("http://macromates.com/images/site/bg_body") repeat-y 50% 0px;*/
+/* font: 0.72em/170% "Lucida Grande", Verdana, Helvetica, sans-serif;*/
+ font: 12px "Lucida Grande", Verdana, Helvetica, sans-serif;
+ margin: 0;
+ padding: 0;
+}
+a[href] {
+ color: #525151;
+}
+
+#wrapper { /* IE workaround */
+ margin: 0 auto;
+ padding: 0;
+ width: 750px;
+}
+html>body #wrapper {
+ margin: 0 auto;
+ padding: 0;
+ width: auto;
+ max-width: 750px;
+}
+
+#header {
+ position: relative;
+ background: #E9C000;
+ height: 113px;
+}
+#header h1 {
+ position: absolute;
+ left: 60px;
+ top: 40px;
+ width: 380px;
+ height: 50px;
+ cursor: pointer;
+ color: white;
+}
+
+#navigation {
+ background: #232323;
+ border-bottom: 1px solid #171717;
+ margin: 0;
+ padding: 0.5em 0;
+ width: 100%;
+}
+#navigation ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+#navigation li {
+ display: inline;
+ margin: 0;
+ padding: 0 0 0 25px;
+ text-shadow: 0px 2px 4px #000;
+}
+#navigation li a {
+ color: #5b5b5b;
+ text-decoration: none;
+}
+
+#intro #navi_intro a,
+#blog #navi_blog a,
+#toc #navi_manual a,
+#chapter #navi_manual a,
+#wiki #navi_wiki a,
+#community #navi_community a,
+#contact #navi_contact a,
+#navigation li a:hover {
+ color: #fff;
+}
+
+#page_body {
+ margin: 0;
+ padding: 0;
+ position: relative;
+ overflow: hidden;
+}
+
+#content { /* IE workaround */
+ margin: 0;
+ padding: 25px;
+ width: 430px;
+ height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
+ background: #fff;
+}
+html>body #content {
+ margin: 0;
+ padding: 25px;
+ width: auto;
+ height: auto;
+ max-width: 430px;
+ min-height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
+ background: #fff;
+}
+#content :first-child {
+ margin-top: 0px;
+}
+#content :first-child + h1 {
+ margin-top: 0px;
+}
+
+#sidebar {
+ margin: 0;
+ padding: 0;
+ top: 0px;
+ left: 480px;
+ width: 270px;
+ background-color: #e8eaea;
+ position: absolute;
+}
+#sidebar .item {
+ color: #5b5b5b;
+ border-bottom: 2px solid #fff;
+ padding: 20px;
+ min-height: 64px;
+}
+#sidebar .item * {
+ margin: 0px;
+}
+#sidebar .item h4 {
+ margin-bottom: 1em;
+ font-size: 120%;
+}
+#sidebar .item p {
+ font-size: 90%;
+}
+#sidebar .item a {
+ text-decoration: none;
+}
+#sidebar .item a:hover {
+ text-decoration: underline;
+}
+
+#footer {
+ position: relative;
+ margin: 0;
+ padding: 0.75em 25px 0.75em 25px;
+ min-height: 1em;
+ clear: both;
+ color: #b5b5b5;
+ background: #2E2E2E;
+}
+#footer * {
+ margin: 0;
+ padding: 0;
+}
+#footer a {
+ color: #b5b5b5;
+ text-decoration: none;
+}
+#footer a:hover {
+ color: #2E2E2E;
+ background: #b5b5b5;
+ text-decoration: none;
+}
+#footer .left {
+ float: left;
+}
+#footer .right {
+ float: right;
+}
+
View
6 website/index.markdown
@@ -0,0 +1,6 @@
+---
+layout: default
+title: Model Plus
+---
+
+This project <a href="http://github.com/ffmike/model_plus">Model Plus</a> is awesome.
Please sign in to comment.
Something went wrong with that request. Please try again.