Simplified fork of [Hacker](https://github.com/pages-themes/hacker)
Go to file
2016-12-13 11:23:24 -05:00
_layouts normalize stylesheet names 2016-12-13 11:23:24 -05:00
_sass normalize stylesheet names 2016-12-13 11:23:24 -05:00
assets normalize stylesheet names 2016-12-13 11:23:24 -05:00
script add scripts to rule them all 2016-12-13 10:27:25 -05:00
_config.yml normalize stylesheet names 2016-12-13 11:23:24 -05:00
.gitignore Ignore compiled gems 2016-12-13 10:27:25 -05:00
.travis.yml add Travis config 2016-12-13 10:27:25 -05:00
another-page.md init 2016-10-06 19:01:49 -04:00
CODE_OF_CONDUCT.md add Code of Conduct 2016-12-13 10:27:25 -05:00
CONTRIBUTING.md add contributing file 2016-12-13 10:27:25 -05:00
Gemfile normalize stylesheet names 2016-12-13 11:23:24 -05:00
index.md $1 2016-11-07 10:35:51 -05:00
jekyll-theme-hacker.gemspec Update contact email in Gemspec 2016-12-13 10:27:25 -05:00
LICENSE init 2016-10-06 19:01:49 -04:00
README.md $1 2016-10-07 11:54:12 -04:00
thumbnail.png init 2016-10-06 19:01:49 -04:00

jekyll-theme-hacker

Hacker is a Jekyll theme for GitHub Pages.

You can preview the theme at http://pages-themes.github.io/hacker.

Usage

This theme was ported from the GitHub Automatic Page Generator to a Jekyll v3.3 theme gem.

To use it on a Pages site, add theme: jekyll-theme-hacker to your _config.yml.

theme: jekyll-theme-hacker
title: Custom title
description: Custom description.
show_downloads: true
google_analytics:
  • To override the repository name or description from GitHub used in the header, set a title or description.
  • Set show_downloads to false to hide the download buttons in the header.
  • Set google_analytics to your tracking ID to enable pageview tracking.

This theme includes a single default layout. Markdown files should be prefixed with the following frontmatter.

---
layout: default
---

CSS

For CSS customization, create your own /assets/css/styles.scss in your project to replace the one from this theme, and override selected stylesheet properties.

---
---

@import "rouge-base16-dark";
@import 'hacker';

Syntax Highlighting

Rouge is the default highlighter in Jekyll 3. This theme includes the base16.dark stylesheet from Rouge.

To switch syntax highlighting colors to say monokai, install the rouge gem and run the following on the command line.

mkdir _scss
rougify style monokai > _scss/rouge-monokai.scss

Then replace rouge-base16-dark with rouge-monokai in /assets/css/styles.scss

Other pygments highlighter themes should work as well.