From 41f716c858ad0f37765b12e6a6e863dd2bfb4020 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Tue, 13 Dec 2016 11:23:24 -0500 Subject: [PATCH] normalize stylesheet names --- Gemfile | 1 - _config.yml | 2 +- _layouts/default.html | 2 +- _sass/{hacker.scss => jekyll-theme-hacker.scss} | 2 ++ assets/css/style.scss | 4 ++++ assets/css/styles.scss | 5 ----- 6 files changed, 8 insertions(+), 8 deletions(-) rename _sass/{hacker.scss => jekyll-theme-hacker.scss} (99%) create mode 100644 assets/css/style.scss delete mode 100644 assets/css/styles.scss diff --git a/Gemfile b/Gemfile index bda6843..fa75df1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,3 @@ source 'https://rubygems.org' -gem "github-pages", :github => "github/pages-gem", :branch => "master" gemspec diff --git a/_config.yml b/_config.yml index 6a9a1ab..bc398c5 100644 --- a/_config.yml +++ b/_config.yml @@ -2,4 +2,4 @@ title: Hacker theme description: Hacker is a theme for GitHub Pages. show_downloads: true google_analytics: -theme: +theme: jekyll-theme-hacker diff --git a/_layouts/default.html b/_layouts/default.html index 4b7d7cd..dc3ba38 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,7 @@ - + {{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }} diff --git a/_sass/hacker.scss b/_sass/jekyll-theme-hacker.scss similarity index 99% rename from _sass/hacker.scss rename to _sass/jekyll-theme-hacker.scss index aa35550..da7853a 100644 --- a/_sass/hacker.scss +++ b/_sass/jekyll-theme-hacker.scss @@ -1,3 +1,5 @@ +@import "rouge-base16-dark"; + body { margin: 0; padding: 0; diff --git a/assets/css/style.scss b/assets/css/style.scss new file mode 100644 index 0000000..25d0229 --- /dev/null +++ b/assets/css/style.scss @@ -0,0 +1,4 @@ +--- +--- + +@import '{{ site.theme }}'; diff --git a/assets/css/styles.scss b/assets/css/styles.scss deleted file mode 100644 index db98985..0000000 --- a/assets/css/styles.scss +++ /dev/null @@ -1,5 +0,0 @@ ---- ---- - -@import "rouge-base16-dark"; -@import 'hacker';