<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/taglib.jsp"%>
<c:forEach var="category" items="${categories}">
	<h2><em><c:out value="${category.name}" /></em></h2>
	<ul class="links">
		<c:forEach var="link" items="${category.links}">
			<li><a href='<c:out value="${link.url}"/>'
				title='<c:out value="${link.description}"/>'> 
				<c:choose>
				<c:when test="${link.image!=null}">
					<img src="<c:out value="${link.image}"/>" border="0"
						alt="<c:out value="${link.title}"/>">
				</c:when>
				<c:otherwise>
					<c:out value="${link.title}" />
				</c:otherwise>
				</c:choose></a>
				<c:if test="${link.rss!=null}">
				<a href="<c:out value="${link.rss}"/>"><img
					src="<c:url value="/images/feedicon12.gif"/>" border=0 alt="rss"></a>
				</c:if></li>
		</c:forEach>
	</ul>
</c:forEach>
