index.html 18.0 KB
Newer Older
T
TRHX 已提交
1 2
<!DOCTYPE html>
<html>
T
TRHX 已提交
3 4
<head>
  <meta charset="utf-8">
T
TRHX 已提交
5 6 7 8 9 10
  <meta name="baidu-site-verification" content="L6Lm9d5Crl"/>
  
   
    <meta name="keywords" content="Github Pages" />
  
  
T
TRHX 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  
  <title>Tag: Github Pages | 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/tags/Github-Pages/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 已提交
26 27
  
  
T
TRHX 已提交
28
    <link rel="icon" href="/img/favicon.png">
T
TRHX 已提交
29 30
  
  
T
TRHX 已提交
31
  <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
T
TRHX 已提交
32
  
T
TRHX 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
  <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 = {
          fancybox: true,
          animate: true,
          isHome: false,
          isPost: false,
          isArchive: false,
          isTag: true,
          isCategory: false,
          open_in_new: false
      }
  </script>
T
TRHX 已提交
55
</head>
T
TRHX 已提交
56 57 58 59 60 61
<body>
  <div id="container">
    <div class="left-col">
    <div class="overlay"></div>
<div class="intrude-less">
    <header id="header" class="inner">
T
TRHX 已提交
62 63 64
        
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>

T
TRHX 已提交
65
        <a href="/" class="profilepic">
T
TRHX 已提交
66
            
T
TRHX 已提交
67
            <img lazy-src="/img/avatar.png" class="js-avatar">
T
TRHX 已提交
68
            
T
TRHX 已提交
69 70
        </a>
        <hgroup>
T
TRHX 已提交
71
          <h1 class="header-author"><a href="/">TRHX</a></h1>
T
TRHX 已提交
72 73 74 75 76
        </hgroup>
        
        <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
        
        
T
TRHX 已提交
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
            <form>
                <input type="text" class="st-default-search-input search" id="local-search-input" placeholder="搜索一下" autocomplete="off">
            </form>
            <div id="local-search-result"></div>
        
        
            <script type="text/javascript">
                (function() {
                    'use strict';
                    function getMatchData(keyword, data) {
                        var matchData = [];
                        for(var i =0;i<data.length;i++){
                            if(data[i].title.toLowerCase().indexOf(keyword)>=0) 
                                matchData.push(data[i])
                        }
                        return matchData;
                    }
                    var $input = $('#local-search-input');
                    var $resultContent = $('#local-search-result');
                    $input.keyup(function(){
                        $.ajax({
                            url: '/search.json',
                            dataType: "json",
                            success: function( json ) {
                                var str='<ul class=\"search-result-list\">';                
                                var keyword = $input.val().trim().toLowerCase();
                                $resultContent.innerHTML = "";
                                if ($input.val().trim().length <= 0) {
                                    $resultContent.empty();
                                    $('#switch-area').show();
                                    return;
                                }
                                var results = getMatchData(keyword, json);
                                if(results.length === 0){
                                    $resultContent.empty();
                                    $('#switch-area').show();
                                    return;
                                } 
                                for(var i =0; i<results.length; i++){
                                    str += "<li><a href='"+ results[i].url +"' class='search-result-title'>"+ results[i].title +"</a></li>";
                                }
                                str += "</ul>";
                                $resultContent.empty();
                                $resultContent.append(str);
                                $('#switch-area').hide();
                            }
                        });
                    });
                })();
            </script>
        
T
TRHX 已提交
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        
            <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>
                </div>
                <div class="tips-box hide">
                    <div class="tips-arrow"></div>
                    <ul class="tips-inner">
                        <li>菜单</li>
                        <li>标签</li>
                        
                        <li>友情链接</li>
                        
                        
                    </ul>
                </div>
            </div>
        
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
T
TRHX 已提交
167
                            <li><a  href="http://trhx.top">博客主页</a></li>
T
TRHX 已提交
168
                        
T
TRHX 已提交
169
                            <li><a  href="/archives/">所有文章</a></li>
T
TRHX 已提交
170
                        
T
TRHX 已提交
171
                            <li><a  href="/about/">关于我</a></li>
T
TRHX 已提交
172 173 174 175 176 177
                        
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
T
TRHX 已提交
178
                                <a class="fl CSDN"  target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
179
                            
T
TRHX 已提交
180
                                <a class="fl github"  target="_blank" href="https://github.com/TRHX" title="github">github</a>
T
TRHX 已提交
181
                            
T
TRHX 已提交
182
                                <a class="fl mail"  target="_blank" href="mailto:tanrenhou@126.com" title="mail">mail</a>
T
TRHX 已提交
183
                            
T
TRHX 已提交
184
                                <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 已提交
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
                            
                        </ul>
                    </nav>
                </section>
                
                <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>
                
                
                <section class="switch-part switch-part3">
                    <div id="js-friends">
                    
T
TRHX 已提交
200 201 202 203 204
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://blog.csdn.net/qq_36759224">CSDN</a>
                    
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://home.cnblogs.com/u/TRHX/">博客园</a>
                    
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://github.com/TRHX">GitHub</a>
T
TRHX 已提交
205 206 207 208 209 210
                    
                    </div>
                </section>
                
                
            </div>
T
TRHX 已提交
211
        </div>
T
TRHX 已提交
212
    </header>
T
TRHX 已提交
213
</div>
T
TRHX 已提交
214

T
TRHX 已提交
215 216 217 218 219
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
T
TRHX 已提交
220
          <h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页">TRHX</a></h1>
T
TRHX 已提交
221
      </div>
T
TRHX 已提交
222 223 224 225
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
T
TRHX 已提交
226
                    <img lazy-src="/img/avatar.png" class="js-avatar">
T
TRHX 已提交
227 228 229
                
            </a>
            <hgroup>
T
TRHX 已提交
230
              <h1 class="header-author"><a href="/" title="回到主页">TRHX</a></h1>
T
TRHX 已提交
231 232 233 234 235 236 237
            </hgroup>
            
            <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
            
            <nav class="header-menu">
                <ul>
                
T
TRHX 已提交
238
                    <li><a href="http://trhx.top">博客主页</a></li>
T
TRHX 已提交
239
                
T
TRHX 已提交
240
                    <li><a href="/archives/">所有文章</a></li>
T
TRHX 已提交
241
                
T
TRHX 已提交
242
                    <li><a href="/about/">关于我</a></li>
T
TRHX 已提交
243 244 245 246 247 248 249
                
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
T
TRHX 已提交
250
                        <a class="CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
251
                    
T
TRHX 已提交
252 253
                        <a class="github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
                    
T
TRHX 已提交
254
                        <a class="mail" target="_blank" href="mailto:tanrenhou@126.com" title="mail">mail</a>
T
TRHX 已提交
255
                    
T
TRHX 已提交
256
                        <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 已提交
257 258 259
                    
                </div>
            </nav>
T
TRHX 已提交
260
        </header>
T
TRHX 已提交
261
    </div>
T
TRHX 已提交
262 263 264 265 266 267
</nav>
      <div class="body-wrap">
  
  
    
    
T
TRHX 已提交
268 269
      
      
T
TRHX 已提交
270 271
      <section class="archives-wrap">
        <div class="archive-year-wrap">
T
TRHX 已提交
272
          <a  href="/archives/2018" class="archive-year">2018</a>
T
TRHX 已提交
273 274 275 276 277 278 279
        </div>
        <div class="archives">
    
    <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
          <div class="article-meta">
T
TRHX 已提交
280
              <a  href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/" class="archive-article-date">
T
TRHX 已提交
281 282
      <time datetime="2018-08-15T13:34:58.325Z" itemprop="datePublished">08-15</time>
</a>
T
TRHX 已提交
283

T
TRHX 已提交
284 285 286 287
        </div>
         
  
    <h1 itemprop="name">
T
TRHX 已提交
288
      <a  class="archive-article-title" href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/">如何使用Github Pages和 Hexo 搭建自己的独立博客</a>
T
TRHX 已提交
289 290 291
    </h1>
  

T
TRHX 已提交
292

T
TRHX 已提交
293
        <div class="article-info info-on-archive">
T
TRHX 已提交
294
          
T
TRHX 已提交
295 296 297 298 299
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/实用教程/">实用教程</a>
    </div>


T
TRHX 已提交
300
          
T
TRHX 已提交
301 302
    <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 已提交
303
    </div>
T
TRHX 已提交
304 305 306 307

        </div>
        <div class="clearfix"></div>
    </header>
T
TRHX 已提交
308
  </div>
T
TRHX 已提交
309 310 311 312 313
</article>
  
  
    </div></section>
  
T
TRHX 已提交
314

T
TRHX 已提交
315
    
T
TRHX 已提交
316

T
TRHX 已提交
317

T
TRHX 已提交
318 319 320 321 322 323 324 325
</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 已提交
326
                <a href="http://hexo.io/" target="_blank">Hexo &nbsp;&nbsp;</a><a href="https://github.com/maochunguang" target="_blank">Blog</a> by tommy
T
TRHX 已提交
327 328 329 330 331 332
            </div>
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
T
TRHX 已提交
333
                        <span id="site-visit" >本站到访数: 
T
TRHX 已提交
334 335 336 337 338 339 340 341 342
                            <span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
                    <span>, </span>
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
T
TRHX 已提交
343
                        <span id="page-visit">本页阅读量: 
T
TRHX 已提交
344 345 346 347 348 349
                            <span id="busuanzi_value_page_pv"></span>
                        </span>
                    </span>
                
            </div>
        
T
TRHX 已提交
350 351 352
    </div>
</footer>

T
TRHX 已提交
353 354
<font size=1.5>
    <center>
T
TRHX 已提交
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
        <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 已提交
373
</font>
T
TRHX 已提交
374

T
TRHX 已提交
375
    </div>
T
TRHX 已提交
376 377 378
    
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>

T
TRHX 已提交
379 380 381 382
<script src="/js/main.js"></script>

    <script>
        $(document).ready(function() {
T
TRHX 已提交
383
            var backgroundnum = 31;
T
TRHX 已提交
384 385 386 387 388 389 390
            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 已提交
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'xxxxx', 'auto');
ga('send', 'pageview');

</script>
<!-- End Google Analytics -->



	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "//hm.baidu.com/hm.js?xxxxxx";
	  var s = document.getElementsByTagName("script")[0]; 
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>
T
TRHX 已提交
415 416


T
TRHX 已提交
417 418 419 420 421 422

<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 已提交
423
<script>
T
TRHX 已提交
424 425 426 427 428 429 430 431
    $(document).ready(function() {
        if ($("#comments").length < 1) {
            $("#scroll > a:nth-child(2)").hide();
        };
    })
</script>

    <button class="hide-labels">TAG 开关</button>
T
TRHX 已提交
432 433 434
    
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>

T
TRHX 已提交
435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
    <script>
        $(document).ready(function() {
            $("button").click(function() {
                $(".article-info").toggle(200);
            });
        });
    </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(
            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 已提交
468 469 470 471
    });
</script>


T
TRHX 已提交
472
  </div>
T
TRHX 已提交
473
<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 已提交
474
</html>