index.html 15.9 KB
Newer Older
T
TRHX 已提交
1 2
<!DOCTYPE html>
<html>
T
TRHX 已提交
3 4 5
<head>
  <meta charset="utf-8">
  
T
TRHX 已提交
6
  <title>Tag: Github Pages | TRHX&#39;s Blog - Live for code!</title>
T
TRHX 已提交
7 8 9
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="一个大学生用于自学的个人博客">
<meta property="og:type" content="website">
T
TRHX 已提交
10
<meta property="og:title" content="TRHX&#39;s Blog - Live for code!">
T
TRHX 已提交
11
<meta property="og:url" content="https://trhx.top/tags/Github-Pages/index.html">
T
TRHX 已提交
12
<meta property="og:site_name" content="TRHX&#39;s Blog - Live for code!">
T
TRHX 已提交
13 14 15
<meta property="og:description" content="一个大学生用于自学的个人博客">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
T
TRHX 已提交
16
<meta name="twitter:title" content="TRHX&#39;s Blog - Live for code!">
T
TRHX 已提交
17 18
<meta name="twitter:description" content="一个大学生用于自学的个人博客">
  
T
TRHX 已提交
19 20
    <link rel="alternative" href="/atom.xml" title="TRHX&#39;s Blog - Live for code!" type="application/atom+xml">
  
T
TRHX 已提交
21
  
T
TRHX 已提交
22
    <link rel="icon" href="/img/trhx2.png">
T
TRHX 已提交
23 24
  
  
T
TRHX 已提交
25 26
      <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
  
T
TRHX 已提交
27 28 29 30 31 32 33 34 35 36 37 38
  <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 已提交
39
          rootUrl: '/',
T
TRHX 已提交
40
          fancybox: true,
T
TRHX 已提交
41
          animate: true,
T
TRHX 已提交
42 43 44 45 46 47 48 49
          isHome: false,
          isPost: false,
          isArchive: false,
          isTag: true,
          isCategory: false,
          open_in_new: false
      }
  </script>
T
TRHX 已提交
50
</head>
T
TRHX 已提交
51 52 53 54 55 56 57
<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 已提交
58
            
T
TRHX 已提交
59
            <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
60
            
T
TRHX 已提交
61
        </a>
T
TRHX 已提交
62

T
TRHX 已提交
63
        <hgroup>
T
TRHX 已提交
64
          <h1 class="header-author"><a href="/" title="斯是陋室 惟吾德馨">TRHX&#39;s Blog</a></h1>
T
TRHX 已提交
65
        </hgroup>
T
TRHX 已提交
66

T
TRHX 已提交
67
        
T
TRHX 已提交
68
        <p class="header-subtitle">路漫漫其修远兮 吾将上下而求索</p>
T
TRHX 已提交
69 70 71 72 73 74 75 76 77
        
        
        
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
T
TRHX 已提交
78
                            <li><a href="http://trhx.top">博客首页</a></li>
T
TRHX 已提交
79
                        
T
TRHX 已提交
80
                            <li><a href="/archives">所有文章</a></li>
T
TRHX 已提交
81
                        
T
TRHX 已提交
82
                            <li><a href="/tags">静心阅读</a></li>
T
TRHX 已提交
83
                        
T
TRHX 已提交
84
                            <li><a href="/Message Board">友链 &amp; 留言板</a></li>
T
TRHX 已提交
85
                        
T
TRHX 已提交
86 87 88 89 90
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
T
TRHX 已提交
91
                                <a class="f1 Github" target="_blank" href="https://github.com/TRHX" title="Github">Github</a>
T
TRHX 已提交
92
                            
T
TRHX 已提交
93
                                <a class="f1 CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
94
                            
T
TRHX 已提交
95
                                <a class="f1 Zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="Zhihu">Zhihu</a>
T
TRHX 已提交
96
                            
T
TRHX 已提交
97 98
                                <a class="f1 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 已提交
99
                                <a class="f1 QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes" title="QQ">QQ</a>
T
TRHX 已提交
100
                            
T
TRHX 已提交
101 102 103 104 105 106
                                <a class="f1 Wechat" target="_blank" href="https://i.imgur.com/TZGIpSD.jpg" title="Wechat">Wechat</a>
                            
                                <a class="f1 Weibo" target="_blank" href="http://weibo.com/TRHX1" title="Weibo">Weibo</a>
                            
                                <a class="f1 bilibili" target="_blank" href="http://space.bilibili.com/314463806?" title="bilibili">bilibili</a>
                            
T
TRHX 已提交
107 108
                                <a class="f1 RSS" target="_blank" href="/atom.xml" title="RSS">RSS</a>
                            
T
TRHX 已提交
109 110 111 112 113
                        </ul>
                    </nav>
                </section>
                
                
T
TRHX 已提交
114 115
                
                
T
TRHX 已提交
116
                <section class="switch-part switch-part3">
T
TRHX 已提交
117
                
T
TRHX 已提交
118
                    <div id="js-aboutme">单车入魔、编程入门、爱折腾、爱刺激、爱编程、爱科技</div>
T
TRHX 已提交
119
                </section>
T
TRHX 已提交
120 121
                
            </div>
T
TRHX 已提交
122
        </div>
T
TRHX 已提交
123
    </header>
T
TRHX 已提交
124
</div>
T
TRHX 已提交
125

T
TRHX 已提交
126
<!--网易云音乐
T
TRHX 已提交
127
<div style="position:absolute; bottom:55px; left:0px; width:50%">
T
TRHX 已提交
128
    <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=300 height=90 src="//music.163.com/outchain/player?type=2&id=32405683&auto=0&height=66"></iframe>
T
TRHX 已提交
129
</div>
T
TRHX 已提交
130
-->
T
TRHX 已提交
131 132 133 134 135
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
T
TRHX 已提交
136
          <h1 class="header-author js-mobile-header hide"><a href="/" title="Me">TRHX&#39;s Blog</a></h1>
T
TRHX 已提交
137
      </div>
T
TRHX 已提交
138 139 140 141
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
T
TRHX 已提交
142
                    <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
143 144 145
                
            </a>
            <hgroup>
T
TRHX 已提交
146
              <h1 class="header-author"><a href="/" title="Me">TRHX&#39;s Blog</a></h1>
T
TRHX 已提交
147 148
            </hgroup>
            
T
TRHX 已提交
149
            <p class="header-subtitle">路漫漫其修远兮 吾将上下而求索</p>
T
TRHX 已提交
150 151 152 153
            
            <nav class="header-menu">
                <ul>
                
T
TRHX 已提交
154
                    <li><a href="http://trhx.top">博客首页</a></li>
T
TRHX 已提交
155
                
T
TRHX 已提交
156
                    <li><a href="/archives">所有文章</a></li>
T
TRHX 已提交
157 158
                
                    <li><a href="/tags">静心阅读</a></li>
T
TRHX 已提交
159
                
T
TRHX 已提交
160
                    <li><a href="/Message Board">友链 &amp; 留言板</a></li>
T
TRHX 已提交
161
                
T
TRHX 已提交
162 163 164 165 166 167
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
T
TRHX 已提交
168
                        <a class="Github" target="_blank" href="https://github.com/TRHX" title="Github">Github</a>
T
TRHX 已提交
169
                    
T
TRHX 已提交
170
                        <a class="CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
T
TRHX 已提交
171
                    
T
TRHX 已提交
172
                        <a class="Zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="Zhihu">Zhihu</a>
T
TRHX 已提交
173
                    
T
TRHX 已提交
174 175
                        <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 已提交
176 177
                        <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 已提交
178 179 180 181 182 183
                        <a class="Wechat" target="_blank" href="https://i.imgur.com/TZGIpSD.jpg" title="Wechat">Wechat</a>
                    
                        <a class="Weibo" target="_blank" href="http://weibo.com/TRHX1" title="Weibo">Weibo</a>
                    
                        <a class="bilibili" target="_blank" href="http://space.bilibili.com/314463806?" title="bilibili">bilibili</a>
                    
T
TRHX 已提交
184 185
                        <a class="RSS" target="_blank" href="/atom.xml" title="RSS">RSS</a>
                    
T
TRHX 已提交
186 187
                </div>
            </nav>
T
TRHX 已提交
188
        </header>                
T
TRHX 已提交
189
    </div>
T
TRHX 已提交
190 191 192 193 194 195
</nav>
      <div class="body-wrap">
  
  
    
    
T
TRHX 已提交
196 197
      
      
T
TRHX 已提交
198 199
      <section class="archives-wrap">
        <div class="archive-year-wrap">
T
TRHX 已提交
200
          <a href="/archives/2018" class="archive-year">2018</a>
T
TRHX 已提交
201 202 203 204 205 206 207
        </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 已提交
208
              <a href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/" class="archive-article-date">
T
TRHX 已提交
209 210 211 212 213 214
      <time datetime="2018-08-15T13:34:58.325Z" itemprop="datePublished">08-15</time>
</a>
        </div>
         
  
    <h1 itemprop="name">
T
TRHX 已提交
215
      <a class="archive-article-title" href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/">如何使用 Github Pages 和 Hexo 搭建自己的独立博客</a>
T
TRHX 已提交
216 217 218 219
    </h1>
  

        <div class="article-info info-on-archive">
T
TRHX 已提交
220
          
T
TRHX 已提交
221
    <div class="article-category tagcloud">
T
TRHX 已提交
222
    <a class="article-category-link" href="/categories/实用教程/">实用教程</a>
T
TRHX 已提交
223 224 225
    </div>


T
TRHX 已提交
226
          
T
TRHX 已提交
227 228
    <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 已提交
229
    </div>
T
TRHX 已提交
230 231 232 233

        </div>
        <div class="clearfix"></div>
    </header>
T
TRHX 已提交
234
  </div>
T
TRHX 已提交
235 236 237 238 239
</article>
  
  
    </div></section>
  
T
TRHX 已提交
240

T
TRHX 已提交
241
    
T
TRHX 已提交
242

T
TRHX 已提交
243 244 245 246 247
</div>
      <footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
T
TRHX 已提交
248
                &copy; 2018-2019
T
TRHX 已提交
249
                <span>
T
TRHX 已提交
250 251 252 253 254 255 256
                    <i class="fa fa-heartbeat"></i>
                    <!-- https://fontawesome.com/icons?d=gallery
                    <i class="fa fa-italic"> </i>
                    <i class="fa fa-heartbeat"> </i>
                    <i class="fa fa-yahoo"> </i>
                    <i class="fa fa-paper-plane"> </i>
                    -->
T
TRHX 已提交
257
                </span>
T
TRHX 已提交
258 259
                <a href="http://trhx.top" target="_blank"> TRHX&#39;s Blog </a>
                <span>斯是陋室 惟吾德馨</span>
T
TRHX 已提交
260 261 262
            </div>
            <div class="footer-right">
                <span><i class="fa fa-paw"> </i></span>
T
TRHX 已提交
263
                <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/luuman/hexo-theme-spfk" target="_blank">spfk</a> by <a href="https://luuman.github.io/Home/H1/index.html" target="_blank">luuman</a>
T
TRHX 已提交
264 265
                <span><i class="fa fa-paw"> </i></span>
            </div>
T
TRHX 已提交
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
            <span id="timeDate">正在载入...</span><span id="times"><span><i class="fa fa-spinner fa-spin"> </i></span></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 = "本站已运行 "
                        document.getElementById("times").innerHTML = dnum +"" + hnum + " 小时 " + mnum + "" + snum + ""; 
                        document.getElementById("times").style.fontSize="11px";
                        document.getElementById("times").style.color="#00ccff";
                        document.getElementById("timeDate").style.fontSize="11px";
                    }
                    setInterval("createtime()",250);
                </script>
            <span id="busuanzi_container_site_pv" style="font-size:11px">
                <span><i class="fa fa-paper-plane"> </i></span>
                佛曰:前世<span id="busuanzi_value_site_pv" style="color:#00ccff"></span>次的回眸
                <span id="busuanzi_container_site_uv" style="font-size:11px"></span>
                才换得今世<span id="busuanzi_value_site_uv" style="color:#00ccff"></span>次的擦肩而过
            </span>
T
TRHX 已提交
292
        </div>
T
TRHX 已提交
293
    </div>
T
TRHX 已提交
294
</footer>
T
TRHX 已提交
295 296
    </div>
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
297 298 299 300
<script src="/js/main.js"></script>

    <script>
        $(document).ready(function() {
T
TRHX 已提交
301
            var backgroundnum = 44;
T
TRHX 已提交
302
            var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
T
TRHX 已提交
303 304 305 306 307 308
            $("#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 已提交
309 310


T
TRHX 已提交
311
	<script>
T
TRHX 已提交
312 313 314 315 316 317 318 319
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?68019af241ffe13fed16341dc16acd4f";
			var s = document.getElementsByTagName("script")[0]; 
			s.parentNode.insertBefore(hm, s);
		})();
		</script>
T
TRHX 已提交
320

T
TRHX 已提交
321 322 323 324 325 326

<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 已提交
327
<script>
T
TRHX 已提交
328 329 330 331 332 333 334 335
    $(document).ready(function() {
        if ($("#comments").length < 1) {
            $("#scroll > a:nth-child(2)").hide();
        };
    })
</script>

    <button class="hide-labels">TAG 开关</button>
T
TRHX 已提交
336 337
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js">
    </script>
T
TRHX 已提交
338 339 340 341 342 343 344 345
    <script>
        $(document).ready(function() {
            $("button").click(function() {
                $(".article-info").toggle(200);
            });
        });
    </script>

T
TRHX 已提交
346 347
<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js">
T
TRHX 已提交
348 349
</script>

T
TRHX 已提交
350

T
TRHX 已提交
351
  </div>
T
TRHX 已提交
352
</body>
T
TRHX 已提交
353 354
</html>

T
TRHX 已提交
355
<!--动态线条背景
T
TRHX 已提交
356 357 358
<script type="text/javascript"
color="220,220,220" opacity='0.7' zIndex="-2" count="220" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js">
</script>
T
TRHX 已提交
359
-->
T
TRHX 已提交
360

T
TRHX 已提交
361 362
<!-- 单击显示文字 -->
<script type="text/javascript" src="\js\click_show_text.js"></script>
T
TRHX 已提交
363

T
TRHX 已提交
364 365 366 367 368 369 370
<!-- 浏览器搞笑标题 -->
<script type="text/javascript" src="\js\FunnyTitle.js"></script>

<!-- 雪花特效 -->
<script type="text/javascript" src="\js\snow.js"></script>

<!-- 心知天气插件 -->
T
TRHX 已提交
371
<!-- https://www.seniverse.com/widget/get 
T
TRHX 已提交
372 373 374 375 376 377 378 379 380 381 382 383 384
<script>(function(T,h,i,n,k,P,a,g,e){g=function(){P=h.createElement(i);a=h.getElementsByTagName(i)[0];P.src=k;P.charset="utf-8";P.async=1;a.parentNode.insertBefore(P,a)};T["ThinkPageWeatherWidgetObject"]=n;T[n]||(T[n]=function(){(T[n].q=T[n].q||[]).push(arguments)});T[n].l=+new Date();if(T.attachEvent){T.attachEvent("onload",g)}else{T.addEventListener("load",g,false)}}(window,document,"script","tpwidget","//widget.seniverse.com/widget/chameleon.js"))</script>
<script>tpwidget("init", {
    "flavor": "bubble",
    "location": "WX4FBXXFKE4F",
    "geolocation": "enabled",
    "position": "top-left",
    "margin": "10px 10px",
    "language": "zh-chs",
    "unit": "c",
    "theme": "chameleon",
    "uid": "U3A639EE85",
    "hash": "16158f054db719dbd72d73bd69b65717"
});
T
TRHX 已提交
385 386
tpwidget("show");</script>
-->