Plain is a plain text-like Jekyll theme for GitHub Pages.
Usage
Templates
You can use the following templates:
Manual setup
To set up manually, add the following to your _config.yml
:
remote_theme: jekyll-theme-plain/jekyll-theme-plain
See the template's _config.yml for options.
Layouts
You can override the layout by creating a file of the same name in the _layouts
directory.
Layouts and style sheets are not applied automatically; for posts, you may want to use the front matter defaults in _config.yml
:
# Front matter defaults for posts
defaults:
- scope:
path: ""
type: posts
values:
layout: post
stylesheets:
# - default.css # site-wide style sheet (if any)
- post.css
title: "" # if an empty string is specified, the URL is set as the title.
Includes
You can override the include by creating a file of the same name in the _includes
directory.
-
custom-head.html - additional tags to the
<head>
- post.css - style sheet for posts
You can place a post listing on any page by writing {%- include post-listing.html -%}
, and so forth.