From 4ffa5cf9fa2ec2645ccb8ba5ecc3d55513ff7056 Mon Sep 17 00:00:00 2001
From: Andrew Coleman
Date: Tue, 24 Mar 2009 22:38:09 -0500
Subject: [PATCH] Adding github badge
---
app/views/news/index.html.erb | 8 ++++++++
config/plugins.yml.template | 1 +
2 files changed, 9 insertions(+)
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index 3f9708b..64aafdd 100644
--- a/app/views/news/index.html.erb
+++ b/app/views/news/index.html.erb
@@ -10,6 +10,14 @@
<%= tuxconfig[:related_links].join('
') %>
+
+ <% unless tuxconfig[:github_badge_id].to_s.empty? -%>
+
+
+
+ <% end -%>
<% end -%>
<% if @news.empty? -%>
diff --git a/config/plugins.yml.template b/config/plugins.yml.template
index 39f6c66..f9071a8 100644
--- a/config/plugins.yml.template
+++ b/config/plugins.yml.template
@@ -9,6 +9,7 @@
:motto: Demolishing innocence for
:motto_with_date: true
:logo: penguincoder-logo.png
+ :github_badge_id: penguincoder
:related_links_title: Things I Do
:related_links:
- Github