<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%=WebSiteConfig.SiteTitle%></title>
    <meta name="keywords" content="<%=WebSiteConfig.Keywords%>" />
    <meta name="description" content="<%=WebSiteConfig.Description%>" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />  
    <link href="<%path:%>css/base.css" rel="stylesheet" />
</head>
<body>
    <!--head-->
    <%template:_head.html%>
    <!--body-->
    <div class="body">
       <div class="home">
        <%foreach(var row in GetCategoryList(id:0)){%>
        <div class="list">
            <a href="/<%=row["CategoryAliasName"]%>/"><%=row["CategoryName"]%></a>
            <%foreach(var row2 in GetCategoryList(id:Convert.ToInt32(row["CategoryID"]))){%>
            <a href="/<%=row2["CategoryAliasName"]%>/"><%=row2["CategoryName"]%></a>
            <%}%>
        </div>
        <%}%>
       </div>
    </div>
    <!--foot-->
    <%template:_foot.html%>
</body>
</html>
