Adding github badge

master
Andrew Coleman 2009-03-24 22:38:09 -05:00
parent 4e7a5ce2bd
commit 4ffa5cf9fa
2 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,14 @@
<%= tuxconfig[:related_links].join('<br />') %> <%= tuxconfig[:related_links].join('<br />') %>
</p> </p>
</div> </div>
<% unless tuxconfig[:github_badge_id].to_s.empty? -%>
<div id="github-badge"></div>
<script type="text/javascript" charset="utf-8">
GITHUB_USERNAME="<%= tuxconfig[:github_badge_id] -%>";
</script>
<script src="http://drnic.github.com/github-badges/dist/github-badge-launcher.js" type="text/javascript"></script>
<% end -%>
<% end -%> <% end -%>
<% if @news.empty? -%> <% if @news.empty? -%>

View File

@ -9,6 +9,7 @@
:motto: Demolishing innocence for :motto: Demolishing innocence for
:motto_with_date: true :motto_with_date: true
:logo: penguincoder-logo.png :logo: penguincoder-logo.png
:github_badge_id: penguincoder
:related_links_title: Things I Do :related_links_title: Things I Do
:related_links: :related_links:
- <a href="http://github.com/penguincoder"><img src="/images/utilities-terminal.png" /> Github</a> - <a href="http://github.com/penguincoder"><img src="/images/utilities-terminal.png" /> Github</a>