1 Star 3 Fork 3

KeJun / 非你莫属fast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.63 KB
一键复制 编辑 原始数据 按行查看 历史
KeJun 提交于 2017-12-18 20:43 . feat(me): add more me_info

fast

轻量,快速的简历 Pages 主题。

快速开始

  • fork 这个主题。
  • 修改 _config.yml
  • 修改 _data 文件夹下的 yml 文件。
  • 预览

配置详解

主要有6个配置文件

_config.yml

baseurl: "/fast" # baseurl
title: "KeJun" # 你是谁?
email: # 你的邮箱
  url: "kejun1997#gamil.com" # 你的邮件地址
  text: "@KeJun1997" # 要显示文字
blog: # 你的博客
  url: "https://blog.kejun.space"
  text: "KeJun Blog"
gitee: # 你的 Gitee
  url: "https://gitee.com/KeJunPower/"
  text: "Gitee/KeJunPower"
location: # 你的位置
  text: "Jinzhong, Shanxi, China"
  url: "https://www.google.com/maps/place/Pingyao/"
logo: "/fast/assets/img/fastlogo.png" # 你的头像

请注意下面的字段将同时用于主页最新的四篇文章的获取

blog: # 你的博客
  url: "https://blog.kejun.space"
  text: "KeJun Blog"

要配合使用,必须在你博客根目录创建一个 posts.json 文件,内容如下:

---
---
[
{% for post in site.posts limit:4 %}
{"title": "{{ post.title }}", "url": "{{ post.url}}","date": "{{post.date | date: "%Y %h %d"}}","excerpt": "{{ post.excerpt | strip_html| strip_newlines }}",},
{% endfor %}
  null
]

此项目跟目录的 posts.json 为示例文件,并无实际意义,可删除。

myTags.yml

用于展示你的技术栈。

- Cat
- Ruby
- Jekyll
- Love Dog
- Happy
- HTML
- Javascript
- Dog
- Python
- CSS
- SASS
- Git
- Github
- C
- MacBook Pro
- Android
- Music

pages.yml

用于创建页面。

- name: Me  #名称
  id: page1 #页面id,对应_posts文件夹下文章的kid

- name: About
  id: page2

- name: SNS
  id: page3

- name: Projects
  id: page4

- name: New
  id: page5

要创建新的页面,你必须在此新增内容。

页面的内容需新建于 _posts 文件夹内,名称必须符合 Jekyll 的规范,头文件的 kid 必须对应 pages.yml

projects.yml

用于展示你的项目。

- name: Jekyll-theme-mdui                               # 项目名称
  description: A Jekyll theme based on MDUI             # 项目描述
  url: https://github.com/KeJunMao/jekyll-theme-mdui    # 项目地址
- name: fastjekyll
  description: Autoinstall Jekyll for windows
  url: https://github.com/KeJunMao/fastjekyll
- name: Fast Theme
  description: Gitee theme
  url: https://gitee.com/KeJunPower/fast

sns.yml

如何找到你?

注意,字段中的 name 不可更改,url 留空则不显示在主页。

License

The theme is available as open source under the terms of the MIT License.

HTML
1
https://gitee.com/KeJunPower/fast.git
git@gitee.com:KeJunPower/fast.git
KeJunPower
fast
非你莫属fast
master

搜索帮助