1 写在前面:github:是一个代码管理仓库,每个项目都有一个主页,列出项目的源文件。Github Pages :其实就是为了方便新手来看代码仓库,因为用直观的页面更加容易让人接受,而不是那些复杂的代码。Github Pages可以被认为是用户编写的,托管在github上面的静态网页,github提供模板,允许站内生成网页。但是也允许用户自...
GitHub Pages are public web pages for users, organizations, and repositories, that are freely hosted on GitHub’s github.io domain or on a custom domain name of your choice. GitHub Pages are powered by Jekyll behind the scenes, so they’re a great way to
部署 推送到 github 仓库:GitHub Pages 使用入门 - GitHub 文档 hexo 部署步骤: npm install hexo-cli -g #1.部署 hexo 客户端工具(-g , 全局模式) hexo init blog #2.初始化 blog 站点目录(存放站点配置文件以及资源文件) cd blog #3.进入 blog 目录 npm install #4.安装依赖 hexo server #5.启动 he...
00</updated><entry>GitHub Pages Example<published>2018-10-27T06:00:00-04:00</published><updated>2018-10-27T06:00:00-04:00</updated><author><name>Matthew Kudija</name></author><id>tag:matthewkudija.com,2018-10-27:blog/2018/10/27/github-pages-example/</id> <p style="text-...
└── this-is-my-first-blog/ <-- page bundle | ├── index.md | └── sunset.jpg <-- page resource └—— this-is-my-second-blog.md 注意,如果将md文件和引用的图片放在一个文件夹下(官方叫page bundle),则md文件需命令为index.md,否则md在渲染为html后,里面的图片不会显示。
hexo+GithubPages创建自己的blog 搭建个人博客的步骤 一、GitHub创建个人仓库 登录到GitHub,如果没有GitHub帐号,使用某个邮箱注册一个 GitHub 帐号:点击个人页面中的 New repository 创建新仓库。 仓库的名字设定为:自己注册时的用户名 +.github.io 例如 我的用户名为:Bitnut...
Fine examples of projects using GitHub Pages (https://pages.github.com). twbs /bootstrap Star The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web. 17128478987JavaScript jekyll /jekyll ...
$ git checkout --orphan gh-pages 以下所有动作,都在该分支下完成。 第二步,创建设置文件。 在项目根目录下,建立一个名为_config.yml的文本文件。它是jekyll的设置文件,我们在里面填入如下内容,其他设置都可以用默认选项,具体解释参见官方网页。 baseurl: /jekyll_demo ...
$ git remote add origin https://github.com/username/jekyll_demo.git $ git push origin gh-pages 上传成功之后,等10分钟左右,访问http://username.github.com/jekyll_demo/就可以看到Blog已经生成了(将username换成你的用户名)。 首页: 文章页面: ...
vitepress/dist git init git add -A git commit -m "auto construct blog" git push -f https://github.com/jzplp/jzplp.github.io.git master:gh-pages 注意里面的push地址需要改成你自己的。 文件内容即是我们的构建和发布流程: 1. 构建工程,生成dist,并进入dist目录。 2. 将dist目录中的内容上传...