Skip to content

Commit

Permalink
jekyll_generator and jekyll first use
Browse files Browse the repository at this point in the history
  • Loading branch information
kfl62 committed Feb 9, 2009
1 parent 2480c8e commit c2dc047
Show file tree
Hide file tree
Showing 8 changed files with 368 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
_site
61 changes: 61 additions & 0 deletions _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='/trst_sys/'">
<h1>Trust Sys</h1>
</div>
<div id="navigation">
<ul>
<li id="navi_intro">
<a href="/trst_sys/">Intro</a>
</li>
<li id="navi_source">
<a href="http://github.com/kfl62/trst_sys">Source</a>
</li>
<li id="navi_tickets">
<a href="http://kfl62.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://kfl62.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="/trst_sys{{ post.url }}">{{ post.title }}</a><br>
{% endfor %}
</p>
</div>
<div class="item">
<script type="text/javascript" src="http://disqus.com/forums/trst-sys/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
</div>
</div>
</div>
<div id="footer">
<p><a href="http://github.com/kfl62/trst_sys/tree/gh-pages" title="kfl62's trst_sys 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/kfl62/trst_sys"><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>
86 changes: 86 additions & 0 deletions _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='/trst_sys/'">
<h1>Trust Sys</h1>
</div>
<div id="navigation">
<ul>
<li id="navi_intro">
<a href="/trst_sys/">Intro</a>
</li>
<li id="navi_source">
<a href="http://github.com/kfl62/trst_sys">Source</a>
</li>
<li id="navi_tickets">
<a href="http://kfl62.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://kfl62.github.com/trst_sys/{{ post.url }}"; var disqus_title ="{{ post.title }}";</script>
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/trst-sys/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/trst-sys/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://kfl62.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/trst-sys/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
</div>
</div>
</div>
<div id="footer">
<p><a href="http://github.com/kfl62/trst_sys/tree/gh-pages" title="kfl62's trst_sys 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/kfl62/trst_sys"><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>
6 changes: 6 additions & 0 deletions _posts/2009-02-09-first-post.markdown
@@ -0,0 +1,6 @@
---
layout: post
title: Welcome to 'Trust Sys'
---

Trust Sys is going to be an awesome project.
27 changes: 27 additions & 0 deletions atom.xml
@@ -0,0 +1,27 @@
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>Trust Sys</title>
<link href="http://kfl62.github.com/trst_sys/atom.xml" rel="self"/>
<link href="http://kfl62.github.com/trst_sys/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://kfl62.github.com/trst_sys/</id>
<author>
<name>Dr Nic Williams</name>
<email>kfl62williams@gmail.com</email>
</author>

{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://kfl62.github.com/trst_sys{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://kfl62.github.com/trst_sys{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
11 changes: 11 additions & 0 deletions config.yml
@@ -0,0 +1,11 @@
---
:git:
:modified: {}

:new: {}

:theme: plain
:title: Trust Sys
:github_user: kfl62
:name: trst_sys
:header_color: 8DBD82
166 changes: 166 additions & 0 deletions 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: #8DBD82;
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;
}

10 changes: 10 additions & 0 deletions index.markdown
@@ -0,0 +1,10 @@
---
layout: default
title: Trust Sys
---

This project <a href="http://github.com/kfl62/trst_sys">Trust Sys</a> is awesome.

To enable Disqus comments + badges for this site, [add it to your Disqus account](http://disqus.com/add/).

Also, you can/should [create a Lighthouse project](http://kfl62.lighthouseapp.com/projects/new) for your project and update "TODO" within the _layouts files with the project id (e.g. "12345-trst_sys" from the Lighthouse project url).

0 comments on commit c2dc047

Please sign in to comment.