Created
October 21, 2010 04:45
-
-
Save ericclemmons/637950 to your computer and use it in GitHub Desktop.
Jekyll template
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>{{ page.title }} — CollegeDegrees.com</title> | |
</head> | |
<body> | |
{{ content }} | |
</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
--- | |
layout: default | |
title: Developers' Blog | |
--- | |
<div id="home"> | |
<h1>Blog Posts</h1> | |
<ul class="posts"> | |
{% for post in site.posts %} | |
<li> | |
<span>{{ post.date | date_to_string }}</span> | |
» | |
<a href="{{ post.url }}">{{ post.title }}</a> | |
</li> | |
{% endfor %} | |
</ul> | |
</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
--- | |
layout: default | |
--- | |
<h1>{{ page.title }}</h1> | |
<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> » <a href="{{ post.url }}">{{ post.title }}</a></li> | |
{% endfor %} | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment