Forec's Notes

第一日

Github和Gitcafe同时push的_config.yml,测试hexo效果

2015 · 归档

写于 2015 年,原文迁移,仅修正明显错字与失效链接。

目录

Github和Gitcafe同时push的_config.yml,测试hexo效果

_config.yml

  • 部署部分:
bash
deploy:
  type: git
  repo:
    github: git@github.com:Forec/Forec.github.io.git,master
    gitcafe: git@gitcafe.com:Forec/Forec.git,gitcafe-pages

在gitcafe中建立静态网页需要设置branch为gitcafe-pages


测试hexo

Test - LanguageList

  • c
  • c++
  • java
  • python
  • golang
  • haskell

Test - Code

  • Some code below
java
package test;

public class TestHexo{
    public static void main(String...args){
		System.out.println("test");
	}
}