Jekyll minima theme help setting it up

hello forum, I have read a lot of documentation on Jekyll site to get things working but I am not getting any closer so thought I will post in forums and ask. This is my first post so point out the violations. I don’t have development experience so I will be using terms that makes sense to me but may not be right in terms of Jekyll.

  1. I can’t get the separator to work. On every post that I write in _post folder, I begin with

     ---
     layout: post
     title:  "Welcome to myblog"
     date:   2020-05-03 00:52:5
     categories: [blog, welcome]
     excerpt_separator: <!--more-->
     ---
     1st paragraph that I want to show as preface.
    
     <!--more-->
    
     Continuation to blog post.
    

None of my post follow that rule and only show title but not the preface that I want. I have to click on the title to get to the full post. How do I get this to work?

  1. I can’t embed GitHub code to my post. I tried a Ruby gem by the name jekyll-github-sample but that didn’t work. Is there another way in Jekyll to reference Github code from my repository?

  2. Changing theme to anything else then minima screws up the blog. The font & alignment breaks & I had to rebuild the blog from beginning. I am running blog from an s3 bucket, can that be a reason? I followed YT videos but apart from setting up the blog & simple posts, I can’t do much customization. I am not aiming for a flashy blog site but little bit of improvement on what I have.

This is my config file.

# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you: 
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: 
email: 
description: >- # this means to ignore newlines until "baseurl:"
  
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: 
github_username:  

# Build settings
theme: minima
plugins:
  - jekyll-feed

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
#   - .sass-cache/
#   - .jekyll-cache/
#   - gemfiles/
#   - Gemfile
#   - Gemfile.lock
#   - node_modules/
#   - vendor/bundle/
#   - vendor/cache/
#   - vendor/gems/
#   - vendor/ruby/

This is my GEM file.

source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.0.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
  gem "tzinfo", "~> 1.2"
  gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

# s3_website gem for hosting blog on s3 website
gem "s3_website"

I believe by default Minima does not show post excerpts. You need to enable them by adding show_excerpts: true to your _config.yml file.

thank you Michael, for the suggestion and pointing out the minima document.

I got excerpts working on the site. :slight_smile:

The only other thing I’d like to get help on from you or anyone who has done it is embedding Github code in the post.

Using any other theme is a less pressing matter & can wait.

BUMP! any help people on 2nd question about getting Github code embed in Jekyll post, please.

Not sure if you can directly embed github.com code into a post.
Jekyll does have support for GitHub gists embeds.

thanks for the response :slight_smile: