The Collected theme
Usage
To use the Collected theme:
-
Create a new Jekyll site on your local machine.
-
Remove
gem jekyllfrom your Gemfile and addgem "github-pages", group: :jekyll_plugins. -
Add the following to your site's
_config.yml:remote_theme: joebuhlig/jekyll-theme-collected
-
Push your local repository to GitHub.
-
Under Settings -> Options for the repository, set the GitHub Pages source to Master.
-
Visit your site!
Customizing
Configuration variables
Collected will respect the following variables, if set in your site's _config.yml:
title: [The title of your site]
description: [A short description of your site's purpose]
owner_name: [Your Name]
owner_homepage: [Link to your homepage on the web]Additionally, you may choose to set the following optional variables:
google_analytics: [Your Google Analytics tracking ID]
plugins:
- jekyll-feed
show_post_dates: [true or false to indicate whether to show dates on posts]
twitter_username: [your Twitter handle]
github_username: [your GitHub username]
instagram_username: [your Instagram username]Stylesheet
If you'd like to add your own custom styles:
- Create a file called
/assets/stylesheets/style.scssin your site - Add the following content to the top of the file, exactly as shown:
--- --- @import "jekyll-theme-collected";
- Add any custom CSS (or Sass, including imports) you'd like immediately after the
@importline
Note: If you'd like to change the theme's Sass variables, you must set new values before the @import line in your stylesheet.
Layouts
If you'd like to change the theme's HTML layout:
- Copy the original template from the theme's repository
(Pro-tip: click "raw" to make copying easier) - Create a file called
/_layouts/default.htmlin your site - Paste the default layout content copied in the first step
- Customize the layout as you'd like
On this page
Contributors
GNU General Public License v2.0
Created January 25, 2018
Updated June 13, 2021