Permalink
Browse files

Added a blog page. Updated mojombo's Post layout to add +1 and Tweet …

…button for each post. Added custom YAML variable for hashtags.
  • Loading branch information...
1 parent 2f4cff5 commit 74b4da43f7091c530a6c9e8f5c9e9786e1873848 @Networc committed Apr 4, 2012
Showing with 33 additions and 0 deletions.
  1. +1 −0 _layouts/default.html
  2. +11 −0 _layouts/post.html
  3. +10 −0 _posts/2012-04-04-keyshanc-overview.md
  4. +11 −0 blog.html
@@ -52,6 +52,7 @@
<a href="/">Andrew C. Reed</a>
<a class="extra" href="/">home</a>
<a class="extra" href="/about.html">about</a>
+ <a class="extra" href="/blog.html">blog</a>
<a class="extra" href="/projects.html">projects</a>
</div>
View
@@ -1,6 +1,17 @@
---
layout: default
---
+<h1>{{ page.title }}</h1>
+<p class="meta">{{ page.date | date_to_string }}</p>
+<div class="social">
+ <div class="share">
+ <div class="g-plusone" data-size="medium"></div>
+ </div>
+ <div class="share">
+ <iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url={{ site.url }}{{ page.url }}&text={{ page.title }}&hashtags={{ page.hashtag }}&via=ac_reed&count=horizontal" style="width:115px; height:21px;"></iframe>
+ </div>
+</div>
+<br />
<div id="post">
{{ content }}
</div>
@@ -0,0 +1,10 @@
+---
+layout: post
+title: Keyshanc Overview
+tags: keyshanc
+description: An overview of the KEYboard SHA-based eNCrypter.
+keywords: keyshanc, keyboard encrypter, keyboard encryption
+hashtag: keyshanc
+---
+
+Placeholder text.
View
@@ -0,0 +1,11 @@
+---
+layout: default
+title: Blog
+description: A listing of Andrew C. Reed's blog posts.
+---
+<h1>Blog Posts</h1>
+<ul class="posts">
+ {% for post in site.posts %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+</ul>

0 comments on commit 74b4da4

Please sign in to comment.