6
6
< meta name ="renderer " content ="webkit ">
7
7
< meta http-equiv ="X-UA-Compatible " content ="IE=edge " >
8
8
< link rel ="dns-prefetch " href ="http://yoursite.com ">
9
- < title > 终于初步搭建了自己的博客 | mhcoderwl的博客</ title >
9
+ < title > 利用hexo和githubpage搭建个人博客 | mhcoderwl的博客</ title >
10
10
< meta name ="viewport " content ="width=device-width, initial-scale=1, maximum-scale=1 ">
11
- < meta name ="description " content ="je t’aime ">
11
+ < meta name ="description " content ="最近博主花了几天的时间终于搭建好了自己的小窝,也是在入坑爬坑的过程弄出来了,参照网上的一些资料教程,自己总结的一套方法如下:
12
+ 安装node.js Node.js是一个开放源代码、跨平台的、可用于服务器端和网络应用的运行环境,该应用由 C++ 语言写成,在 Node.js 运行时运行。Node.js 提供事件驱动和非阻塞 I/O API,可优化应用程序的吞吐量和规模。这些技术通常被用于实时应用 ">
12
13
< meta property ="og:type " content ="article ">
13
- < meta property ="og:title " content ="终于初步搭建了自己的博客 ">
14
- < meta property ="og:url " content ="http://yoursite.com/2017/02/26/终于初步搭建了自己的博客 /index.html ">
14
+ < meta property ="og:title " content ="利用hexo和githubpage搭建个人博客 ">
15
+ < meta property ="og:url " content ="http://yoursite.com/2017/02/26/利用hexo和github-page-搭建个人博客 /index.html ">
15
16
< meta property ="og:site_name " content ="mhcoderwl的博客 ">
16
- < meta property ="og:description " content ="je t’aime ">
17
- < meta property ="og:updated_time " content ="2017-02-26T07:20:36.000Z ">
17
+ < meta property ="og:description " content ="最近博主花了几天的时间终于搭建好了自己的小窝,也是在入坑爬坑的过程弄出来了,参照网上的一些资料教程,自己总结的一套方法如下:
18
+ 安装node.js Node.js是一个开放源代码、跨平台的、可用于服务器端和网络应用的运行环境,该应用由 C++ 语言写成,在 Node.js 运行时运行。Node.js 提供事件驱动和非阻塞 I/O API,可优化应用程序的吞吐量和规模。这些技术通常被用于实时应用 ">
19
+ < meta property ="og:updated_time " content ="2017-02-26T13:57:24.563Z ">
18
20
< meta name ="twitter:card " content ="summary ">
19
- < meta name ="twitter:title " content ="终于初步搭建了自己的博客 ">
20
- < meta name ="twitter:description " content ="je t’aime ">
21
+ < meta name ="twitter:title " content ="利用hexo和githubpage搭建个人博客 ">
22
+ < meta name ="twitter:description " content ="最近博主花了几天的时间终于搭建好了自己的小窝,也是在入坑爬坑的过程弄出来了,参照网上的一些资料教程,自己总结的一套方法如下:
23
+ 安装node.js Node.js是一个开放源代码、跨平台的、可用于服务器端和网络应用的运行环境,该应用由 C++ 语言写成,在 Node.js 运行时运行。Node.js 提供事件驱动和非阻塞 I/O API,可优化应用程序的吞吐量和规模。这些技术通常被用于实时应用 ">
21
24
22
25
< link rel ="alternative " href ="/atom.xml " title ="mhcoderwl的博客 " type ="application/atom+xml ">
23
26
52
55
< h1 class ="header-author "> < a href ="/ "> mhcoderwl</ a > </ h1 >
53
56
</ hgroup >
54
57
55
- < p class ="header-subtitle "> 不忘初心 </ p >
58
+ < p class ="header-subtitle "> je t'aime </ p >
56
59
57
60
58
61
< nav class ="header-menu ">
@@ -106,7 +109,7 @@ <h1 class="header-author"><a href="/">mhcoderwl</a></h1>
106
109
< h1 class ="header-author js-header-author "> mhcoderwl</ h1 >
107
110
</ hgroup >
108
111
109
- < p class ="header-subtitle "> < i class ="icon icon-quo-left "> </ i > 不忘初心 < i class ="icon icon-quo-right "> </ i > </ p >
112
+ < p class ="header-subtitle "> < i class ="icon icon-quo-left "> </ i > je t'aime < i class ="icon icon-quo-right "> </ i > </ p >
110
113
111
114
112
115
@@ -145,27 +148,29 @@ <h1 class="header-author js-header-author">mhcoderwl</h1>
145
148
< canvas data-colors ="#eaeaea " data-sectionHeight ="100 " data-contentId ="js-content " id ="myCanvas1 " class ="anm-canvas "> </ canvas >
146
149
</ div >
147
150
< div id ="js-content " class ="content-ll ">
148
- < article id ="post-终于初步搭建了自己的博客 " class ="article article-type-post " itemscope itemprop ="blogPost ">
151
+ < article id ="post-利用hexo和github-page-搭建个人博客 " class ="article article-type-post " itemscope itemprop ="blogPost ">
149
152
< div class ="article-inner ">
150
153
151
154
< header class ="article-header ">
152
155
153
156
154
157
< h1 class ="article-title " itemprop ="name ">
155
- 终于初步搭建了自己的博客
158
+ 利用hexo和githubpage搭建个人博客
156
159
</ h1 >
157
160
158
161
159
162
160
- < a href ="/2017/02/26/终于初步搭建了自己的博客 / " class ="archive-article-date ">
161
- < time datetime ="2017-02-26T07:01:06 .000Z " itemprop ="datePublished "> < i class ="icon-calendar icon "> </ i > 2017-02-26</ time >
163
+ < a href ="/2017/02/26/利用hexo和github-page-搭建个人博客 / " class ="archive-article-date ">
164
+ < time datetime ="2017-02-26T13:03:23 .000Z " itemprop ="datePublished "> < i class ="icon-calendar icon "> </ i > 2017-02-26</ time >
162
165
</ a >
163
166
164
167
</ header >
165
168
166
169
< div class ="article-entry " itemprop ="articleBody ">
167
170
168
- < p > je t’aime</ p >
171
+ < p > 最近博主花了几天的时间终于搭建好了自己的小窝,也是在入坑爬坑的过程弄出来了,参照网上的一些资料教程,自己总结的一套方法如下:</ p >
172
+ < h2 id ="安装node-js "> < a href ="#安装node-js " class ="headerlink " title ="安装node.js "> </ a > 安装node.js</ h2 > < p > Node.js是一个开放源代码、跨平台的、可用于服务器端和网络应用的运行环境,该应用由 C++ 语言写成,在 Node.js 运行时运行。Node.js 提供事件驱动和非阻塞 I/O API,可优化应用程序的吞吐量和规模。这些技术通常被用于实时应用程序。并且它是采用 Google 的 V8 引擎来执行代码,它的大部分基本模块都是用 JavaScript 写成的,包含有一系列内置模块,使得程序可以作为独立服务器运行,从而脱离 Apache HTTP Server 或 IIS 运行。</ p >
173
+ < p > 而 npm 也即 Node包管理器(Node Package Manager),它是一个以 Javascript 编写的软件包管理系统,默认环境为 Node.js 。< br > 所以首先得安装node.js和npm,命令如下:< br > < figure class ="highlight plain "> < table > < tr > < td class ="gutter "> < pre > < div class ="line "> 1</ div > < div class ="line "> 2</ div > </ pre > </ td > < td class ="code "> < pre > < div class ="line "> $ sudo apt-get install nodejs</ div > < div class ="line "> $ sudo apt-get install npm</ div > </ pre > </ td > </ tr > </ table > </ figure > < br > 或者从官网上下载对应平台的版本进行安装.< br > 接下来安装nrm,是npm的资源管理器:< br > < figure class ="highlight plain "> < table > < tr > < td class ="gutter "> < pre > < div class ="line "> 1</ div > </ pre > </ td > < td class ="code "> < pre > < div class ="line "> $ sudo npm install nrm -g --registry https://registry.npm.taobao.org</ div > </ pre > </ td > </ tr > </ table > </ figure > < br > 接下来设置下载源为淘宝源(防止默认下载源速度慢超时):< br > < figure class ="highlight plain "> < table > < tr > < td class ="gutter "> < pre > < div class ="line "> 1</ div > </ pre > </ td > < td class ="code "> < pre > < div class ="line "> $ nrm use taobao</ div > </ pre > </ td > </ tr > </ table > </ figure > < br > 可能出现命令未识别,则说明没有全局安装,这时候需要你用ln命令将你下载的可执行文件链接到usr/local/bin/目录下.(如果正常则跳过)< br > < figure class ="highlight plain "> < table > < tr > < td class ="gutter "> < pre > < div class ="line "> 1</ div > </ pre > </ td > < td class ="code "> < pre > < div class ="line "> $ ln -s <下载文件> usr/local/bin/<文件名></ div > </ pre > </ td > </ tr > </ table > </ figure > </ p >
169
174
170
175
171
176
@@ -200,7 +205,7 @@ <h1 class="article-title" itemprop="name">
200
205
< ul class ="article-tag-list ">
201
206
202
207
< li class ="article-tag-list-item ">
203
- < a href ="javascript:void(0) " class ="js-tag article-tag-list-link color3 "> 随笔 </ a >
208
+ < a href ="javascript:void(0) " class ="js-tag article-tag-list-link color3 "> 教程 </ a >
204
209
</ li >
205
210
206
211
</ ul >
@@ -212,7 +217,7 @@ <h1 class="article-title" itemprop="name">
212
217
< ul class ="article-tag-list ">
213
218
214
219
< li class ="article-tag-list-item ">
215
- < a href ="/categories/随笔 / " class ="article-tag-list-link color3 " > 随笔 </ a >
220
+ < a href ="/categories/个人日志 / " class ="article-tag-list-link color5 " > 个人日志 </ a >
216
221
</ li >
217
222
218
223
</ ul >
@@ -267,7 +272,7 @@ <h1 class="article-title" itemprop="name">
267
272
< a class ="close js-modal-close " href ="javascript:; "> < i class ="icon icon-close "> </ i > </ a >
268
273
< p > 扫一扫,分享到微信</ p >
269
274
< div class ="wx-qrcode ">
270
- < img src ="http://s.jiathis.com/qrcode.php?url=http://yoursite.com/2017/02/26/终于初步搭建了自己的博客 / " alt ="微信分享二维码 ">
275
+ < img src ="http://s.jiathis.com/qrcode.php?url=http://yoursite.com/2017/02/26/利用hexo和github-page-搭建个人博客 / " alt ="微信分享二维码 ">
271
276
</ div >
272
277
</ div >
273
278
@@ -377,7 +382,7 @@ <h1 class="article-title" itemprop="name">
377
382
< ul class ="article-tag-list " q-show ="showTags ">
378
383
379
384
< li class ="article-tag-list-item ">
380
- < a href ="javascript:void(0) " class ="js-tag color3 "> 随笔 </ a >
385
+ < a href ="javascript:void(0) " class ="js-tag color3 "> 教程 </ a >
381
386
</ li >
382
387
383
388
< div class ="clearfix "> </ div >
0 commit comments