Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
markwk committed Nov 1, 2011
1 parent 8984cad commit 945e103
Show file tree
Hide file tree
Showing 11 changed files with 470 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.mdown
@@ -0,0 +1,7 @@
# swufedrupal.github.com for SWUFE Drupal

## What is this?

## Drupal Lessons

## Technologies
2 changes: 2 additions & 0 deletions _config.yml
@@ -0,0 +1,2 @@
markdown: rdiscount
pygments: true
74 changes: 74 additions & 0 deletions _layouts/default.html
@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{{ page.title }}</title>
<meta name="author" content="Mark Koester" />
<link href="http://feeds.feedburner.com/XYZ" rel="alternate" title="Tom Preston-Werner" type="application/atom+xml" />

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/css/syntax.css" type="text/css" />

<!-- Homepage CSS -->
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />

<!-- Typekit -->
<script type="text/javascript" src="http://use.typekit.com/jpd0pfm.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>

<!-- ClickTale Top part -->
<script type="text/javascript">
var WRInitTime=(new Date()).getTime();
</script>
<!-- ClickTale end of Top part -->

<div class="site">
<div class="title">
<a href="/">Tom Preston-Werner</a>
<a class="extra" href="/">home</a>
</div>

{{ content }}

<div class="footer">
<div class="contact">
<p>
SWUFE Drupal (Chengdu, China)<br />
Mark Koester<br />
Founder of <a href="http://github.com/">GitHub</a><br />
mwkteacher@gmail.com
</p>
</div>
<div class="contact">
<p>
</p>
</div>
<div class="rss">
<a href="http://feeds.feedburner.com/xyz">
<img src="/images/rss.png" alt="Subscribe to RSS Feed" />
</a>
</div>
</div>
</div>

<a href="http://github.com/swufedrupal"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a>

<!-- ClickTale Bottom part -->
<div id="ClickTaleDiv" style="display: none;"></div>
<script type="text/javascript">
if(document.location.protocol!='https:')
document.write(unescape("%3Cscript%20src='http://s.clicktale.net/WRb.js'%20type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
if(typeof ClickTale=='function') ClickTale(206,0.3,"www03");
</script>
<!-- ClickTale end of Bottom part -->

<!-- Google Analytics -->
<!-- Add Google Analytics Here -->
<!-- Google Analytics end -->

</body>
</html>
15 changes: 15 additions & 0 deletions _layouts/post.html
@@ -0,0 +1,15 @@
---
layout: default
---
<div id="post">
{{ content }}
</div>

<div id="related">
<h2>Related Posts</h2>
<ul class="posts">
{% for post in site.related_posts limit:3 %}
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
11 changes: 11 additions & 0 deletions _posts/2011-10-01-building-github-blog-for-swufedrupal.md
@@ -0,0 +1,11 @@
---
layout: post
title: Building Our Github.com Pages for SWUFE Drupal
---

{{ page.title }}
================

<p class="meta">01 November 2011 - Chengdu, China</p>

This is some test text that will be updated if it works
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>Tom Preston-Werner</title>
<link href="http://tom.preston-werner.com/atom.xml" rel="self"/>
<link href="http://tom.preston-werner.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://tom.preston-werner.com/</id>
<author>
<name>Mark Koester</name>
<email>mwkteacher@gmail.com</email>
</author>

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

</feed>
197 changes: 197 additions & 0 deletions css/screen.css
@@ -0,0 +1,197 @@
/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */

* {
margin: 0;
padding: 0;
}

html, body {
height: 100%;
}

body {
background-color: white;
font: 13.34px helvetica, arial, clean, sans-serif;
*font-size: small;
text-align: center;
}

h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}

h1 {
margin-bottom: 1em;
}

p {
margin: 1em 0;
}

a {
color: #00a;
}

a:hover {
color: black;
}

a:visited {
color: #a0a;
}

table {
font-size: inherit;
font: 100%;
}

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/

ul.posts {
list-style-type: none;
margin-bottom: 2em;
}

ul.posts li {
line-height: 1.75em;
}

ul.posts span {
color: #aaa;
font-family: Monaco, "Courier New", monospace;
font-size: 80%;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
font-size: 110%;
text-align: justify;
width: 40em;
margin: 3em auto 2em auto;
line-height: 1.5em;
}

.title {
color: #a00;
font-weight: bold;
margin-bottom: 2em;
}

.site .title a {
color: #a00;
text-decoration: none;
}

.site .title a:hover {
color: black;
}

.site .title a.extra {
color: #aaa;
text-decoration: none;
margin-left: 1em;
}

.site .title a.extra:hover {
color: black;
}

.site .meta {
color: #aaa;
}

.site .footer {
font-size: 80%;
color: #666;
border-top: 4px solid #eee;
margin-top: 2em;
overflow: hidden;
}

.site .footer .contact {
float: left;
margin-right: 3em;
}

.site .footer .contact a {
color: #8085C1;
}

.site .footer .rss {
margin-top: 1.1em;
margin-right: -.2em;
float: right;
}

.site .footer .rss img {
border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

#post {

}

/* standard */

#post pre {
border: 1px solid #ddd;
background-color: #eef;
padding: 0 .4em;
}

#post ul,
#post ol {
margin-left: 1.35em;
}

#post code {
border: 1px solid #ddd;
background-color: #eef;
font-size: 85%;
padding: 0 .2em;
}

#post pre code {
border: none;
}

/* terminal */

#post pre.terminal {
border: 1px solid black;
background-color: #333;
color: white;
}

#post pre.terminal code {
background-color: #333;
}

#related {
margin-top: 2em;
}

#related h2 {
margin-bottom: 1em;
}

0 comments on commit 945e103

Please sign in to comment.