index.html 25.9 KB
Newer Older
T
TRHX 已提交
1
<!DOCTYPE html>
T
TRHX 已提交
2
<html>
T
TRHX 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<head>
  <meta charset="utf-8">
  
  <title>TRHX&#39;s Blog - Live and Learn!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="一个大学生用于自学的个人博客">
<meta property="og:type" content="website">
<meta property="og:title" content="TRHX&#39;s Blog - Live and Learn!">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="TRHX&#39;s Blog - Live and Learn!">
<meta property="og:description" content="一个大学生用于自学的个人博客">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TRHX&#39;s Blog - Live and Learn!">
<meta name="twitter:description" content="一个大学生用于自学的个人博客">
  
    <link rel="alternative" href="/atom.xml" title="TRHX&#39;s Blog - Live and Learn!" type="application/atom+xml">
T
TRHX 已提交
20
  
T
TRHX 已提交
21
  
T
TRHX 已提交
22
    <link rel="icon" href="/img/trhx2.png">
T
TRHX 已提交
23
  
T
TRHX 已提交
24
  
T
TRHX 已提交
25
      <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
T
TRHX 已提交
26
  
T
TRHX 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  <link rel="stylesheet" href="/css/style.css">
  <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  
    
    
  
  
      <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  
  <!-- 加载特效 -->
    <script src="/js/pace.js"></script>
    <link href="/css/pace/pace-theme-flash.css" rel="stylesheet" />
  <script>
      var yiliaConfig = {
T
TRHX 已提交
42
          rootUrl: '/',
T
TRHX 已提交
43 44 45 46 47 48 49 50 51 52
          fancybox: true,
          animate: true,
          isHome: true,
          isPost: false,
          isArchive: false,
          isTag: false,
          isCategory: false,
          open_in_new: false
      }
  </script>
T
TRHX 已提交
53
</head>
T
TRHX 已提交
54 55 56 57 58 59 60
<body>
  <div id="container">
    <div class="left-col">
    <div class="overlay"></div>
<div class="intrude-less">
    <header id="header" class="inner">
        <a href="/" class="profilepic">
T
TRHX 已提交
61
            
T
TRHX 已提交
62
            <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
63
            
T
TRHX 已提交
64
        </a>
T
TRHX 已提交
65

T
TRHX 已提交
66
        <hgroup>
T
TRHX 已提交
67
          <h1 class="header-author"><a href="/" title="Hi Mate">TRHX</a></h1>
T
TRHX 已提交
68
        </hgroup>
T
TRHX 已提交
69

T
TRHX 已提交
70 71 72 73
        
        <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
        
        
T
TRHX 已提交
74
            <form>
T
TRHX 已提交
75
                <input type="text" class="st-default-search-input search" id="search" placeholder=" Search...">
T
TRHX 已提交
76 77
            </form>
        
T
TRHX 已提交
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
        
            <div id="switch-btn" class="switch-btn">
                <div class="icon">
                    <div class="icon-ctn">
                        <div class="icon-wrap icon-house" data-idx="0">
                            <div class="birdhouse"></div>
                            <div class="birdhouse_holes"></div>
                        </div>
                        <div class="icon-wrap icon-ribbon hide" data-idx="1">
                            <div class="ribbon"></div>
                        </div>
                        
                        <div class="icon-wrap icon-link hide" data-idx="2">
                            <div class="loopback_l"></div>
                            <div class="loopback_r"></div>
                        </div>
                        
                        
T
TRHX 已提交
96 97 98 99 100
                        <div class="icon-wrap icon-me hide" data-idx="3">
                            <div class="user"></div>
                            <div class="shoulder"></div>
                        </div>
                        
T
TRHX 已提交
101
                    </div>
T
TRHX 已提交
102
                    
T
TRHX 已提交
103 104 105 106 107
                </div>
                <div class="tips-box hide">
                    <div class="tips-arrow"></div>
                    <ul class="tips-inner">
                        <li>菜单</li>
T
TRHX 已提交
108
                        <li>标签云</li>
T
TRHX 已提交
109
                        
T
TRHX 已提交
110
                        <li>友情链接</li>
T
TRHX 已提交
111 112
                        
                        
T
TRHX 已提交
113
                        <li>关于我</li>
T
TRHX 已提交
114
                        
T
TRHX 已提交
115 116 117 118
                    </ul>
                </div>
            </div>
        
T
TRHX 已提交
119

T
TRHX 已提交
120 121 122 123 124 125
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
T
TRHX 已提交
126
                            <li><a href="http://trhx.top">博客首页</a></li>
T
TRHX 已提交
127
                        
T
TRHX 已提交
128
                            <li><a href="/archives">所有文章</a></li>
T
TRHX 已提交
129
                        
T
TRHX 已提交
130
                            <li><a href="/tags">静心阅读</a></li>
T
TRHX 已提交
131
                        
T
TRHX 已提交
132
                            <li><a href="/about">关于我</a></li>
T
TRHX 已提交
133 134 135 136 137 138
                        
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
T
TRHX 已提交
139 140 141
                                <a class="fl github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
                            
                                <a class="fl zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="zhihu">zhihu</a>
T
TRHX 已提交
142
                            
T
TRHX 已提交
143
                                <a class="fl mail" target="_blank" href="mailto:&#116;&#114;&#104;&#120;&#64;&#102;&#111;&#120;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;" title="mail">mail</a>
T
TRHX 已提交
144 145 146
                            
                                <a class="fl QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes" title="QQ">QQ</a>
                            
T
TRHX 已提交
147
                                <a class="fl weibo" target="_blank" href="http://weibo.com/TRHX1" title="weibo">weibo</a>
T
TRHX 已提交
148
                            
T
TRHX 已提交
149
                                <a class="fl rss" target="_blank" href="https://blog.csdn.net/qq_36759224" title="rss">rss</a>
T
TRHX 已提交
150 151 152 153 154
                            
                        </ul>
                    </nav>
                </section>
                
T
TRHX 已提交
155
                
T
TRHX 已提交
156 157
                <section class="switch-part switch-part2">
                    <div class="widget tagcloud" id="js-tagcloud">
T
TRHX 已提交
158
                        <a href="/tags/Github-Pages/" style="font-size: 10px;">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 10px;">Hexo</a> <a href="/tags/Markdown/" style="font-size: 10px;">Markdown</a> <a href="/tags/技巧/" style="font-size: 10px;">技巧</a>
T
TRHX 已提交
159 160 161 162
                    </div>
                </section>
                
                
T
TRHX 已提交
163
                
T
TRHX 已提交
164 165 166
                <section class="switch-part switch-part3">
                    <div id="js-friends">
                    
T
TRHX 已提交
167
                      <a target="_blank" class="main-nav-link switch-friends-link" href="https://www.hojun.cn">hojun</a>
T
TRHX 已提交
168
                    
T
TRHX 已提交
169
                      <a target="_blank" class="main-nav-link switch-friends-link" href="https://luotaocheng.github.io">luotaocheng</a>
T
TRHX 已提交
170 171 172 173
                    
                    </div>
                </section>
                
T
TRHX 已提交
174 175 176 177 178

                
                
                <section class="switch-part switch-part4">
                
T
TRHX 已提交
179
                    <div id="js-aboutme">业余单车运动员、菜鸟级软件工程大学生、爱折腾、爱刺激、爱编程、爱科技</div>
T
TRHX 已提交
180
                </section>
T
TRHX 已提交
181 182
                
            </div>
T
TRHX 已提交
183
        </div>
T
TRHX 已提交
184
    </header>                
T
TRHX 已提交
185
</div>
T
TRHX 已提交
186 187 188

<div style="position:absolute; bottom:100px; left:0px; width:50%">
    <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=300 height=86 src="//music.163.com/outchain/player?type=2&id=32405683&auto=1&height=66"></iframe>
T
TRHX 已提交
189 190 191 192 193 194
</div>
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
T
TRHX 已提交
195
          <h1 class="header-author js-mobile-header hide"><a href="/" title="Me">TRHX</a></h1>
T
TRHX 已提交
196
      </div>
T
TRHX 已提交
197 198 199 200
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
T
TRHX 已提交
201
                    <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
202 203 204
                
            </a>
            <hgroup>
T
TRHX 已提交
205
              <h1 class="header-author"><a href="/" title="Me">TRHX</a></h1>
T
TRHX 已提交
206 207 208 209 210 211 212
            </hgroup>
            
            <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
            
            <nav class="header-menu">
                <ul>
                
T
TRHX 已提交
213
                    <li><a href="http://trhx.top">博客首页</a></li>
T
TRHX 已提交
214
                
T
TRHX 已提交
215
                    <li><a href="/archives">所有文章</a></li>
T
TRHX 已提交
216 217
                
                    <li><a href="/tags">静心阅读</a></li>
T
TRHX 已提交
218
                
T
TRHX 已提交
219
                    <li><a href="/about">关于我</a></li>
T
TRHX 已提交
220 221 222 223 224 225 226
                
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
T
TRHX 已提交
227 228
                        <a class="github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
                    
T
TRHX 已提交
229
                        <a class="zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="zhihu">zhihu</a>
T
TRHX 已提交
230
                    
T
TRHX 已提交
231
                        <a class="mail" target="_blank" href="mailto:&#116;&#114;&#104;&#120;&#64;&#102;&#111;&#120;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;" title="mail">mail</a>
T
TRHX 已提交
232 233 234
                    
                        <a class="QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes" title="QQ">QQ</a>
                    
T
TRHX 已提交
235 236
                        <a class="weibo" target="_blank" href="http://weibo.com/TRHX1" title="weibo">weibo</a>
                    
T
TRHX 已提交
237
                        <a class="rss" target="_blank" href="https://blog.csdn.net/qq_36759224" title="rss">rss</a>
T
TRHX 已提交
238 239 240
                    
                </div>
            </nav>
T
TRHX 已提交
241
        </header>                
T
TRHX 已提交
242
    </div>
T
TRHX 已提交
243 244 245
</nav>
      <div class="body-wrap">
  
T
TRHX 已提交
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
    <article id="post-Hexo 博客主题个性化" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2018/08/27/Hexo 博客主题个性化/" class="article-date">
      <time datetime="2018-08-27T11:30:02.763Z" itemprop="datePublished">2018-08-27</time>
</a>
    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
    <div class="article-entry" itemprop="articleBody">
      
          
        <hr>
<p>title:Hexo 博客主题个性化</p>
<p>categories:  </p>
<ul>
<li>实用教程</li>
</ul>
<hr>
<font color="#4094C7" size="4"><br><strong>本文将讲述一些博客主题的美化、实用功能的添加,不同主题可能方法有些不同(本文以作者 luuman 的 <a href="https://github.com/luuman/hexo-theme-spfk" target="_blank" rel="noopener">spfk</a> 主题为例)</strong><br></font>

<hr>
<h1 id="–-添加评论系统"><a href="#–-添加评论系统" class="headerlink" title=" – 添加评论系统 "></a><font color="#FF0000"> – 添加评论系统 </font></h1><p>主流的评论系统有很多,比如:网易云跟帖、多说、友言、畅言、来必力(LiveRe)、Disqus、Valine、Gitment等等,目前网易云跟帖、多说、友言都已经关闭了,还有些可能需要翻墙,比较麻烦,百度了一下,最后还是选择了来必力评论系统</p>
<p>进入<a href="https://livere.com" target="_blank" rel="noopener">来必力官网</a>,注册一个账号(注册时可能需要翻墙)<br><br></p>
<p><img src="https://i.imgur.com/mNjUFeP.png" alt="">  </p>
<p><br><br>注册完毕之后,登录,进入安装页面,选择 City 免费版安装,安装之后你会得到一段代码<br><br></p>
<p><img src="https://i.imgur.com/I3DXQMC.png" alt=""></p>
<p><img src="https://i.imgur.com/GUROoY0.png" alt=""></p>
<p><img src="https://i.imgur.com/sCi7KKc.png" alt="">  </p>
<p><br><br>我们打开主题文件下的 <font color="#FF0000">_config.yml</font> 文件,添加如下代码:<br><br></p>
<p><img src="https://i.imgur.com/Lwfd9pZ.png" alt="">  </p>
<p><br><br><font color="#FF0000">\themes\hexo-theme-spfk\layout\_partial\comments</font> 文件夹下新建一个 <font color="#FF0000">livere.ejs</font> 的文件,在里面填写来必力提供的代码:</p>
<pre><code>&lt;!-- 来必力City版安装代码 --&gt;
&lt;div id=&quot;lv-container&quot; data-id=&quot;city&quot; data-uid=&quot;这里是你的uid&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
   (function(d, s) {
   var j, e = d.getElementsByTagName(s)[0];

   if (typeof LivereTower === &apos;function&apos;) { return; }

   j = d.createElement(s);
   j.src = &apos;https://cdn-city.livere.com/js/embed.dist.js&apos;;
   j.async = true;

   e.parentNode.insertBefore(j, e);
   })(document, &apos;script&apos;);
&lt;/script&gt;
&lt;noscript&gt;为正常使用来必力评论功能请激活JavaScript&lt;/noscript&gt;
&lt;/div&gt;
&lt;!-- City版安装代码已完成 --&gt;
</code></pre><p>打开 <font color="#FF0000">\themes\hexo-theme-spfk\layout\_partial\article.ejs </font>文件,在适当位置添加如下红框中的代码:  </p>
<p><br><br><img src="https://i.imgur.com/OgKwuQY.png" alt="">  </p>
<p><br><br>完成以上操作之后,我们就可以使用来必力评论系统了<br><br></p>
<p><img src="https://i.imgur.com/9oCg3Gx.png" alt=""><br><br></p>
<hr>
<h1 id="–-添加卡通人物"><a href="#–-添加卡通人物" class="headerlink" title=" – 添加卡通人物 "></a><font color="#FF000"> – 添加卡通人物 </font></h1><p>我在逛别人博客的时候偶然发现右下角居然有一个萌萌的卡通人物,还能根据你鼠标位置摇头,瞬间被吸引到了,赶紧也给自己博客添加一个吧!<a href="https://github.com/EYHN/hexo-helper-live2d" target="_blank" rel="noopener">点击此处</a>进入该项目地址  </p>
<p>输入如下命令获取 live2d :</p>
<pre><code>$ npm install --save hexo-helper-live2d  
</code></pre><p>输入以下命令,下载相应的模型,将 <font color="#FF0000">packagename</font> 更换成模型名称即可,更多模型选择请<a href="https://github.com/xiazeyu/live2d-widget-models" target="_blank" rel="noopener">点击此处</a>,各个模型的预览请<a href="https://huaji8.top/post/live2d-plugin-2.0/" target="_blank" rel="noopener">访问原作者的博客</a>  </p>
<pre><code>$ npm install packagename
</code></pre><p>打开站点目录下的 <font color="#FF0000">_config.yml</font> 文件,添加如下代码:  </p>
<pre><code>live2d:
 enable: true
 scriptFrom: local
 model: 
  use: live2d-widget-model-haruto  #模型选择
 display: 
  position: right  #模型位置
  width: 150       #模型宽度
  height: 300      #模型高度
 mobile: 
  show: false      #是否在手机端显示
</code></pre><p>设置好过后我们就拥有了一个卡通人物<br><br></p>
<p><img src="https://i.imgur.com/LI7iFxx.png" alt=""></p>

      
      
    </div>
    
    <div class="article-info article-info-index">
      
      

      
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
</article>









  
T
TRHX 已提交
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
    <article id="post-Markdown 语法&amp;技巧总结" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2018/08/25/Markdown 语法&技巧总结/" class="article-date">
      <time datetime="2018-08-25T09:57:16.879Z" itemprop="datePublished">2018-08-25</time>
</a>
    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2018/08/25/Markdown 语法&技巧总结/">Markdown 语法&amp;技巧总结</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              在写博客的时候遇到的 Markdown 各种方法技巧或者语法记录下来,方便查阅【持续更新】
          
      
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/实用教程/">实用教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Markdown/">Markdown</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/技巧/">技巧</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a  href="/2018/08/25/Markdown 语法&技巧总结/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
</article>









  
T
TRHX 已提交
418 419 420
    <article id="post-如何使用Github Pages和Hexo搭建自己独立博客" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
T
TRHX 已提交
421
      <a href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/" class="article-date">
T
TRHX 已提交
422 423
      <time datetime="2018-08-15T13:34:58.325Z" itemprop="datePublished">2018-08-15</time>
</a>
T
TRHX 已提交
424
    </div>
T
TRHX 已提交
425 426 427 428 429 430 431
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
T
TRHX 已提交
432
        
T
TRHX 已提交
433 434
  
    <h1 itemprop="name">
T
TRHX 已提交
435
      <a class="article-title" href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/">如何使用 Github Pages 和 Hexo 搭建自己的独立博客</a>
T
TRHX 已提交
436 437
    </h1>
  
T
TRHX 已提交
438

T
TRHX 已提交
439 440 441 442 443 444
      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
T
TRHX 已提交
445
              这是一篇有关如何使用 Github Pages 和 Hexo 搭建属于自己独立博客的详尽教程!
T
TRHX 已提交
446
          
T
TRHX 已提交
447
      
T
TRHX 已提交
448
      
T
TRHX 已提交
449
    </div>
T
TRHX 已提交
450 451 452 453 454 455 456 457
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/实用教程/">实用教程</a>
    </div>

T
TRHX 已提交
458 459

      
T
TRHX 已提交
460 461
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Github-Pages/">Github Pages</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hexo/">Hexo</a></li></ul>
T
TRHX 已提交
462
    </div>
T
TRHX 已提交
463

T
TRHX 已提交
464
      
T
TRHX 已提交
465
        <p class="article-more-link">
T
TRHX 已提交
466
          <a  href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/#more">阅读全文 >></a>
T
TRHX 已提交
467
        </p>
T
TRHX 已提交
468
      
T
TRHX 已提交
469
      <div class="clearfix"></div>
T
TRHX 已提交
470
    </div>
T
TRHX 已提交
471
    
T
TRHX 已提交
472
  </div>
T
TRHX 已提交
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
  
</article>









  
    <article id="post-hello-world" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
T
TRHX 已提交
488
      <a href="/2018/08/10/hello-world/" class="article-date">
T
TRHX 已提交
489 490
      <time datetime="2018-08-10T09:33:18.448Z" itemprop="datePublished">2018-08-10</time>
</a>
T
TRHX 已提交
491
    </div>
T
TRHX 已提交
492 493 494 495 496 497 498 499 500 501
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
T
TRHX 已提交
502
      <a class="article-title" href="/2018/08/10/hello-world/">Hello World</a>
T
TRHX 已提交
503 504 505 506 507 508 509 510
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
T
TRHX 已提交
511
          
T
TRHX 已提交
512
              <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p>
T
TRHX 已提交
513
          
T
TRHX 已提交
514
      
T
TRHX 已提交
515
      
T
TRHX 已提交
516
    </div>
T
TRHX 已提交
517 518 519 520 521 522 523 524
    
    <div class="article-info article-info-index">
      
      

      
      
        <p class="article-more-link">
T
TRHX 已提交
525
          <a  href="/2018/08/10/hello-world/#more">阅读全文 >></a>
T
TRHX 已提交
526 527 528 529 530
        </p>
      
      <div class="clearfix"></div>
    </div>
    
T
TRHX 已提交
531
  </div>
T
TRHX 已提交
532 533
  
</article>
T
TRHX 已提交
534 535 536



T
TRHX 已提交
537 538 539 540 541 542 543 544 545 546 547 548 549






  
  
</div>
      <footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
T
TRHX 已提交
550
                &copy; 2018 <a href="http://trhx.top" target="_blank"> TRHX </a>
T
TRHX 已提交
551 552
            </div>
            <div class="footer-right">
T
TRHX 已提交
553
                <a href="http://hexo.io/" target="_blank">Hexo</a>  Theme spfk by <a href="https://github.com/luuman/hexo-theme-spfk" target="_blank">luuman</a>
T
TRHX 已提交
554
            </div>
T
TRHX 已提交
555 556 557 558 559
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
T
TRHX 已提交
560
                        <font size=2 color=#4094C7>
T
TRHX 已提交
561 562 563
                            <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span> 
                            <script> 
                                var now = new Date(); 
T
TRHX 已提交
564 565
                                function createtime() 
                                { 
T
TRHX 已提交
566 567 568 569 570 571 572 573 574 575
                                  var grt= new Date("08/10/2018 17:38:00");//此处修改你的建站时间或者网站上线时间 
                                  now.setTime(now.getTime()+250); 
                                  days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
                                  hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
                                  if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
                                  mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
                                  seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
                                  snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
                                  document.getElementById("timeDate").innerHTML = " 本站已运行 "+dnum+""; 
                                  document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + "" + snum + ""; 
T
TRHX 已提交
576 577
                                } 
                                setInterval("createtime()",250); 
T
TRHX 已提交
578
                            </script>
T
TRHX 已提交
579 580
                        </font>
                         ||
T
TRHX 已提交
581
                        <span id="site-visit" >本站到访数: 
T
TRHX 已提交
582 583 584 585 586
                            <span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
T
TRHX 已提交
587
                    <span> || </span>
T
TRHX 已提交
588 589 590
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
T
TRHX 已提交
591
                        <span id="page-visit">本页阅读量: 
T
TRHX 已提交
592 593 594 595 596 597
                            <span id="busuanzi_value_page_pv"></span>
                        </span>
                    </span>
                
            </div>
        
T
TRHX 已提交
598
    </div>
T
TRHX 已提交
599 600
</footer>

T
TRHX 已提交
601
    </div>
T
TRHX 已提交
602
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
603 604 605 606
<script src="/js/main.js"></script>

    <script>
        $(document).ready(function() {
T
TRHX 已提交
607
            var backgroundnum = 71;
T
TRHX 已提交
608 609 610 611 612 613 614
            var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
            $("#mobile-nav").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
            $(".left-col").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
        })
    </script>


T
TRHX 已提交
615

T
TRHX 已提交
616 617 618 619 620 621 622


<div class="scroll" id="scroll">
    <a href="#"><i class="fa fa-arrow-up"></i></a>
    <a href="#comments"><i class="fa fa-comments-o"></i></a>
    <a href="#footer"><i class="fa fa-arrow-down"></i></a>
</div>
T
TRHX 已提交
623
<script>
T
TRHX 已提交
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640
    $(document).ready(function() {
        if ($("#comments").length < 1) {
            $("#scroll > a:nth-child(2)").hide();
        };
    })
</script>

<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>

  <script language="javascript">
    $(function() {
        $("a[title]").each(function() {
            var a = $(this);
            var title = a.attr('title');
            if (title == undefined || title == "") return;
            a.data('title', title).removeAttr('title').hover(
T
TRHX 已提交
641

T
TRHX 已提交
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656
            function() {
                var offset = a.offset();
                $("<div id=\"anchortitlecontainer\"></div>").appendTo($("body")).html(title).css({
                    top: offset.top - a.outerHeight() - 15,
                    left: offset.left + a.outerWidth()/2 + 1
                }).fadeIn(function() {
                    var pop = $(this);
                    setTimeout(function() {
                        pop.remove();
                    }, pop.text().length * 800);
                });
            }, function() {
                $("#anchortitlecontainer").remove();
            });
        });
T
TRHX 已提交
657
    });
T
TRHX 已提交
658
</script>
T
TRHX 已提交
659

T
TRHX 已提交
660

T
TRHX 已提交
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677
    <script type="text/javascript">
      window.onload = function(){
        document.getElementById("search").onclick = function(){
            console.log("search")
            search();
        }
      }
      function search(){
        (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
        (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
        e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
        })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');

        _st('install','A1Pz-LKMXbrzcFg2FWi6','2.0.0');
      }
    </script>

T
TRHX 已提交
678
  </div>
T
TRHX 已提交
679
<script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"model":{"jsonPath":"live2d-widget-model-haruto"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":false},"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
T
TRHX 已提交
680 681 682 683
</html>

<!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/love.js"></script>