Skip to content

Instantly share code, notes, and snippets.

@harsh98trivedi
Last active March 26, 2022 03:24
Show Gist options
  • Save harsh98trivedi/472cb45b29bfa9f7c1916e514802393a to your computer and use it in GitHub Desktop.
Save harsh98trivedi/472cb45b29bfa9f7c1916e514802393a to your computer and use it in GitHub Desktop.
Basic Jekyll _config.yml and Gemfile for Blog
# Default Markdown Engine
markdown: kramdown
# Files which needs to be exluded
exclude:
- Gemfile.lock
# Title for your Site
title: Site Name
# Author Name of the Blog
author: Person Name
# Setting Permalink for your Blog
permalink: 'blog/:title'
# Default Port for Hosting your.
port: 4000
# Default Plugins
plugins:
- jekyll-feed
- jekyll-admin
# Defaults for your Blog
defaults:
-
scope:
path: ""
type: 'posts'
values:
image: ""
meta: ""
author: ""
layout: posts
-
scope:
path: ""
type: 'pages'
values:
image: ""
meta: ""
layout: page
# GEMFILE FOR JEKYLL
source "http://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"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# 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
group :jekyll_plugins do
gem "jekyll-admin"
gem "jekyll-feed"
end
gem "rack"
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm" if Gem.win_platform?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment