Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marella/jekyll-theme-github

A Jekyll theme for GitHub Pages based on GitHub's Primer styles.
https://github.com/marella/jekyll-theme-github

github-pages jekyll jekyll-theme

Last synced: about 1 month ago
JSON representation

A Jekyll theme for GitHub Pages based on GitHub's Primer styles.

Awesome Lists containing this project

README

        

A Jekyll theme for GitHub Pages based on GitHub's Primer styles. You can [preview the theme to see what it looks like](https://marella.github.io/jekyll-theme-github/), or even [use it today](#usage).

## Usage

1. Add the following to your site's `_config.yml`:

```yml
remote_theme: marella/jekyll-theme-github
```

1. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:

```ruby
gem "github-pages", group: :jekyll_plugins
```

## Configuration

The following variables will be used, if set in your site's `_config.yml`:

```yml
title: [The title of your site]
color: [The color of your site's header]
google_analytics: [Your Google Analytics tracking ID]
```

## Development

If you'd like to preview the theme locally (for example, in the process of proposing a change):

1. Clone the theme's repository (`git clone https://github.com/marella/jekyll-theme-github`)
1. `cd` into the theme's directory
1. Run `npm install` to install the necessary dependencies
1. Run `npm run build` to compile the sass files and other assets
1. Run `npm start` to start the preview server
1. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme