Create Jekyll Github website
In the past, people forked Minimal Mistakes, but it is much cleaner and better to download the latest Minimal Mistakes release. The Minimal Mistakes is one of numerous fast Jekyll templates that are highly fast. Forget about AMP, you can get almost as fast mobile browsing Google PageSpeed scores with Jekyll and Minimal Mistakes.
- Extract the release to directory
- one-time inside repo
- On github.com, create a new repository
your_github_username.github.iowhere obviously you use your Github username instead of
_config.yml, change the following lines to fit your needs: title, name, description, url, repository
git push -u origin masterto Github
Future edits will follow the usual
git commit -am <commit msg>
git push method.
Easy enhancements to Wordpress migrated to Jekyll _posts
remove default “layout: post” from migrated posts
This is useful for the default
layout: single in
sed -i '/layout: post/d' *.html
create static page buttons for all pages
Nice formatting to all your pages and posts
_config.yml these lines (anywhere in file):
defaults: - scope: path: "" values: layout: "single" author_profile: false read_time: false comments: true share: true related: true include: ["_pages"]
Make a beautiful banner:
index.html header (between three dashes) the lines:
header: overlay_color: "#000" overlay_filter: "0.5" overlay_image: /assets/images/header.jpg excerpt: "text overlaid on banner image"
Get rid of the author freckle on the upper left:
Remove category from permalinks
It’s smart to do this in case you later decide a page category should change, without screwing up your search engine results.
number of posts per archive page
paginate: 10 # amount of posts to show