Jekyll is a static site generator that allows users to build static websites from dynamic content using templates, Markdown files, YAML configuration files and other features. It converts the content and templates into plain HTML files that can be hosted on any web server. Jekyll sites are fast, secure and can support plugins, themes and other functionality. To use Jekyll, the Ruby programming language needs to be installed along with the Jekyll gem, then content and templates can be organized into directories and files and converted into static HTML files via Jekyll commands.
2. Dynamic site generator
Code (Ex. PHP, ASP)
CMS (Ex. Wordpress, Joomla)
Theme & Plugin
Database (Ex. MySQL, SQL Server)
Compile by the request
+ Support other services (Ex. Comments)
Static site generator
Code (Ex. Ruby)
Framework (Ex. Jekyll)
Theme & Plugin
Content (Ex. Markdown)
Compile to HTML & Store
+ Any web server
+ Fast
+ No security vulnerabilities
? Discus, Facebook comments …
2
Dynamic/Static
9. ---
layout: post
title: Hello World
date: 2016-09-25 20:42:18
categories: news
tags:
- test
- other
---
CONTENT
Post
9
10. # Site settings
title: Linuxihaa
email: linuxihaa@gmail.com
description: > # this means to ignore newlines until
Write an awesome description…
baseurl: /blog
url: http://linuxihaa.ir
twitter_username: linuxihaa
github_username: linuxihaa
# Build settings
markdown: kramdown
config
10
11. #H1 or ======
##H2 or ------
###H3
**bold** or __bold__
*italic* or _italic_
~~scratch~~
1. First ordered list item
2. Another item
Markdown
11
* Unordered list item
* Another item
[Linuxihaa](http://linuxihaa.ir)
![alt text][image]
12. `code`
```sh
gem install jekyll
```
> Blockquotes
Markdown (2)
12
Lines: ---, ***, ___
| Personal ID | Name | Family |
| :---------: | :--- | -----: |
| Centered |Right | Left|
…