8000 GitHub - Zhang-YZ/jekyll-project: 企业应用开发博客
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Zhang-YZ/jekyll-project

Repository files navigation

企业应用开发博客

点击链接查看博客网页:xinhao.space


博客写作方法

博客使用markdown或者md文件,第一次先把远端仓库使用 git clone 命令复制到本地,在本地写好文件以后,先使用 git pull --rebase origin master 同步本地与远端的文件,然后点开 _post 文件夹,将写好的文件复制进去,使用 git addgit commit -m "your message"git push origin master 命令推至远端。半分钟后打开网址查看效果。

Ps:如果有操作失误请立刻联系其他组员。


博客markdown文件格式

1.文件名请使用 YYYY-MM-DD-filename.md 形式,其中前面三节代表日期,后面是文件名称。(其中文件名称不是博文名称,日期也不是真正日期,格式正确就可以)

2.markdown或md文件开头必须以以下格式开始必须从第一行到第六行为以下六行):

---
layout: post
title: "Welcome to Jekyll!"
date: 2016-07-19
categories: jekyll update
---

其中 title 是博文的真正名字(可以和文件名字不同),date 是博文的真正日期,其他两项无需修改。

Typora上预览如下:

img

github 上预览如下:

img


Jekyll template

Light and beautiful blog style template for jekyll

Gitter Twitter

preview

Demo

Find a demo here

Contributing

  1. Clone the repo
  2. Checkout the dev branch ( Do not work directly on master )
  3. Use jekyll serve to run the project
  4. Make your changes and test
  5. Submit a pull request

About

企业应用开发博客

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0