Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Added external links to _data/external_links.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Nov 8, 2013
1 parent f6a97a8 commit 81dae6e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
19 changes: 19 additions & 0 deletions _data/external_links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- name: GitHub
url: https://github.com/razor-x
image: github.com.png

- name: RubyGems.org
url: https://rubygems.org/profiles/49715
image: rubygems.org.png

- name: Google+
url: https://plus.google.com/118056675600044327520/
image: plus.google.com.png

- name: Facebook
url: https://www.facebook.com/evan.sosenko
image: www.facebook.com.png

- name: Twitter
url: https://twitter.com/ThatsMr_n00b_2u
image: twitter.com.png
25 changes: 1 addition & 24 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
---
external:
- name: GitHub
url: https://github.com/razor-x
image: github.com.png

- name: RubyGems.org
url: https://rubygems.org/profiles/49715
image: rubygems.org.png

- name: Google+
url: https://plus.google.com/118056675600044327520/
image: plus.google.com.png

- name: Facebook
url: https://www.facebook.com/evan.sosenko
image: www.facebook.com.png

- name: Twitter
url: https://twitter.com/ThatsMr_n00b_2u
image: twitter.com.png
---

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
Expand All @@ -41,7 +18,7 @@ <h1 id="banner"><a id="title" href="/">Evan <span></span> Sosenko</a></h1>

<nav id="external">
<ul>
{% for item in page.external %}
{% for item in site.data.external_links %}
<li><a href="{{ item.url }}"><img src="{{ item.image | asset_path }}" width="16" height="16" alt="{{ item.name }}" /></a></li>
{% endfor %}
<li><a href="" data-reveal-id="email_modal">@</a></li>
Expand Down

0 comments on commit 81dae6e

Please sign in to comment.