安装

git clone https://github.com/iissnan/hexo-theme-next themes/next

修改主题为Gemini

scheme: Gemini

1
2
3
4
5
6
7
8
9
menu:
  #home: / || fa fa-home
  #about: /about/ || fa fa-user
  tags: /tags/ || fa fa-tags
  categories: /categories/ || fa fa-th
  #archives: /archives/ || fa fa-archive
  #schedule: /schedule/ || fa fa-calendar
  #sitemap: /sitemap.xml || fa fa-sitemap
  #commonweal: /404/ || fa fa-heartbeat
1
2
3
menu_settings:
icons: true //是否显示图标
badges: true //是否显示各分类数量
阅读全文 »

GitHub设置

  1. 已经有了账号,本地也有sshkey,所以需要把id_rsa.pub文件的内容复制到账号–setting–”SSH and GPG keys”下面

  2. 验证是否成功的方式:ssh -T git@github.com  

  3. 进入github.com的网站,选择Repositories旁边的 New,输入uuair.github.io作为Repository name,下面选择 Add a README file,最后选 Create repository  

  4. 进入后选择 Settings,注意在GeneralDefault branch这里写的是什么,我的是main

  5. 选择Pages后,Source这里选择Deploy from a branch, Branch 这里选择main

  6. 同时上面的GitHub Pages这里会显示访问的地址:https://uuair.github.io

阅读全文 »
0%