<!DOCTYPE html>
<html id="doc">
<head>
    <link rel="icon" href="{{static}}/favicon.ico" type="image/x-icon"/>
    <link rel="shortcut icon" href="{{static}}/favicon.ico" type="image/x-icon"/>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Cache-Control" content="no-transform"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="applicable-device" content="pc,mobile">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    {% raw meta_info %}
    <title>{{sitename}}</title>
    <link rel='stylesheet' id='ecms-block-library-css' href='{{static}}/style.min.css?ver=5.0.2' type='text/css'
          media='all'/>
    <link rel='stylesheet' id='bootstrap-css' href='{{static}}/bootstrap.css?ver=5.0.2' type='text/css' media='all'/>
    <link rel='stylesheet' id='font-awesome-css' href='{{static}}/font-awesome.min.css?ver=5.0.2' type='text/css'
          media='all'/>
    <link rel='stylesheet' id='slicknav-css' href='{{static}}/slicknav.min.css?ver=5.0.2' type='text/css' media='all'/>
    <link rel='stylesheet' id='xs-style-css' href='{{static}}/style.css?ver=5.0.2' type='text/css' media='all'/>
    <link rel='stylesheet' id='responsive-css' href='{{static}}/responsive.css?ver=5.0.2' type='text/css' media='all'/>
    <script type='text/javascript' src='{{static}}/jquery.js?ver=1.12.4'></script>
    <script type='text/javascript' src='{{static}}/jquery-migrate.min.js?ver=1.4.1'></script>
</head>
{% set category=cats(num="") %}
<body class="home blog">
<header id="header">
    <div class="container">
        <div class="header-logo pull-left">
            <h1>{{sitename}}</h1>
            <a title="{{sitename}}" class="logo-url" href="{{siteurl}}"> {{sitename}} </a></div>
        <div class="header-menu pull-right">
            <ul class="header-menu-con sf-menu">
                <li class=""><a href="{{siteurl}}">首页</a></li>
                {% for c_info in category %}
                <li class=""><a href="{{siteurl}}/{{c_info['u']}}/">{{c_info['n']}}</a></li>
                {% end %}
            </ul>
        </div>
        <div id="slick-mobile-menu"></div>
    </div>
</header>
<section id="main" class="p40">
    <div class="container">
        <div class="row">
            <div class="col-md-9 col-sm-8 col-xs-12">
                <div class="content">
                    <div class="con-btm">
                        <div class="row">
                            {% for c_info in cats(num="") %}
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div class="news-box mb10">
                                    <div class="con-title">
                                        <h3><a href="{{siteurl}}/{{c_info['u']}}/" title="{{c_info['n']}}">{{c_info['n']}}</a>
                                        </h3>
                                        <a class="more" href="{{siteurl}}/{{c_info['u']}}/">更多</a></div>
                                    <ul class="new-list mb50">
                                         {% for post in get_article(type="new", col=c_info['u'], area="", key="", rand="", flag="", num=8) %}
                                        <li><a href="{{siteurl}}/{{c_info['u']}}/{{post['id']}}.html" target="_blank"
                                               title="{{post['title']}}">{{post['title']}}</a></li>
                                        {%end%}
                                    </ul>
                                </div>
                            </div>
                            {%end%}

                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-sm-4 hidden-xs">
                <div class="sidebar">
                    <aside id="tag_cloud-2" class="widget widget_tag_cloud">
                    </aside>
                    <aside class="widget widget_ad">

                    </aside>
                    <aside id="rand_post-2" class="widget widget_rand_post">
                        <h3 class="widget-title">随机文章</h3>
                        <ul class="new-list">
                            {% for item in get_article(type="rand", col="", area="", key="", rand="", flag="",num=20) %}
                            <li><a href="{{siteurl}}/{{item['cat_uri']}}/{{item['id']}}.html" target="_blank"
                                   title="{{item['title']}}">{{item['title']}}</a></li>
                            {%end%}
                        </ul>
                    </aside>
                    <aside class="widget widget_ad">
                    </aside>
                    <aside id="hot_post-2" class="widget widget_hot_post">

                    </aside>
                    <aside class="widget widget_ad">

                    </aside>
                </div>
            </div>
        </div>
    </div>
</section>
<section id="footer" class="p30">
    <div class="container">
        <div class="footer-top clearfix">
            <div class="copyr">
                <div class="footer-menu clearfix mb10">
                    <ul class="footer-menu-con">
                        <li><a href="http://www.51yrk.com/">首页</a></li>
                        {% for c_info in cats(num="") %}
                        <li><a href="{{siteurl}}/{{c_info['u']}}/">{{c_info['n']}}</a></li>
                        {% end %}
                    </ul>
                </div>
                <p>Copyright © 2019 <a href="{{siteurl}}">{{sitename}}</a> All Rights Reserved &nbsp;&nbsp;<a
                        target="_blank" href="http://www.miibeian.gov.cn/" rel="nofollow"></a>&nbsp;&nbsp;</p>
            </div>
            <div class="btm-search">
                <form onsubmit="return checkSearchForm()" method="post" name="searchform" id="searchform"
                      class="searchform" action="{{siteurl}}">
                    <input type="text" name="keyboard" class="text" autocomplete="off" placeholder="输入搜索内容">
                    <button class="btn-search"><i class="fa fa-search"></i></button>
                    <input type="hidden" value="title" name="show">
                    <input type="hidden" value="1" name="tempid">
                    <input type="hidden" value="news" name="tbname">
                    <input name="mid" value="1" type="hidden">
                    <input name="dopost" value="search" type="hidden">
                </form>
            </div>
        </div>
        <div class="link mt10">
            <ul></ul>
        </div>
    </div>
</section>
<script type='text/javascript' src='{{static}}/superfish.js?ver=5.0.2'></script>
<script type='text/javascript' src='{{static}}/jquery.slicknav.js?ver=5.0.2'></script>
<script type='text/javascript' src='{{static}}/modernizr.js?ver=5.0.2'></script>
<script type='text/javascript' src='{{static}}/html5.js?ver=5.0.2'></script>
<script type='text/javascript' src='{{static}}/xs.js?ver=5.0.2'></script>
<script type='text/javascript' src='{{static}}/wp-embed.min.js?ver=5.0.2'></script>
<div class="right_bar">
    <ul>
        <li class="rtbar_li1" style="left: 0px;"><a href="tel:13888888888"> <img src="{{static}}/rtbar_liicon3.png">13888888888</a>
        </li>
        <li class="rtbar_li2"><a href="javascript:void(0);"> <img src="{{static}}/rtbar_liicon4.png"> </a>
            <div class="rtbar_shwx" style="display: none;"><img width="188" height="188" alt="微信二维码"
                                                                src="{{static}}/wechat.png"></div>
        </li>
        <li class="rtbar_li3" style="left: 0px;"><a href="tencent://message/?uin=123456789&amp;Menu=yes"> <img
                src="{{static}}/rtbar_liicon2.png"> 点击咨询 </a></li>
        <li class="rtbar_li4 gotop"><a href=""> <img src="{{static}}/rtbar_liicon1.png"> </a></li>
    </ul>
</div>
</body>
</html>
