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
364 B
Plaintext
12 lines
364 B
Plaintext
<%
|
|
folders =["Media", "Technology", "News", "Search"]
|
|
%>
|
|
<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> |