
class Html_Body:
    str1='''

  
 
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    
    
<title>LoachBlog</title>
<meta name="description" content="LoachBlog个人笔记,程序笔记,python笔记">
<meta name="keywords" content="首页,LoachBlog,LoachBlog个人笔记">

    <meta name="HandheldFriendly" content="True">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/static/blog/favicon.ico">
    <link rel="stylesheet" href="/static/blog/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/blog/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/static/blog/css/screen.css">

    <!--live2d-->
    <link rel="stylesheet" type="text/css" href="/static/blog/live2d/css/live2d.css">

    <script type="text/javascript" src="/static/blog/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/blog/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/blog/js/jquery-1.7.2.min.js"></script>
    <!--引入时间轴js和css-->
    <link rel="stylesheet" href="/static/blog/dates/css/timeline.css">
    <script type="text/javascript" src="/static/blog/dates/js/modernizr.js"></script>
    <!--火箭-->
    <script type="text/javascript" src="/static/blog/js/data.js"></script>
    <!--鼠标点击爱心-->
    <script type="text/javascript" src="/static/blog/js/love.js"></script>

    <!--live2d 二次元-->
    <script>
    var message_Path = "/static/blog/live2d/";//资源目录，如果目录不对请更改
    var talkAPI = "/tuling/";//如果有类似图灵机器人的聊天接口请填写接口路径
    </script>
    <script type="text/javascript" src="/static/blog/live2d/js/live2d.js"></script>
    <script type="text/javascript">
    $.ajaxSetup({
        data: {csrfmiddlewaretoken: 'dxJz9rwj1kO5o4JMNCezb16H57NUdLcmEW7qYOdG43O59VNEJpJulfYiueVvPBWY' },
    });
    </script>
    <script type="text/javascript" src="/static/blog/live2d/js/message.js"></script>
    <link href="https://cdn.bootcss.com/aplayer/1.10.1/APlayer.min.css" rel="stylesheet">




    
    

    
    

    <!-- 代码样式-->
    
    

</head>


<body class="home-template">

    <!-- start header -->
    <header class="main-header" style="background-image: url(/static/blog/img/headerbg.jpg)">
        <div class="container ">
            <div class="row ">
                <div class="col-sm-12 ">
                    <!-- start logo -->
                    <a class="branding " href="/" title="LoachBlog个人笔记">
                        <img class="headimg" src="/static/blog/img/logo.png" alt="LoachBlog">
                    </a>
                    <h1>
                        <font color="#ffffff">LoachBlog</font> 个人笔记</h1>
                    <!-- end logo -->
                </div>
            </div>
        </div>
    </header>
    <!-- end header -->
    
<!-- start navigation -->
<nav class="main-navigation">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="navbar-header">
                    <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#main-menu" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <i class="fa fa-bars"></i>
                    </span>
                </div>
                <div class="navbar-collapse collapse" id="main-menu" aria-expanded="false" style="height: 1px;">
                    <ul class="menu">
                        <li class="nav-current" role="presentation">
                            <a href="/">首页</a>
                        </li>
                        <li role="presentation">
                            <a href="/categorys/">笔记分类</a>
                        </li>
                        <li role="presentation">
                            <a href="/dates/">时间轴</a>
                        </li>
                        <li role="presentation">
                            <a href="/about/">关于我</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</nav>
<!-- end navigation -->



    <!-- start site's main content area -->
    <section class="content-wrap">
        <div class="container">
            <div class="row">

                <main class="col-md-8 main-content">
                      
<article class='post tag-about-ghost tag-release featured'>
    <div class='featured' title='推荐文章'>
        <i class='fa fa-star'></i>
    </div>
    <div class='post-head'>
        <h1 class='post-title'>
            <a href=''>Centos7.2 安装Nginx</a>
        </h1>
        <div class='post-meta'>
            <span class='author'>作者：
                <a href="/about/">admin</a>
            </span>
            <span class='author'>分类：
                <a href="/category/9/">Nginx</a>
            </span>
            <time class='post-date' datetime='2018年10月15日 14:26' title='发表时间'>2018年10月15日 14:26</time>
            <span>阅读:
                <a href="#">177次</a>
            </span>
            <span>评论:
                <a href="/post/9/#comment-area">0条</a>
            </span>
        </div>
    </div>
    <div class='post-content'>
        <p>NginxNginx (engine x) 是一个高性能的HTTP和反向代理服务，也是一个IMAP/POP3/SMTP服务。Nginx是由伊戈尔·赛索耶夫为俄罗斯访问量第二的Rambler.ru站</p>
    </div>
    <div class='post-permalink'>
        <a href='/post/9/' class='btn btn-default'>阅读全文</a>
    </div>
</article>

<article class='post tag-about-ghost tag-release featured'>
    <div class='featured' title='推荐文章'>
        <i class='fa fa-star'></i>
    </div>
    <div class='post-head'>
        <h1 class='post-title'>
            <a href=''>腾讯云Centos7.2 python3坏境搭建</a>
        </h1>
        <div class='post-meta'>
            <span class='author'>作者：
                <a href="/about/">admin</a>
            </span>
            <span class='author'>分类：
                <a href="/category/1/">Python</a>
            </span>
            <time class='post-date' datetime='2018年10月14日 13:54' title='发表时间'>2018年10月14日 13:54</time>
            <span>阅读:
                <a href="#">343次</a>
            </span>
            <span>评论:
                <a href="/post/8/#comment-area">0条</a>
            </span>
        </div>
    </div>
    <div class='post-content'>
        <p>Centos为什么默认装python2
因为Centos系统有些命令依赖于python3,比如yum它使用的是python2.7.5.一旦你删掉了python2，那么你系统的一些指令就不能使用了。所</p>
    </div>
    <div class='post-permalink'>
        <a href='/post/8/' class='btn btn-default'>阅读全文</a>
    </div>
</article>

<article class='post tag-about-ghost tag-release featured'>
    <div class='featured' title='推荐文章'>
        <i class='fa fa-star'></i>
    </div>
    <div class='post-head'>
        <h1 class='post-title'>
            <a href=''>django缓存配置</a>
        </h1>
        <div class='post-meta'>
            <span class='author'>作者：
                <a href="/about/">admin</a>
            </span>
            <span class='author'>分类：
                <a href="/category/8/">缓存系统</a>
            </span>
            <time class='post-date' datetime='2018年10月10日 12:45' title='发表时间'>2018年10月10日 12:45</time>
            <span>阅读:
                <a href="#">695次</a>
            </span>
            <span>评论:
                <a href="/post/7/#comment-area">0条</a>
            </span>
        </div>
    </div>
    <div class='post-content'>
        <p>Django 支持的缓存类型内存(local-memory caching)文件(FileSystem caching)数据库(Database caching)Memcache缓</p>
    </div>
    <div class='post-permalink'>
        <a href='/post/7/' class='btn btn-default'>阅读全文</a>
    </div>
</article>

<article class='post tag-about-ghost tag-release featured'>
    <div class='featured' title='推荐文章'>
        <i class='fa fa-star'></i>
    </div>
    <div class='post-head'>
        <h1 class='post-title'>
            <a href=''>Memcached缓存系统-求道篇</a>
        </h1>
        <div class='post-meta'>
            <span class='author'>作者：
                <a href="/about/">admin</a>
            </span>
            <span class='author'>分类：
                <a href="/category/8/">缓存系统</a>
            </span>
            <time class='post-date' datetime='2018年10月9日 15:22' title='发表时间'>2018年10月9日 15:22</time>
            <span>阅读:
                <a href="#">795次</a>
            </span>
            <span>评论:
                <a href="/post/6/#comment-area">0条</a>
            </span>
        </div>
    </div>
    <div class='post-content'>
        <p>MemcachedMemcached是一个高性能的分布式内存对象缓存系统，用于动态web应用以减轻数据库负载。它通过在内存中缓存数据和对象减少读取数据库的次数，从而提供动态、数据库驱动网站的速度。</p>
    </div>
    <div class='post-permalink'>
        <a href='/post/6/' class='btn btn-default'>阅读全文</a>
    </div>
</article>

<article class='post tag-about-ghost tag-release featured'>
    <div class='featured' title='推荐文章'>
        <i class='fa fa-star'></i>
    </div>
    <div class='post-head'>
        <h1 class='post-title'>
            <a href=''>缓存系统-问道篇</a>
        </h1>
        <div class='post-meta'>
            <span class='author'>作者：
                <a href="/about/">admin</a>
            </span>
            <span class='author'>分类：
                <a href="/category/8/">缓存系统</a>
            </span>
            <time class='post-date' datetime='2018年10月9日 15:03' title='发表时间'>2018年10月9日 15:03</time>
            <span>阅读:
                <a href="#">840次</a>
            </span>
            <span>评论:
                <a href="/post/5/#comment-area">0条</a>
            </span>
        </div>
    </div>
    <div class='post-content'>
        <p>为什么是用缓存？减少服务器的负担，避免重复计算，提高系统性能，提高网站的访问速度。缓存是怎么应运而生的？1、静态网站的访问方式：客户端-&amp;gt;请求服务器-&amp;gt;服务器返回静态页面-&amp;g</p>
    </div>
    <div class='post-permalink'>
        <a href='/post/5/' class='btn btn-default'>阅读全文</a>
    </div>
</article>
 

<nav class="page" role="navigation">
    <ul class="pagination">
         
        
        <li class="active">
            <a href="#">1
                <span class="sr-only">(current)</span>
            </a>
        </li>
         
        
        <li>
            <a href="?page=2">2</a>
        </li>
         
         
         
        
    </ul>
</nav>
 

                </main>

                <aside class="col-md-4 sidebar">

                    
                    <div class="widget">
                            <h4 class="title">个人中心</h4>
                            <form role="search" method="GET" id="user-login-form" action="/accounts/login/">
                                <div class="content community">
                                    <p>
                                        <button type="submit" class="btn btn-link">登录</button>
                                    </p>
                                </div>
                            </form>
                    </div>
                    

                    <div class="widget">
                        <h4 class="title">搜索</h4>
                        <form role="search" method="GET" id="searchform" action="/search/">
                            <div class="content community">
                                <p>
                                    <input name="q" type="text" required />
                                    <button type="submit" class="btn btn-default">搜索</button>
                                </p>
                            </div>
                        </form>
                    </div>

                     
<div class="widget">
    <h4 class="title">最新笔记</h4>
    <div class="content recent-post">

        <div class='recent-single-post'>
            
            <ul class="list-group">
                
                <li class="list-group-item">
                    <a href='/post/9/' class='post-title'>Centos7.2 安装Nginx</a>

                </li>
                
                <li class="list-group-item">
                    <a href='/post/8/' class='post-title'>腾讯云Centos7.2 python3坏境搭建</a>

                </li>
                
                <li class="list-group-item">
                    <a href='/post/7/' class='post-title'>django缓存配置</a>

                </li>
                
                <li class="list-group-item">
                    <a href='/post/6/' class='post-title'>Memcached缓存系统-求道篇</a>

                </li>
                
                <li class="list-group-item">
                    <a href='/post/5/' class='post-title'>缓存系统-问道篇</a>

                </li>
                
            </ul>
        </div>

    </div>
</div>

<div class="widget">
    <h4 class="title">笔记分类</h4>
    <div class="content tag-cloud">
         
        <a href="/category/1/">Python(
            <font color="blue">1</font>)</a>
        
        <a href="/category/2/">Django(
            <font color="blue">1</font>)</a>
        
        <a href="/category/6/">网站历程(
            <font color="blue">1</font>)</a>
        
        <a href="/category/7/">网站部署(
            <font color="blue">1</font>)</a>
        
        <a href="/category/8/">缓存系统(
            <font color="blue">3</font>)</a>
        
        <a href="/category/9/">Nginx(
            <font color="blue">1</font>)</a>
        
    </div>
</div>

<div class="widget">
    <h4 class="title">笔记归档</h4>
    <div class="content download">
         
         
        
        <div class='panel-group' id='accordion' role='tablist' aria-multiselectable='true'>
            <div class='panel panel-default'>
                <div class='panel-heading'>
                    <h4 class='panel-title'>
                        <a data-toggle='collapse' data-parent='#accordion' href='#collapse2018' aria-expanded='true' aria-controls='collapse2012"'>2018年</a>
                        <right>
                            <span class='badge' style='float:right;'>8篇</span>
                        </right>
                    </h4>
                </div>
                <div id='collapse2018' class='panel-collapse collapse' role='tabpanel'>
                    <div class='panel-body'>
                        <ul class='list-group'>
                             
                            <li class='list-group-item'>
                                <span class='badge'>5篇</span>
                                <a href="/archives/2018/10/">10月</a>
                            </li>
                            
                            <li class='list-group-item'>
                                <span class='badge'>2篇</span>
                                <a href="/archives/2018/5/">5月</a>
                            </li>
                            
                            <li class='list-group-item'>
                                <span class='badge'>1篇</span>
                                <a href="/archives/2018/3/">3月</a>
                            </li>
                            
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        
    </div>
</div>

<div class="widget">
    <h4 class="title">标签云</h4>
    <div class="content tag-cloud">
         
        <a href="/tag/1/">python(<font color="blue">3</font>)</a>
        
        <a href="/tag/2/">django(<font color="blue">3</font>)</a>
        
        <a href="/tag/3/">网站上线(<font color="blue">2</font>)</a>
        
        <a href="/tag/4/">SSL(<font color="blue">1</font>)</a>
        
        <a href="/tag/5/">https(<font color="blue">1</font>)</a>
        
        <a href="/tag/6/">centos7.4(<font color="blue">2</font>)</a>
        
        <a href="/tag/7/">nginx(<font color="blue">2</font>)</a>
        
        <a href="/tag/8/">网站部署(<font color="blue">3</font>)</a>
        
        <a href="/tag/9/">syrus-sasl(<font color="blue">1</font>)</a>
        
        <a href="/tag/10/">postfix(<font color="blue">1</font>)</a>
        
        <a href="/tag/11/">dovecot(<font color="blue">1</font>)</a>
        
        <a href="/tag/12/">邮件服务器(<font color="blue">1</font>)</a>
        
        <a href="/tags/">更多</a>
    </div>
</div>

<div class="widget">
    <h4 class="title">订阅</h4>
    <div class="content">
        <a href="/all/rss/" target="_blank">
            <i class="fa fa-rss fa-lg"></i>
        </a>
    </div>
</div>


                </aside>

            </div>
        </div>
    </section>

    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">最新文章</h4>
                        <div class="content recent-post">

                            <div class='recent-single-post'>
                                 
                                <a href='/post/9/' class='post-title'>Centos7.2 安装Nginx</a>
                                <div class='date'>2018年10月15日 14:26</div>
                                
                                <a href='/post/8/' class='post-title'>腾讯云Centos7.2 python3坏境搭建</a>
                                <div class='date'>2018年10月14日 13:54</div>
                                
                                <a href='/post/7/' class='post-title'>django缓存配置</a>
                                <div class='date'>2018年10月10日 12:45</div>
                                
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                             
                            <a href="/tag/1/">python(
                                <font color="#ffffff">3</font>)</a>
                            
                            <a href="/tag/2/">django(
                                <font color="#ffffff">3</font>)</a>
                            
                            <a href="/tag/3/">网站上线(
                                <font color="#ffffff">2</font>)</a>
                            
                            <a href="/tag/4/">SSL(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tag/5/">https(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tag/6/">centos7.4(
                                <font color="#ffffff">2</font>)</a>
                            
                            <a href="/tag/7/">nginx(
                                <font color="#ffffff">2</font>)</a>
                            
                            <a href="/tag/8/">网站部署(
                                <font color="#ffffff">3</font>)</a>
                            
                            <a href="/tag/9/">syrus-sasl(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tag/10/">postfix(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tag/11/">dovecot(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tag/12/">邮件服务器(
                                <font color="#ffffff">1</font>)</a>
                            
                            <a href="/tags/">更多</a>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">合作伙伴</h4>
                        <div class="content tag-cloud friend-links">                         
                            <a href="http://www.weibo.com/u/2734251684?is_all=1" title="loach" target="_blank"><i class="fa fa-weibo"></i>我的微博</a>
                            <a href="mailto:zhangbailong945@outlook.com" title="zhangbailong945@outlook.com" target="_blank"><i class="fa fa-comments"></i>留言给我</a>
                            <hr>
                            <a href="#" title="虚拟以待" target="_blank">虚拟以待</a>
                            <a href="#" title="虚拟以待" target="_blank">虚拟以待</a>
                            <hr>
                            <a href="#" title="虚拟以待" target="_blank">虚拟以待</a>
                            <a href="#" title="虚拟以待" target="_blank">虚拟以待</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <span>Copyright &copy;
                        <a href="/">LoachBlog个人笔记</a>
                    </span> |
                    <span>
                        <a href="http://www.miibeian.gov.cn/" target="_blank">粤ICP备16026304号-2</a>
                    </span>
                </div>
            </div>
        </div>
    </div>

    <!--<a href="#" id="back-to-top" style="display: block;"><i class="fa fa-angle-up"></i></a>-->
    <div id="shape">
        <div class="shapeColor">
            <div class="shapeFly">
            </div>
        </div>
    </div>

    <!--live2d 二次元妹纸 开始 -->
    <div id="landlord" style="left:5px;bottom:0px;">
        <div class="message" style="opacity:0"></div>
        <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
        <div class="live_talk_input_body">
            <div class="live_talk_input_name_body">
                <input name="name" type="text" class="live_talk_name white_input" id="AIuserName" autocomplete="off" placeholder="你的名字" />
            </div>
            <div class="live_talk_input_text_body">
                <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀？"/>
                <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
            </div>
        </div>
        <input name="live_talk" id="live_talk" value="1" type="hidden" />
        <div class="live_ico_box">
            <div class="live_ico_item type_info" id="showInfoBtn"></div>
            <div class="live_ico_item type_talk" id="showTalkBtn"></div>
            <div class="live_ico_item type_music" id="musicButton"></div>
            <div class="live_ico_item type_youdu" id="youduButton"></div>
            <div class="live_ico_item type_quit" id="hideButton"></div>
            <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
            <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
            <input name="live2dBGM" value="http://olwo7m4ps.bkt.clouddn.com/BEYOND%20-%20%E9%80%9D%E5%8E%BB%E6%97%A5%E5%AD%90.mp3" type="hidden">
            <input id="duType" value="douqilai,l2d_caihong" type="hidden">
        </div>
    </div>
    <div id="open_live2d">召唤萌妹纸</div>
    <!--live2d 二次元妹纸 结束-->
    <div id="aplayer"></div>
    <script src="https://cdn.bootcss.com/aplayer/1.10.1/APlayer.min.js"></script>
    <script>
    const ap = new APlayer({
        container: document.getElementById('aplayer'),
        fixed: true,
        listFolded:false,
        listMaxHeight:90,
        lrcType:3,
        audio: [{
            name: '逝去日子',
            artist: 'beyond',
            url: 'http://olwo7m4ps.bkt.clouddn.com/BEYOND%20-%20%E9%80%9D%E5%8E%BB%E6%97%A5%E5%AD%90.mp3',
            cover: 'http://olwo7m4ps.bkt.clouddn.com/hjj.png',
            lrc:'http://olwo7m4ps.bkt.clouddn.com/%E9%80%9D%E5%8E%BB%E6%97%A5%E5%AD%90.lrc',
        }]
    });
    </script>


    
    

    
    
    

        
    <!-- 代码高亮JS-->
    
    


</body>
</html>
'''