You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
354 B
Plaintext

<%
folders =["Media", "Technology", "News"]
%>
<ul class="blogbox">
<% folders.each do |folder| %>
<% if request.path_info == "/" + folder.downcase %>
<li class="asidesubitem grayed"><%= folder.capitalize %></li>
<% else %>
<li class="asidesubitem"><a href="/<%=folder.downcase%>"><%= folder.capitalize %></a></li>
<% end %>
<% end %>
</ul>