ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
gem install bundler
gem install jekyll
jekyll new myblog
cd myblog
bundle exec jekyll serve
git clone git@github.com:hexlet-boilerplates/jekyll-bootstrap4-docker.git
cd jekyll-bootstrap4-docker
make serve
.
├── _config.yml
├── _drafts
| ├── begin-with-the-crazy-ideas.md
| └── on-simplicity-in-technology.md
├── _includes
| ├── footer.html
| └── header.html
├── _layouts
| ├── default.html
| └── post.html
├── _posts
| ├── 2007-10-29-hello.md
| └── 2009-04-26-good-stuff.md
├── _sass
| ├── _base.scss
| └── _layout.scss
├── _site
└── index.html
title: "Page title"
header_title: "Header Title"
email: your@ema.il
author: Your Name
description: "My blog description"
baseurl: ""
url: "https://myblog.com"
date_format: "%-d.%m.%Y"
https://hello.goo.com/myblog/
|--------------------|======|
| |
url baseurl
twitter_username: hexlet
{% raw %}{% if site.twitter_username %}
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/{{ site.twitter_username }}">
<span class="mr-1 fa fa-twitter"></span>
</a>
</li>
{% endif %}{% endraw %}
---
layout: default
---
{% raw %}<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include header.html %}
<div class="container">
<div class="row">
<div class="col">{{ content }}</div>
</div>
{% include footer.html %}
</div>
</body>
</html>{% endraw %}
---
layout: post
title: Features
cover_url: "/images/tree.jpg"
---
<h1>{% raw %}{{ page.title }}{% endraw %}</h1>
<meta property="og:image" content="{{ page.cover_url | prepend: site.baseurl | prepend: site.url }}">
git add --all
git commit -m "Initial commit"
git push -u origin master