Skip to content

Commit 7c7558f

Browse files
committed
firstcommit
1 parent b3374a7 commit 7c7558f

3 files changed

Lines changed: 30 additions & 40 deletions

File tree

index.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
<pubDate>Tue, 07 Jan 2020 14:08:20 +0800</pubDate>
1818

1919
<guid>https://sin-coder.github.io/post/hugo/</guid>
20-
<description>关键词:Hugo 、Git、Github、域名解析 内容摘要: #### 前期准备 安装Hugo、Git,注册Github,购买域名(可选)
21-
Hugo框架的搭建、测试步骤 Hugo框架部署在Github上 绑定域名 概述 #### Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
22-
#### Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
23-
#### Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
20+
<description>关键词:Hugo 、Git、Github、域名解析 内容摘要: 1.前期准备 安装Hugo、Git,注册Github,购买域名(可选)
21+
2.Hugo框架的搭建、测试步骤 3.Hugo框架部署在Github上 4.绑定域名 概述 1.Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
22+
2.Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
23+
3.Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
2424
具体过程 1.准备工作 下载Git并安装、配置环境变量 完成后在终端执行&amp;rdquo;git&amp;rdquo;命令来测试是否安装成功,有关git的安装请看Git的来龙去脉
2525
下载Hugo并安装、配置环境变量 完成后在终端执行&amp;rdquo;hugo version&amp;rdquo;命令来测试是否安装成功,终端提示如下信息表示安装成功
2626
C:\Users\Administrator&amp;gt;hugo version Hugo Static Site Generator v0.59.1-D5DAB232 windows/amd64 BuildDate: 2019-10-31T15:22:43Z Hugo最好安装在英文目录下
2727
下载时可能由于网络问题失败,附上Hugo、Git、主题m10c的下载包链接: 下载链接
2828
注册Github官网(已有账号请忽略) 2.生成个人站点 (1)在终端执行命令 C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog 出现以下提示信息表示创建成功:
29-
C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog Congratulations!</description>
29+
C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog Congratulations! Your new Hugo site is created in E:\hugo\Sites\myblog. Just a few more steps and you&#39;re ready to go: 1.</description>
3030
</item>
3131

3232
</channel>

post/hugo/index.html

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@
1212

1313
<meta name="twitter:card" content="summary"/>
1414
<meta name="twitter:title" content="基于Hugo框架搭建个人博客"/>
15-
<meta name="twitter:description" content="关键词:Hugo 、Git、Github、域名解析 内容摘要: #### 前期准备 安装Hugo、Git,注册Github,购买域名(可选)
16-
Hugo框架的搭建、测试步骤 Hugo框架部署在Github上 绑定域名 概述 #### Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
17-
#### Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
18-
#### Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
15+
<meta name="twitter:description" content="关键词:Hugo 、Git、Github、域名解析 内容摘要: 1.前期准备 安装Hugo、Git,注册Github,购买域名(可选)
16+
2.Hugo框架的搭建、测试步骤 3.Hugo框架部署在Github上 4.绑定域名 概述 1.Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
17+
2.Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
18+
3.Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
1919
具体过程 1.准备工作 下载Git并安装、配置环境变量 完成后在终端执行&rdquo;git&rdquo;命令来测试是否安装成功,有关git的安装请看Git的来龙去脉
2020
下载Hugo并安装、配置环境变量 完成后在终端执行&rdquo;hugo version&rdquo;命令来测试是否安装成功,终端提示如下信息表示安装成功
2121
C:\Users\Administrator&gt;hugo version Hugo Static Site Generator v0.59.1-D5DAB232 windows/amd64 BuildDate: 2019-10-31T15:22:43Z Hugo最好安装在英文目录下
2222
下载时可能由于网络问题失败,附上Hugo、Git、主题m10c的下载包链接: 下载链接
2323
注册Github官网(已有账号请忽略) 2.生成个人站点 (1)在终端执行命令 C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog 出现以下提示信息表示创建成功:
24-
C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog Congratulations!"/>
24+
C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog Congratulations! Your new Hugo site is created in E:\hugo\Sites\myblog. Just a few more steps and you&#39;re ready to go: 1."/>
2525

2626
<meta property="og:title" content="基于Hugo框架搭建个人博客" />
27-
<meta property="og:description" content="关键词:Hugo 、Git、Github、域名解析 内容摘要: #### 前期准备 安装Hugo、Git,注册Github,购买域名(可选)
28-
Hugo框架的搭建、测试步骤 Hugo框架部署在Github上 绑定域名 概述 #### Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
29-
#### Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
30-
#### Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
27+
<meta property="og:description" content="关键词:Hugo 、Git、Github、域名解析 内容摘要: 1.前期准备 安装Hugo、Git,注册Github,购买域名(可选)
28+
2.Hugo框架的搭建、测试步骤 3.Hugo框架部署在Github上 4.绑定域名 概述 1.Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
29+
2.Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
30+
3.Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
3131
具体过程 1.准备工作 下载Git并安装、配置环境变量 完成后在终端执行&rdquo;git&rdquo;命令来测试是否安装成功,有关git的安装请看Git的来龙去脉
3232
下载Hugo并安装、配置环境变量 完成后在终端执行&rdquo;hugo version&rdquo;命令来测试是否安装成功,终端提示如下信息表示安装成功
3333
C:\Users\Administrator&gt;hugo version Hugo Static Site Generator v0.59.1-D5DAB232 windows/amd64 BuildDate: 2019-10-31T15:22:43Z Hugo最好安装在英文目录下
3434
下载时可能由于网络问题失败,附上Hugo、Git、主题m10c的下载包链接: 下载链接
3535
注册Github官网(已有账号请忽略) 2.生成个人站点 (1)在终端执行命令 C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog 出现以下提示信息表示创建成功:
36-
C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog Congratulations!" />
36+
C:\Users\Administrator&gt;hugo new site E:\hugo\Sites\myblog Congratulations! Your new Hugo site is created in E:\hugo\Sites\myblog. Just a few more steps and you&#39;re ready to go: 1." />
3737
<meta property="og:type" content="article" />
3838
<meta property="og:url" content="https://sin-coder.github.io/post/hugo/" />
3939
<meta property="article:published_time" content="2020-01-07T14:08:20+08:00" />
@@ -83,39 +83,29 @@ <h3 id="关键词-hugo-git-github-域名解析">关键词:Hugo 、Git、Github
8383

8484
<h3 id="内容摘要">内容摘要:</h3>
8585

86-
<ol>
87-
<li>#### 前期准备</li>
88-
</ol>
86+
<h4 id="1-前期准备">1.前期准备</h4>
8987

9088
<p>安装Hugo、Git,注册Github,购买域名(可选)</p>
9189

92-
<ol>
93-
<li><h4 id="hugo框架的搭建-测试步骤">Hugo框架的搭建、测试步骤</h4></li>
90+
<h4 id="2-hugo框架的搭建-测试步骤">2.Hugo框架的搭建、测试步骤</h4>
9491

95-
<li><h4 id="hugo框架部署在github上">Hugo框架部署在Github上</h4></li>
92+
<h4 id="3-hugo框架部署在github上">3.Hugo框架部署在Github上</h4>
9693

97-
<li><h4 id="绑定域名">绑定域名</h4></li>
98-
</ol>
94+
<h4 id="4-绑定域名">4.绑定域名</h4>
9995

10096
<hr />
10197

10298
<h2 id="概述">概述</h2>
10399

104-
<ol>
105-
<li>#### Hugo简介</li>
106-
</ol>
100+
<h4 id="1-hugo简介">1.Hugo简介</h4>
107101

108102
<p>Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客</p>
109103

110-
<ol>
111-
<li>#### Git简介</li>
112-
</ol>
104+
<h4 id="2-git简介">2.Git简介</h4>
113105

114106
<p>Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章</p>
115107

116-
<ol>
117-
<li>#### Github简介</li>
118-
</ol>
108+
<h4 id="3-github简介">3.Github简介</h4>
119109

120110
<p>Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章</p>
121111

@@ -272,7 +262,7 @@ <h4 id="4-本地启动测试">(4)本地启动测试</h4>
272262

273263
<p>​ 复制<a href="http://localhost:1313/">http://localhost:1313/</a> 在浏览器中打开即可看到如下界面</p>
274264

275-
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/localtest1.png" alt="预览界面" /></p>
265+
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/localtest1.png" alt="预览界面" style="zoom:80%;" /></p>
276266

277267
<h4 id="5-个性化定制">(5)个性化定制</h4>
278268

@@ -308,7 +298,7 @@ <h4 id="5-个性化定制">(5)个性化定制</h4>
308298

309299
<p>​ 参数配置完成后进行测试的效果</p>
310300

311-
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/localtest2.png" alt="参数配置测试" /></p>
301+
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/localtest2.png" alt="参数配置测试" style="zoom:80%;" /></p>
312302

313303
<p>当然,可配置的参数还有许多,比如文章分类、评论系统等功能,这个希望大家继续研究</p>
314304

@@ -335,7 +325,7 @@ <h4 id="6-创建博客文章">(6)创建博客文章</h4>
335325

336326
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/preview1.png" alt="本地预览" style="zoom:80%;" /></p>
337327

338-
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/preview2.png" alt="本地预览" /></p>
328+
<p><img src="https://raw.githubusercontent.com/sin-coder/pictures/master/blog/hugo/preview2.png" alt="本地预览" style="zoom:80%;" /></p>
339329

340330
<h4 id="7-本地部署测试命令总结">(7)本地部署测试命令总结</h4>
341331

post/index.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
<pubDate>Tue, 07 Jan 2020 14:08:20 +0800</pubDate>
1818

1919
<guid>https://sin-coder.github.io/post/hugo/</guid>
20-
<description>关键词:Hugo 、Git、Github、域名解析 内容摘要: #### 前期准备 安装Hugo、Git,注册Github,购买域名(可选)
21-
Hugo框架的搭建、测试步骤 Hugo框架部署在Github上 绑定域名 概述 #### Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
22-
#### Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
23-
#### Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
20+
<description>关键词:Hugo 、Git、Github、域名解析 内容摘要: 1.前期准备 安装Hugo、Git,注册Github,购买域名(可选)
21+
2.Hugo框架的搭建、测试步骤 3.Hugo框架部署在Github上 4.绑定域名 概述 1.Hugo简介 Hugo是基于Go语言开发的静态网站生成器,简单、易用、快速部署,主要用于构建个人博客
22+
2.Git简介 Git是目前主流的分布式版本控制工具,有关Git的使用请查看Git的来龙去脉这篇文章
23+
3.Github简介 Github是在外网环境下的一个代码托管库,有关Github的介绍请查看开始玩起Github这篇文章
2424
具体过程 1.准备工作 下载Git并安装、配置环境变量 完成后在终端执行&amp;rdquo;git&amp;rdquo;命令来测试是否安装成功,有关git的安装请看Git的来龙去脉
2525
下载Hugo并安装、配置环境变量 完成后在终端执行&amp;rdquo;hugo version&amp;rdquo;命令来测试是否安装成功,终端提示如下信息表示安装成功
2626
C:\Users\Administrator&amp;gt;hugo version Hugo Static Site Generator v0.59.1-D5DAB232 windows/amd64 BuildDate: 2019-10-31T15:22:43Z Hugo最好安装在英文目录下
2727
下载时可能由于网络问题失败,附上Hugo、Git、主题m10c的下载包链接: 下载链接
2828
注册Github官网(已有账号请忽略) 2.生成个人站点 (1)在终端执行命令 C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog 出现以下提示信息表示创建成功:
29-
C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog Congratulations!</description>
29+
C:\Users\Administrator&amp;gt;hugo new site E:\hugo\Sites\myblog Congratulations! Your new Hugo site is created in E:\hugo\Sites\myblog. Just a few more steps and you&#39;re ready to go: 1.</description>
3030
</item>
3131

3232
</channel>

0 commit comments

Comments
 (0)