Skip to content

添加about页

郑超 edited this page Jul 7, 2017 · 2 revisions

在根目录下打开命令行窗口,生成一个about页面:

hexo new page 'about'

打开打开主题配置文件themes/BlueLake/_config.yml,补全关于我页面的详细信息:

# About page
about:
  photo_url: ## Your photo e.g. http://obzf7z93c.bkt.clouddn.com/themeauthor.jpg
  items:
  - label: email
    icon: fa-email
    url: ## Your email with mailto: e.g.  mailto:[email protected]
    title: ## Your email e.g.  [email protected]
  - label: github
    icon: fa-github
    url: ## Your github'url e.g.  https://github.com/chaooo
    title: ## Your github'name e.g.  chaooo
  - label: weibo
    icon: fa-weibo
    url: ## Your weibo's url e.g.  http://weibo.com/zhengchaooo
    title: ## Your weibo's name e.g.  秋过冬漫长
  - label: twitter
    icon: fa-twitter
    url:
    title:
  - label: facebook
    icon: fa-facebook
    url:
    title:
  • 当然您也可以自定义重新布局about页面,只需要修改layout/page.jade模板就好。