<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{kg['category']['title']}} - KGCMS</title>
<meta name="keywords" content="{{kg['category']['seokey']}}" />
<meta name="description" content="{{kg['category']['seodescr']}}" />
<meta name="copyright" content="KGCMS {{kg['server']['KGCMS_VERSION']}}" />
<!-- 自适应移动端 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 禁止缩放 -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="{{kg['tpl_url']}}style/article_list.css">
<script src="{{kg['tpl_url']}}script/jquery-3.0.0.min.js"></script>
<script src="{{kg['tpl_url']}}script/bootstrap.min.js"></script>
<script src="{{kg['tpl_url']}}script/common.js"></script>
<script src="{{kg['tpl_url']}}script/article_list.js"></script>
</head>
<body>
<div class="container-fluid ngcon-style">
	{% include 'component_header.tpl' %}
	<div class="row">
		<div class="col-md-3">
			<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm">
				<ul class="nav bs-docs-sidenav" id="left-nav">
					{%- for row in  kg['category']['id']|category() %}
					<li {% if row['id'] == kg['category']['id'] %}class="active"{% endif %}>
						<a href="{{row['url']}}">
							<span class="iconfont icon-dian"></span>
							{{ row['title']}}
						</a>
					</li>
					{%- endfor %}	 					
				</ul>  
			</div>
		</div>
		<div class="col-md-9 ngNo-padding ngar-D1">
			<div class="panel panel-default panY-style">
				<div class="panel-body ngsty-pan">
					<h1 class="page-title sty-title">{{kg['category']['title']}}</h1>	
					<hr class="hr-Rsty">
						{%- set article_data = 0|article_page(10,10,kg['category']['id']) %}
						{%- if article_data['list'] %}
						{%- for row in article_data['list'] %}
						<h2 class="page-Zititle">
							<a href="{{row['url']}}" class="h2-pa">{{row['cut_title']}}</a>
						</h2>
						<div class="ngsty-text">
							<p>{{row['description'] | replace('\n','<br/>')}}</p>
							<a href="{{row['url']}}" class="p-a">{{kg['lang'][0]}} »</a>
						</div>
						{%- endfor %}
						{%- else %}
						<div class="No-content con-syt">{{kg['lang'][1]}}</div>
						{%- endif %}
				</div>
					<hr class="hr-Rsty foo-sty">
			</div>
			{% if article_data['page_data']['total_page'] > 1 %}
			{{article_data['page_html']}}
			{% endif %}
		</div>
	</div>
{% include 'component_footer.tpl' %}
</div>
</body>
</html>
