Migrate the site to use Jekyll :o

This commit is contained in:
Danielle McLean 2016-10-04 17:05:44 +11:00
parent bc1748d592
commit 4a3206301c
No known key found for this signature in database
GPG key ID: CC91589719027E94
8 changed files with 149 additions and 3 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
vendor
_site
.sass-cache
.jekyll-metadata

View file

@ -1,4 +1,9 @@
^/\.git ^/\.git.*
^/CNAME ^/CNAME
^/Gemfile.*
^/README\.md ^/README\.md
^/index\.html ^/css
^/_.*
^/\.sass-cache
^/vendor
^/.*\.html

27
Gemfile Normal file
View file

@ -0,0 +1,27 @@
source "https://rubygems.org"
ruby RUBY_VERSION
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "3.2.1"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima"
# Syntax highlighter!
gem "rouge"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
#gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
# group :jekyll_plugins do
# gem "jekyll-github-metadata", "~> 1.0"
# end

49
Gemfile.lock Normal file
View file

@ -0,0 +1,49 @@
GEM
remote: https://rubygems.org/
specs:
colorator (1.1.0)
ffi (1.9.14)
forwardable-extended (2.6.0)
jekyll (3.2.1)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.11.1)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
minima (1.2.0)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.22)
PLATFORMS
ruby
DEPENDENCIES
jekyll (= 3.2.1)
minima
rouge
RUBY VERSION
ruby 2.0.0p648
BUNDLED WITH
1.13.2

7
README.html Normal file
View file

@ -0,0 +1,7 @@
---
layout: page
permalink: /README
---
{% capture readme_text %}{% include_relative README.md %}{% endcapture %}
{% assign readme_text = (readme_text | newline_to_br | split: "<br />" | shift | shift | join: '' ) %}
{{ readme_text | markdownify }}

View file

@ -3,7 +3,7 @@
A fast and easy bootstrap for my dotfiles that also acts as a simple management script once installed. Bootstrapping is as simple as: A fast and easy bootstrap for my dotfiles that also acts as a simple management script once installed. Bootstrapping is as simple as:
```zsh ```zsh
curl https://dots.00dani.id.au | zsh curl 'https://dots.00dani.id.au' | zsh
``` ```
`dots` will then install itself, [GNU Stow](https://www.gnu.org/software/stow/) (if not already installed globally), and my configuration for [git](https://github.com/00dani/dot-git), [vim](https://github.com/00dani/dot-vim), and [zsh](https://github.com/00dani/dot-zsh). `dots` will then install itself, [GNU Stow](https://www.gnu.org/software/stow/) (if not already installed globally), and my configuration for [git](https://github.com/00dani/dot-git), [vim](https://github.com/00dani/dot-vim), and [zsh](https://github.com/00dani/dot-zsh).

15
_config.yml Normal file
View file

@ -0,0 +1,15 @@
title: 00dani/dot-dots
email: gopsychonauts@gmail.com
description: >
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
twitter_username: 00d4n1
github_username: 00dani
# Build settings
theme: minima
highlighter: rouge
exclude:
- vendor
- Gemfile*

39
css/main.scss Normal file
View file

@ -0,0 +1,39 @@
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
// Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$base-font-weight: 400;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
$spacing-unit: 30px;
$text-color: #111;
$background-color: #fdfdfd;
$brand-color: #2a7ae2;
$grey-color: #828282;
$grey-color-light: lighten($grey-color, 40%);
$grey-color-dark: darken($grey-color, 25%);
// Width of the content area
$content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
// Minima also includes a mixin for defining media queries.
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
// Import partials from the `minima` theme.
@import "minima";