# For more information: https://github.com/vinta/pangu.js # Server-side plugin: https://github.com/next-theme/hexo-pangu pangu: true # Prefetch links based on what is in the user's viewport. # For more information: https://getquick.link # Front-matter variable (nonsupport home archive...
runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 其中name: Use Node.js 20这里的20替换成上面查询到的版本号,比如查询到的版本号为20.13.1,在此处为name: Use Node.js 20.13.1 在储存库中前往Settings > Pages > Source, 将source更改为GitH...
1 写在前面:github:是一个代码管理仓库,每个项目都有一个主页,列出项目的源文件。Github Pages :其实就是为了方便新手来看代码仓库,因为用直观的页面更加容易让人接受,而不是那些复杂的代码。Github Pages可以被认为是用户编写的,托管在github上面的静态网页,github提供模板,允许站内生成网页。但是也允许用户自...
1.GitHub Pages https://pages.github.com/ 2.Generate a site, or start from scratch? https://github.com/new 3.Create a gh-pages branch Head over toGitHub.comand create a new repository, or go to an existing one. In the repository overview, click the branch drop-down on the left-hand...
使用Github Pages搭建个人Blog 关于使用Github Pages搭建个人Blog的文章网络上到处都是,下面仅记录下简单的流程和搭建过程中遇到的一些坑 创建项目主页 这里直接使用了GithubPages向导中提供的方法 这样整个网站内容都在master分支下 http://username .github.io/就是你的个人主页的地址了 ...
GitHub Pages本来是给托管在GitHub的项目的介绍页面留的空间,由于其空间是免费的,拿来搭个博客真心不错。但是,一般的Blog CMS都是非静态的,而如果我们要用静态空间搭博客,那就只能自己动手切页面或者使用为这种静态空间设计的博客管理工具。 这种博客管理工具用的比较多的应该算是Jekyll以及HEXO了,一开...
github pages有两类:你如果起个名为chendell.github.io的repository, 那么他的master分支上的文件就能在chendell.github.io的根目录访问到。而如果是其他的repositories,比如这个repository名字叫node,那么建一个gh-pages分支,该分支下的文件就能在chendell.github.io/node/下访问到。1. 门槛:需要理解...
#On Mojave (10.14) Because of SIP ProtectionsinMojave, you must run: $sudo gem install bundler $sudo gem install -n /usr/local/bin/ jekyll #Before Mojave (<10.14) You only have to run: $sudo gem install bundler jekyll mxgx:jijiucheng.github.io jijiucheng$ bundle -v ...
用Github Pages搭建免费Blog:[4]Jekyll 1 Jekyll:一个静态站点生成器,它会根据网页源码生成静态文件。它提供了模板、变量、插件等功能,所以实际上可以用来编写整个网站。优势简单: 没有其他的数据库, 评论审核,或者需要安装的更新, 你只需要更新自己的内容就可以了。使用Markdown(orTextile),Liquid, HTML&CSS...
在搭建之前,你必须已经安装了git,并且有github账户。 第一步,创建项目。 在你的电脑上,建立一个目录,作为项目的主目录。我们假定,它的名称为jekyll_demo。 $ mkdir jekyll_demo 对该目录进行git初始化。 $ cd jekyll_demo $ git init 然后,创建一个没有父节点的分支gh-pages。因为github规定,只有该分支中的...