Skip to content

Commit

Permalink
jekyll incorporated
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaa committed Oct 9, 2013
0 parents commit 75ff39d
Show file tree
Hide file tree
Showing 35 changed files with 7,184 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
_site/
.DS_Store
6 changes: 6 additions & 0 deletions 404.html
@@ -0,0 +1,6 @@
---
layout: base
---

<h1>404</h1>
<p>Get back to blog</p>
1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
example.github.io
9 changes: 9 additions & 0 deletions Gemfile
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gem 'jekyll'
gem 'jekyll-assets'
gem 'maruku'
gem 'rake'
gem 'sass'
gem "uglifier"
gem 'github-pages'
73 changes: 73 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,73 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
colorator (0.1)
commander (4.1.5)
highline (~> 1.6.11)
directory_watcher (1.4.1)
execjs (2.0.1)
fast-stemmer (1.0.2)
github-pages (6)
RedCloth (= 4.2.9)
jekyll (= 1.2.1)
kramdown (= 1.0.2)
liquid (= 2.5.2)
maruku (= 0.6.1)
rdiscount (= 1.6.8)
redcarpet (= 2.3.0)
highline (1.6.19)
hike (1.2.3)
jekyll (1.2.1)
classifier (~> 1.3)
colorator (~> 0.1)
commander (~> 4.1.3)
directory_watcher (~> 1.4.1)
liquid (~> 2.5.2)
maruku (~> 0.5)
pygments.rb (~> 0.5.0)
redcarpet (~> 2.3.0)
safe_yaml (~> 0.7.0)
jekyll-assets (0.7.2)
jekyll (~> 1.0)
sprockets (~> 2.10)
kramdown (1.0.2)
liquid (2.5.2)
maruku (0.6.1)
syntax (>= 1.0.0)
multi_json (1.8.1)
posix-spawn (0.3.6)
pygments.rb (0.5.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rack (1.5.2)
rake (10.1.0)
rdiscount (1.6.8)
redcarpet (2.3.0)
safe_yaml (0.7.1)
sass (3.2.10)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
syntax (1.0.0)
tilt (1.4.1)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages
jekyll
jekyll-assets
maruku
rake
sass
uglifier
20 changes: 20 additions & 0 deletions LICENSE
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2013 Kippt, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48 changes: 48 additions & 0 deletions README.md
@@ -0,0 +1,48 @@
# Jekyll Incorporated by Inc
Modern Jekyll based blog. Great for companies, products or anything. See live at [blog.sendtoinc.com](http://blog.sendtoinc.com)

## Installation & Usage
bundle
jekyll serve --watch

## Configuration
Edit: _config.yml (general options), main.css (theme colors &amp; fonts)

```
jekyll-incorporated/
├── _config.yml
├── _assets/
├── stylesheets/
├── main.scss
```

_Note:_ when editing config.yml, you need to restart jekyll to see the changes.


## Publish to Github Pages
1. Add your domain to _CNAME_
2. Edit your repo address at _Rakefile_

Run rake task. **NOTE: It will deploy the generated site to _master_ branch overwriting it**
```
rake publish
```

## Authors

Originally build for [sendtoinc.com](https://sendtoinc.com), your workspace for sharing and organizing knowledge

**Karri Saarinen**

+ [http://twitter.com/karrisaarinen](http://twitter.com/karrisaarinen)
+ [http://github.com/ksaa](http://github.com/ksaa)

**Jori Lallo**

+ [http://twitter.com/jorilallo](http://twitter.com/jorilallo)
+ [http://github.com/jorde](http://github.com/jorilallo)

## Copyright and license

Copyright 2013 Kippt Inc. under [The MIT License ](LICENSE)

33 changes: 33 additions & 0 deletions Rakefile
@@ -0,0 +1,33 @@
require "rubygems"
require "tmpdir"

require "bundler/setup"
require "jekyll"


# Change your GitHub reponame
GITHUB_REPONAME = "kippt/kippt.github.io"


desc "Generate blog files"
task :generate do
Jekyll::Site.new(Jekyll.configuration({
"source" => ".",
"destination" => "_site"
})).process
end


desc "Generate and publish blog to gh-pages"
task :publish => [:generate] do
Dir.mktmpdir do |tmp|
cp_r "_site/.", tmp
Dir.chdir tmp
system "git init"
system "git add ."
message = "Site updated at #{Time.now.utc}"
system "git commit -m #{message.inspect}"
system "git remote add origin git@github.com:#{GITHUB_REPONAME}.git"
system "git push origin master --force"
end
end
Binary file added _assets/images/icon-facebook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _assets/images/icon-rss.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _assets/images/icon-twitter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions _assets/javascripts/main.js
@@ -0,0 +1,15 @@
$(window).scroll(function() {
var scrollBottom = $(window).scrollTop() + $(window).height();

if ($(window).scrollTop() > 100) {
$('body').addClass('nav-hidden');
}

else {
$('body').removeClass('nav-hidden');
}
});

$(".full img").click(function() {
$(".full img").toggleClass('zoom');
});

0 comments on commit 75ff39d

Please sign in to comment.