This is a website(blog) create by jekyll using the theme - hyde.
However, I want to test Bootstrap, so large part of them is replaced by Bootstrap.
For _config.html, change the markdown parsing engine from redcarpet to kramdown. (default : redcarpet in Hyde)
The reason is that:
markdown: redcarpet
to
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
Be sure to gem install kramdown rouge if you want to run it locally.
If you want to use Bootstrap CSS like me, you have to add the following lines to _includes/head.html
<!-- Boostrap CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
and comment out Hyde CSS
<!--
<link rel="stylesheet" href="/public/css/poole.css">
<link rel="stylesheet" href="/public/css/hyde.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
-->
Note that syntax.css should be kept for rendering the code.
jekyll serve
Then, you can open the browser to http://127.0.0.1:4000/
mkdir awesomeness
Now your directory should have:
/ # root directory
/404.html
/LICENSE.md
/README.md
/_config.yml
/_includes/
/_layouts/
/_posts/
/_site/
/about.md
/atom.xml
/awesomeness/ # your new directory for pages - awesomeness
/index.html
/public/
---
layout: page
title: awesomeness
---
Note that the title doesn’t have to conform to any retrictions, but it should not be empty.
It would be the name used on the navigation bar and title display.