Templates for homepage and markdown posts.
Signed-off-by: HE, Tao <sighingnow@gmail.com>
This commit is contained in:
20
_posts/2019-04-27-why.md
Normal file
20
_posts/2019-04-27-why.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Why Jekyll with GitBook
|
||||
author: Tao He
|
||||
date: 2019-04-27
|
||||
category: Jekyll
|
||||
layout: post
|
||||
---
|
||||
|
||||
GitBook is an amazing frontend style to present and organize contents (such as book chapters
|
||||
and blogs) on Web. The typical to deploy GitBook at [Github Pages][1]
|
||||
is building HTML files locally and then push to Github repository, usually to the `gh-pages`
|
||||
branch. However, it's quite annoying to repeat such workload and make it hard for people do
|
||||
version control via git for when there are generated HTML files to be staged in and out.
|
||||
|
||||
This theme takes style definition out of generated GitBook site and provided the template
|
||||
for Jekyll to rendering markdown documents to HTML, thus the whole site can be deployed
|
||||
to [Github Pages][1] without generating and uploading HTML bundle every time when there are
|
||||
changes to the original repository.
|
||||
|
||||
[1]: https://pages.github.com
|
14
_posts/2019-04-28-howto.md
Normal file
14
_posts/2019-04-28-howto.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: How to Get Started
|
||||
author: Tao He
|
||||
date: 2019-04-28
|
||||
category: Jekyll
|
||||
layout: post
|
||||
---
|
||||
|
||||
This theme can be used just as other [Jekyll themes][1].
|
||||
|
||||
Fork this repository and add your markdown posts to the `_posts` folder, then
|
||||
push to your own Github repository. No need to push generated HTML bundle.
|
||||
|
||||
[1]: https://pages.github.com/themes
|
Reference in New Issue
Block a user