index.html 17.2 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
        
        <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
        
        
        
            <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>
                        
                        
                        <div class="icon-wrap icon-me hide" data-idx="3">
                            <div class="user"></div>
                            <div class="shoulder"></div>
                        </div>
                        
                    </div>
T
TRHX 已提交
98
                    
T
TRHX 已提交
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
                </div>
                <div class="tips-box hide">
                    <div class="tips-arrow"></div>
                    <ul class="tips-inner">
                        <li>菜单</li>
                        <li>标签</li>
                        
                        <li>友情链接</li>
                        
                        
                        <li>关于我</li>
                        
                    </ul>
                </div>
            </div>
        
T
TRHX 已提交
115

T
TRHX 已提交
116 117 118 119 120 121
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
T
TRHX 已提交
122
                            <li><a href="/Home">博客首页</a></li>
T
TRHX 已提交
123
                        
T
TRHX 已提交
124
                            <li><a href="/works">作品展示</a></li>
T
TRHX 已提交
125
                        
T
TRHX 已提交
126
                            <li><a href="/about">留言打卡</a></li>
T
TRHX 已提交
127
                        
T
TRHX 已提交
128
                            <li><a href="/FrontEndGuide">前端导航</a></li>
T
TRHX 已提交
129 130 131 132 133 134
                        
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
T
TRHX 已提交
135
                                <a class="fl Email" target="_blank" href="mailto:tanrenhou@126.com" title="Email">Email</a>
T
TRHX 已提交
136
                            
T
TRHX 已提交
137
                                <a class="fl github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
T
TRHX 已提交
138
                            
T
TRHX 已提交
139
                                <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 已提交
140
                            
T
TRHX 已提交
141
                                <a class="fl CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
142 143 144 145 146
                            
                        </ul>
                    </nav>
                </section>
                
T
TRHX 已提交
147
                
T
TRHX 已提交
148 149 150 151 152 153 154
                <section class="switch-part switch-part2">
                    <div class="widget tagcloud" id="js-tagcloud">
                        <a href="/tags/Github-Pages/" style="font-size: 10px;">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 10px;">Hexo</a>
                    </div>
                </section>
                
                
T
TRHX 已提交
155
                
T
TRHX 已提交
156 157 158
                <section class="switch-part switch-part3">
                    <div id="js-friends">
                    
T
TRHX 已提交
159
                      <a target="_blank" class="main-nav-link switch-friends-link" href="http://luuman.github.io/">name</a>
T
TRHX 已提交
160 161 162 163
                    
                    </div>
                </section>
                
T
TRHX 已提交
164

T
TRHX 已提交
165 166 167 168
                
                
                <section class="switch-part switch-part4">
                
T
TRHX 已提交
169
                    <div id="js-aboutme">纯海迷、爱运动、爱交友、爱旅行、喜欢接触新鲜事物、迎接新的挑战,更爱游离于错综复杂的编码与逻辑中</div>
T
TRHX 已提交
170 171 172
                </section>
                
            </div>
T
TRHX 已提交
173
        </div>
T
TRHX 已提交
174
    </header>                
T
TRHX 已提交
175 176 177 178 179 180
</div>
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
T
TRHX 已提交
181
          <h1 class="header-author js-mobile-header hide"><a href="/" title="Me">TRHX</a></h1>
T
TRHX 已提交
182
      </div>
T
TRHX 已提交
183 184 185 186
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
T
TRHX 已提交
187
                    <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
188 189 190
                
            </a>
            <hgroup>
T
TRHX 已提交
191
              <h1 class="header-author"><a href="/" title="Me">TRHX</a></h1>
T
TRHX 已提交
192 193 194 195 196 197 198
            </hgroup>
            
            <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
            
            <nav class="header-menu">
                <ul>
                
T
TRHX 已提交
199
                    <li><a href="/Home">博客首页</a></li>
T
TRHX 已提交
200
                
T
TRHX 已提交
201
                    <li><a href="/works">作品展示</a></li>
T
TRHX 已提交
202
                
T
TRHX 已提交
203
                    <li><a href="/about">留言打卡</a></li>
T
TRHX 已提交
204
                
T
TRHX 已提交
205
                    <li><a href="/FrontEndGuide">前端导航</a></li>
T
TRHX 已提交
206 207 208 209 210 211 212 213 214
                
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
                        <a class="Email" target="_blank" href="mailto:tanrenhou@126.com" title="Email">Email</a>
                    
T
TRHX 已提交
215 216
                        <a class="github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
                    
T
TRHX 已提交
217 218
                        <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 已提交
219
                        <a class="CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
220 221 222
                    
                </div>
            </nav>
T
TRHX 已提交
223
        </header>                
T
TRHX 已提交
224
    </div>
T
TRHX 已提交
225 226 227 228 229 230
</nav>
      <div class="body-wrap">
  
    <article id="post-如何使用Github Pages和Hexo搭建自己独立博客" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
T
TRHX 已提交
231
      <a href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/" class="article-date">
T
TRHX 已提交
232 233
      <time datetime="2018-08-15T13:34:58.325Z" itemprop="datePublished">2018-08-15</time>
</a>
T
TRHX 已提交
234
    </div>
T
TRHX 已提交
235 236 237 238 239 240 241
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
T
TRHX 已提交
242
        
T
TRHX 已提交
243 244
  
    <h1 itemprop="name">
T
TRHX 已提交
245
      <a class="article-title" href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/">如何使用Github Pages和Hexo搭建自己的独立博客</a>
T
TRHX 已提交
246 247
    </h1>
  
T
TRHX 已提交
248

T
TRHX 已提交
249 250 251 252 253 254 255 256 257
      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <h1 id="前言"><a href="#前言" class="headerlink" title="- 前言"></a><strong>- 前言</strong></h1><p>首先感谢您能访问我的博客:<a href="http://trhx.github.io" target="_blank" rel="noopener">TRHX’Blog</a> <br></p>
<p>这是一篇有关如何使用 <font color="#DC143C">Github Pages</font><font color="#DC143C">Hexo</font> 搭建属于自己独立博客的详尽教程,本人是软件工程专业本科生,目前只学习了C和C++编程语言,对网站开发的有关知识几乎为零,这也是我搭建好自己的博客之后写的第一篇博客,刚开始搭建博客的时候自己也是网上各种百度,由于自己属于<font color="#DC143C">小白</font>那种,历经了千辛万苦才弄好,所以借这个机会写一篇小白真正能看懂的博客搭建教程,教你一步一步走向成功的彼岸! <br></p>
          
T
TRHX 已提交
258
      
T
TRHX 已提交
259
      
T
TRHX 已提交
260
    </div>
T
TRHX 已提交
261 262 263 264 265 266 267 268
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/实用教程/">实用教程</a>
    </div>

T
TRHX 已提交
269 270

      
T
TRHX 已提交
271 272
    <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 已提交
273
    </div>
T
TRHX 已提交
274

T
TRHX 已提交
275
      
T
TRHX 已提交
276
        <p class="article-more-link">
T
TRHX 已提交
277
          <a  href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/#more">阅读全文 >></a>
T
TRHX 已提交
278
        </p>
T
TRHX 已提交
279
      
T
TRHX 已提交
280
      <div class="clearfix"></div>
T
TRHX 已提交
281
    </div>
T
TRHX 已提交
282
    
T
TRHX 已提交
283
  </div>
T
TRHX 已提交
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
  
</article>









  
    <article id="post-hello-world" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
T
TRHX 已提交
299
      <a href="/2018/08/10/hello-world/" class="article-date">
T
TRHX 已提交
300 301
      <time datetime="2018-08-10T09:33:18.448Z" itemprop="datePublished">2018-08-10</time>
</a>
T
TRHX 已提交
302
    </div>
T
TRHX 已提交
303 304 305 306 307 308 309 310 311 312
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
T
TRHX 已提交
313
      <a class="article-title" href="/2018/08/10/hello-world/">Hello World</a>
T
TRHX 已提交
314 315 316 317 318 319 320 321
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
T
TRHX 已提交
322
          
T
TRHX 已提交
323
              <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 已提交
324
          
T
TRHX 已提交
325
      
T
TRHX 已提交
326
      
T
TRHX 已提交
327
    </div>
T
TRHX 已提交
328 329 330 331 332 333 334 335
    
    <div class="article-info article-info-index">
      
      

      
      
        <p class="article-more-link">
T
TRHX 已提交
336
          <a  href="/2018/08/10/hello-world/#more">阅读全文 >></a>
T
TRHX 已提交
337 338 339 340 341
        </p>
      
      <div class="clearfix"></div>
    </div>
    
T
TRHX 已提交
342
  </div>
T
TRHX 已提交
343 344
  
</article>
T
TRHX 已提交
345 346 347



T
TRHX 已提交
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363






  
  
</div>
      <footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
                &copy; 2018 TRHX
            </div>
            <div class="footer-right">
T
TRHX 已提交
364
                <a href="http://hexo.io/" target="_blank">Hexo</a>  Theme <a href="https://github.com/luuman/hexo-theme-spfk" target="_blank">spfk</a> by luuman
T
TRHX 已提交
365 366 367 368 369 370
            </div>
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
T
TRHX 已提交
371
                        <span id="site-visit" >海贼到访数: 
T
TRHX 已提交
372 373 374 375 376 377 378 379 380
                            <span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
                    <span>, </span>
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
T
TRHX 已提交
381
                        <span id="page-visit">本页阅读量: 
T
TRHX 已提交
382 383 384 385 386 387
                            <span id="busuanzi_value_page_pv"></span>
                        </span>
                    </span>
                
            </div>
        
T
TRHX 已提交
388 389 390
    </div>
</footer>

T
TRHX 已提交
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
<center>
    <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span> 
    <script> 
        var now = new Date(); 
        function createtime() { 
          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 + ""; 
          } 
      setInterval("createtime()",250); 
    </script>
</center>
T
TRHX 已提交
410
    </div>
T
TRHX 已提交
411
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
412 413 414 415
<script src="/js/main.js"></script>

    <script>
        $(document).ready(function() {
T
TRHX 已提交
416
            var backgroundnum = 24;
T
TRHX 已提交
417 418 419 420 421 422 423
            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 已提交
424

T
TRHX 已提交
425 426 427 428 429 430 431


<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 已提交
432
<script>
T
TRHX 已提交
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
    $(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 已提交
450

T
TRHX 已提交
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465
            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 已提交
466
    });
T
TRHX 已提交
467
</script>
T
TRHX 已提交
468

T
TRHX 已提交
469

T
TRHX 已提交
470
  </div>
T
TRHX 已提交
471
<script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"model":{"jsonPath":"/live2dw/assets/haruto.model.json"},"display":{"position":"right","width":50,"height":100},"mobile":{"show":true},"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
T
TRHX 已提交
472
</html>