指点云用户44 发表于 2022-8-1 11:33:23

一种快速搭建个人博客网站的方式

<h1 style="color: rgb(34, 34, 34); font-size: 18px; line-height: 45px; margin: 20px 0px 10px; text-indent: 0em; clear: both; font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);">第一章</h1><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">介绍一个开源的个人博客<a href="https://www.isolves.com/it/cxkf/kj/" target="_blank" class="infotextkey" style="color: rgb(51, 51, 51); text-decoration-line: none; border-bottom: 1px dashed rgb(194, 7, 7); padding-bottom: 4px;">框架</a>hexo,展示如何使用它快速搭建个人博客,并发布到github</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>准备</strong></p><ul style="list-style-type: none;" class=" list-paddingleft-2"><li><p>Node环境</p></li><li><p>Git工具</p></li><li><p>GitHub账号</p></li></ul><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>搭建</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>1.下载</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">npm&nbsp;i&nbsp;-g&nbsp;hexo-cli</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>2.初始化</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;init</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">命令执行时会自动下载一个默认主题,这样一个初始化的博客<a href="https://www.isolves.com/it/wlyx/wzjs/" target="_blank" class="infotextkey" style="color: rgb(51, 51, 51); text-decoration-line: none; border-bottom: 1px dashed rgb(194, 7, 7); padding-bottom: 4px;">网站</a>就搭建成功了,接下来就可以启动了。</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>3.启动</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;s</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">启动成功后,打开浏览器,访问提示端口</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><h1 style="color: rgb(34, 34, 34); font-size: 18px; line-height: 45px; margin: 20px 0px 10px; text-indent: 0em; clear: both; font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);">第二章</h1><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>写博客</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">利用命令行或者手动创建,这里讲一下命令行</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">进入控制台,切换到&nbsp;<strong>source/_posts/&nbsp;</strong>目录下</p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">cd&nbsp;source/_posts/</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>1.新建</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;n&nbsp;名称</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">执行完成后,就会在<strong>source/_posts/</strong>下生成一个文件</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>2.使用markdown编辑器编辑好内容,保存退出!</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>3.先清除</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;clean</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">再生成</p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;g</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>4.最后再次启动</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;s</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">就可以看到自己写的博客了</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>更换主题</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">自定义一个主题</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">推荐:<strong>https://github.com/litten/hexo-theme-yilia</strong>,一个优雅简洁的主题</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>1.下载</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">从<strong>blog/</strong>下进入控制台</p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">git&nbsp;clone&nbsp;https://github.com/litten/hexo-theme-yilia.git&nbsp;themes/yilia</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">会将主题下载到目录文件夹themes/下</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>2.修改配置</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">下载完成后,修改配置文件<strong>_config.yml</strong>,将<strong>theme</strong>换成自己要换的主题名</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>3.保存退出之后再先清除</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;clean</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>再生成</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">hexo&nbsp;g</pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>4.启动</strong></p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">&nbsp;<br/></pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">效果</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>发布</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">到目前为止,我们创建的博客只能在本地运行,只能本地主机访问,这样的博客网站是没有任何意义的,因此,我们要将它发布到服务器上,这里我们采用一个免费的方式,将它发布到github上</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>1.创建仓库</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">点击加号后,选择<strong>new repository</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>注意:新建的仓库名必须是:登录名+github.io</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>2.安装插件</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>hexo-deployer-git:</strong>用将博客网站发布到远端的插件</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">切换到<strong>blog/</strong>下,进入控制台</p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">&nbsp;<br/></pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>3.修改配置文件</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">打开<strong>_config.yml</strong>,找到最底修改为</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>4.发布</strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">控制台</p><pre style="white-space: pre-wrap; overflow-wrap: break-word; color: rgb(37, 37, 37); text-align: justify; text-indent: 32px; background-color: rgb(255, 255, 255);">&nbsp;<br/></pre><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">刷新再进入到刚刚创建的仓库,我们就可以看到上传很多文件</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">这样我们可以直接使用仓库名进行访问,例如:</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">我这里使用:<strong>http://chenhr24.github.io</strong>访问</p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">&nbsp;</p><h1 style="color: rgb(34, 34, 34); font-size: 18px; line-height: 45px; margin: 20px 0px 10px; text-indent: 0em; clear: both; font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255);">结语</h1><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none; color: rgb(37, 37, 37); font-family: Verdana, Arial, Helvetica, sans-serif, 宋体; text-align: justify; text-indent: 32px; white-space: normal; background-color: rgb(255, 255, 255);">本文给大家介绍了一种快速搭建个人博客网站的方式,并将博客网站发布到GitHub上。当然,这里只是使用了hexo搭建一个建议的网站,如果想要做的更加美观,可以之后再做完</p><p><br/></p><link rel="stylesheet" href="//www.zhidianyun.cn/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_TZ8" id="wcn_editor_css"/>
页: [1]
查看完整版本: 一种快速搭建个人博客网站的方式