Trying Jekyll at Giraffe Academy

(V042 20200808) I am just following Mike Dane's tutorial. It is a really really great tutorial!

View on GitHub
== START MYPOST

Tutorial 11: Themes

S: Mr. Yoda-Yoda

P: Default Post Author

L: MyPost Author


HOME



== END MYPOST

Tutorial 11: Themes

Tutorial 11

SWITCHING THEMES IS NOT RECOMMENDED UNTIL FULLY UNDERSTAND THE POTENTIAL PROBLEMS!

Minima is not a native GitHub Page theme. It will cause a lot of headaches! See also starting https://youtu.be/NoRS2D-cyko?t=282 for more details.

Themes

  1. Find a theme at https://rubygems.org/search?query=jekyll-theme

  2. Preview a theme. Example: jekyll-theme-hacker

  3. Switch theme in the _config.yml file:
    theme: jekyll-theme-hacker
    
  4. Modify Gemfile file:
    source "https://rubygems.org"
    gem "tzinfo-data"
    gem "jekyll", "~> 3.8.5"
    # gem "minima", "~> 2.0"
    gem "jekyll-theme-hacker"
    gem "github-pages", group: :jekyll_plugins
    # If you have any plugins, put them here!
    group :jekyll_plugins do
      gem "jekyll-feed", "~> 0.6"
    end
    
  5. Execute:
    bundle install
    
  6. Grep:
    grep layout: *.md *.html */*.md */*.html
    
  7. Change all layouts to “default”

  8. Next
    ABC
    
  9. Example file _config.yml:
title: Trying Giraffe Academy
description: >-
  (V016 20190714) This is just following the Giraffe Academy tutorial by Mide Dane.
author: Mr. Y. Yoda
baseurl: "" 
url: "" 
email: site@ma.il
twitter_username: twitter
github_username:  webjekyll

# Build settings
markdown: kramdown
theme: minima
github: [metadata]
plugins:
  - jekyll-feed

defaults:
  -
    scope:
      path: ""
      type: "posts"
    values:
      layout: "post"

# exclude:
#   - Gemfile
#   - Gemfile.lock
#   - node_modules
#   - vendor/bundle/
#   - vendor/cache/
#   - vendor/gems/
#   - vendor/ruby/