Permalink
Browse files

Only show profile links on homepage.

  • Loading branch information...
1 parent eba52a6 commit df25eb5c3f4197782108b824619e220dc65b1781 @jasoncodes committed Dec 28, 2010
Showing with 12 additions and 10 deletions.
  1. +12 −10 _layouts/default.html
View
@@ -28,16 +28,18 @@ <h2>Perfect bloggy<span class="period">.</span></h2>
<span class="what">code <span class="amp">&amp;</span> rants</span> of
<a href="http://jasonweathered.com/"{% if page.site_index %} rel="me"{% endif %}><strong class="who">Jason Weathered</strong></a><span class="period">.</span>
</aside>
- <ul class="links">
- {% for item in site.links %}
- <li class="{{ item.key }}">
- <a href="{{ item.url }}"{% if page.site_index %}{% if item.me %} rel="me"{% endif %}{% endif %}>
- <span class="name">{{ item.name }}</span>
- <span class="suffix">{{ item.suffix }}</span>
- </a>
- </li>
- {% endfor %}
- </ul>
+ {% if page.site_index %}
+ <ul class="links">
+ {% for item in site.links %}
+ <li class="{{ item.key }}">
+ <a href="{{ item.url }}"{% if item.me %} rel="me"{% endif %}>
+ <span class="name">{{ item.name }}</span>
+ <span class="suffix">{{ item.suffix }}</span>
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
</header>
{{ content }}
<script type="text/javascript">

0 comments on commit df25eb5

Please sign in to comment.