【文件属性】:
文件名称:blog-source:github静态站点的源码存放仓库
文件大小:189KB
文件格式:ZIP
更新时间:2021-03-23 12:20:17
系统开源
一,介绍
这个是hexo生成的博客代码,这里主要保存的是Markdown的文章文件。
二,如何部署起来
# 下载代码
git clone https://github.com/zhongxia245/blog-source.git
# 安装依赖
yarn install
# 下载主题
git clone https://gitee.com/zhongxia245/hexo-theme-polarbear-update.git themes/polarbear
# _config.yml 修改 theme
# Extensions
# # Plugins: https://hexo.io/plugins/
# # Themes: https://hexo.io/themes/
theme: polarbear
# 启动
hexo s
# 生成静态文件,并且部署到服务器上
hexo d -g
【文件预览】:
blog-source-master
----package.json(1KB)
----gulpfile.js(1KB)
----_config.yml(3KB)
----package-lock.json(271KB)
----scaffolds()
--------page.md(44B)
--------post.md(63B)
--------draft.md(33B)
----.gitignore(74B)
----README.md(1KB)
----yarn.lock(118KB)
----source()
--------_posts()
--------tags()
--------about()
--------404()
--------categories()