Simple Bootstrap 4 theme for Jekyll
Branch: master
Clone or download
Pull request Compare This branch is even with takasoft:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
_layouts
_posts
category
public
.gitignore
404.html
CNAME
LICENSE
README.md
_config.yml
about.md
archive.md
atom.xml
index.html

README.md

Bootstrap 4 Jekyll Theme

Simple Bootstrap 4 theme for Jekyll

Features

✓ Command-line workflow, using GitHub.com to create, customize and post to your blog
✓ Fully responsive and mobile optimized base theme (Demo)
✓ Free hosting on your GitHub Pages user site
✓ Very light weight. It loads very fast even in 2G connections.
✓ Markdown blogging

✘ No installing dependencies
✘ No need to set up local development
✘ No configuring plugins
✘ No need to spend time on theming

Quick start

Step 1) Fork this theme to your user repository

Fork this repository, then rename the repository to your-username.github.io or your favorite name.

Step 2) Enable Github Pages

Go to Settings --> Github Pages --> Source

Choose master branch and enable Github Pages.

Your Jekyll blog will be viewable at http://your-username.github.io or http://your-username.github.io/your-favorite-name.

Step 2) Customize and view your site

Edit site info by editing the _config.yml file. Change baseurl to your repository's name. If it is your-username.github.io then set it empty.

There are 2 different ways that you can make changes to your blog's files:

  1. Edit files within your new repository in the browser at gitHub.com (easiest).
  2. Clone down your repository and make updates locally, then push them to your GitHub repository.

Step 3) Publish your first blog post

Go to /_posts/ and create a markdown file in this format: year-month-day-title.md to publish your first blog post.

Some manual setups

  • You have to create <new category name>.html with the following content in the category folder when you create a new category.
---
layout: category
title: new category name
category: new-category-name
---

Local Development

gem install jekyll bundler
bundle install
bundle exec jekyll serve

How to import from wordpress

Install "WordPress to Jekyll Exporter"

Tools -> Export to Jekyll

Unzip the file and copy _posts, _config.yml, wp-content, and any .md files in the root to your repo.

cd ./_posts
# replace image links
find . -name '*.md' -print0 | xargs -0 sed -i "" "s/http:\/\/www.yourwebsite.com\/wp-content\/uploads/{{ site.baseurl }}/wp-content/uploads/g"
# replace code pre tags
find . -name '*.md' -print0 | xargs -0 sed -i "" "s/<pre>/<pre><code class=\"bash\">/g"
find . -name '*.md' -print0 | xargs -0 sed -i "" "s/<\/pre>/<\/code><\/pre>/g"