Skip to content

Commit af54147

Browse files
committed
V1.2, release keynote layout
1 parent fd79dd6 commit af54147

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

README.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
![](http://huangxuan.me/img/blog-desktop.jpg)
66

7+
8+
## New Feature (V1.2)
9+
10+
- Brand new **[Keynote Layout](#keynote-layout)** is provided for easily posting beautiful HTML presentations you have created with this blog
11+
12+
713
## New Feature (V1.1)
814

915
- We now support a clean and gorgeous **[SideBar](#sidebar)** for displaying more info
10-
- **[Friends](#friends)** is also added as a common feature of a blog theme
16+
- **[Friends](#friends)** is also added as a common feature of blog help you do SEO
1117

1218
## Feature
1319

@@ -29,13 +35,13 @@
2935

3036
## Document
3137

32-
#### Environment
38+
### Environment
3339

3440
If you have jekyll installed, simply run `jekyll serve` in Command Line
3541
and preview the themes in your browser. You can use `jekyll serve --watch` to watch for changes in the source files as well.
3642

3743

38-
#### Get Started
44+
### Get Started
3945

4046
You can easily get started by modifying `_config.yml`:
4147

@@ -60,7 +66,7 @@ useShare: true # use Comment only. seeing the Share component is de
6066
There are more options you can check out in the [Jekyll - Official Site](http://jekyllrb.com/), or you can directly dive into code to find more.
6167

6268

63-
#### Write Posts
69+
### Write Posts
6470

6571
Feel free to checkout Markdown files in the `_posts/`, you will quickly realized how to post your articles with magic Markdown plus this theme:
6672

@@ -78,15 +84,15 @@ tags:
7884
7985
```
8086

81-
#### Advanced
87+
### Advanced
8288

8389
If you wanna change code yourself, a [Grunt](gruntjs.com) environment is also included. (Thanks to Clean Blog.)
8490

8591
There are a number of tasks it performs like minification of the JavaScript, compiling of the LESS files, adding banners to keep the Apache 2.0 license intact, and watching for changes. Run the grunt default task by entering grunt into your command line which will build the files. You can use grunt watch if you are working on the JavaScript or the LESS.
8692

8793
**Try to understand code in `_include/`, `_layouts/`, then you can modify Jekyll [Liquid](https://github.com/Shopify/liquid/wiki) template directly to do more creative customization.**
8894

89-
#### SideBar
95+
### SideBar
9096

9197
![](http://huangxuan.me/img/blog-sidebar.jpg)
9298

@@ -105,7 +111,7 @@ We default support *Featured Tags*, *Short About Me*, *Friends* these three modu
105111
you can disable *Featured Tags* by removing `sidebar-featured-tags` and disable *Short About Me* by removing `sidebar-about-description` plus `sidebar-avatar`. More details of *Friends* are talking below.
106112

107113

108-
#### Friends
114+
### Friends
109115

110116
Friends is a very common feature of blog seeing the SEO, so I add it in V1.1 release to help that. One of the awesome point of *Friends* is that it can live without enable sidebar. The *Friends* would display in the bottom auto when `sidebar` set to false.
111117

@@ -127,6 +133,24 @@ friends: [
127133
```
128134

129135

136+
### Keynote Layout
137+
138+
![](http://huangxuan.me/img/blog-keynote)
139+
140+
There is a increasing tendency to use Open Web technology to create keynotes, presentations, like Reveal.js, Impress.js, Slides, Prezi etc. I consider a modern blog should have abilities to post these HTML based presentation easily also abilities to play it directly.
141+
142+
Under the hood, a `iframe` is used to include webpage from outer source, so the only things left is to give a url in the **front-matter**:
143+
144+
```
145+
---
146+
layout: keynote
147+
iframe: "http://huangxuan.me/js-module-7day/"
148+
---
149+
150+
```
151+
152+
The iframe will be automatically resized to adapt different form factor and the device orientation. A Padding is left to imply user there has more content below, also ensure there is a area user can scrolled in mobile device seeing all most keynote framework prevent the browser default scroll behavior.
153+
130154
## Thanks
131155

132156
This theme is forked from [IronSummitMedia/startbootstrap-clean-blog-jekyll](https://github.com/IronSummitMedia/startbootstrap-clean-blog-jekyll)

img/blog-keynote.jpg

55.2 KB
Loading

0 commit comments

Comments
 (0)