This repository has been archived by the owner on Sep 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8be33ce
Showing
44 changed files
with
18,858 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.jekyll-assets-cache/ | ||
.kateproject.d/ | ||
_site | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name" : "jekyll-skeleton", | ||
"files" : [ { "git" : 1 } ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## 0.0.1 | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rake' | ||
gem 'bump' | ||
|
||
gem 'jekyll', '~> 1.1.0' | ||
gem 'jekyll-assets', '~> 0.6.0' | ||
gem 'uglifier', '~> 2.1.2' | ||
gem 'coffee-script', '2.2.0' | ||
gem 'compass', '~> 0.12.2' | ||
gem 'zurb-foundation', '~> 4.3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Evan Sosenko | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Jekyll & ZURB | ||
|
||
Source for your personal blog running on Jekyll and Foundation. | ||
Just clone and blog: create the `_posts` and `_drafts` folder. | ||
|
||
- Bare bones: HTML5 & CSS3 ready. | ||
- Running [Foundation by ZURB](http://foundation.zurb.com/). | ||
- Asset pipeline with [Jekyll::AssetsPlugin](https://github.com/ixti/jekyll-assets). | ||
- [Compass](http://compass-style.org/), [Sass](http://sass-lang.com/), [CoffeeScript](http://coffeescript.org/). | ||
- Basic [Rake](https://github.com/jimweirich/rake) tasks with support for dev and testing modes, run `rake -D` for info. | ||
- [Disqus](https://disqus.com/) ready: set `disqus: your_shortname` in `_config.yml`. | ||
- [Google Analytics](http://www.google.com/analytics/) ready: set `google_analytics: UA-YOUR_CODE` in `_config.yml`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Standard library | ||
require 'rake' | ||
require 'yaml' | ||
require 'fileutils' | ||
|
||
# Load the configuration file | ||
config = YAML.load_file '_config.yml' | ||
|
||
testing_config = '_config.yml,_config.testing.yml' | ||
dev_config = '_config.yml,_config.dev.yml' | ||
|
||
# Set "rake watch" as default task | ||
task :default => :draft | ||
|
||
# spawn a server and kill it gracefully when interrupt is received | ||
def spawn *cmd | ||
pid = Process.spawn *cmd | ||
|
||
switch = true | ||
Signal.trap 'SIGINT' do | ||
Process.kill( :QUIT, pid ) && Process.wait | ||
switch = false | ||
end | ||
while switch do sleep 1 end | ||
end | ||
|
||
# rake build | ||
desc 'Generate the site' | ||
task :build do | ||
system 'jekyll', 'build' | ||
end | ||
|
||
# rake test | ||
desc 'Generate the site and start a server (no auto generate).' | ||
task :test do | ||
spawn 'jekyll', 'serve', '--config', testing_config | ||
end | ||
|
||
# rake watch | ||
desc 'Start a server and watch the site for changes.' | ||
task :watch do | ||
spawn 'jekyll', 'serve', '--watch', '--config', testing_config | ||
end | ||
|
||
# rake dev | ||
desc 'Start a server and watch the site for changes.' + "\n" + | ||
'Loads _config.dev.yml as an additional config file.' | ||
task :dev do | ||
spawn 'jekyll', 'serve', '--watch', '--config', dev_config | ||
end | ||
|
||
# rake draft | ||
desc 'Start a server and watch the site for changes.' + "\n" + | ||
'Include all drafts in site.' | ||
task :draft do | ||
spawn 'jekyll', 'serve', '--watch', '--drafts', testing_config | ||
end | ||
|
||
# rake deploy | ||
desc 'Deploy the site using rsync.' | ||
task :deploy do | ||
raise '>> error: must add :depoly: section to _config.yml.' if config[:deploy].nil? | ||
|
||
local = File.expand_path '_site/' | ||
server = config[:deploy][:server] | ||
user = config[:deploy][:user] | ||
port = config[:deploy][:port] | ||
path = config[:deploy][:path] | ||
|
||
flags = %w{ -r -t --del -e -z } | ||
|
||
system 'rsync', *flags, "ssh -p #{port}", local, "#{user}@#{server}:#{path}" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# add JavaScript required for your app (will be compressed together) | ||
#= require vendor/foundation/foundation |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
var disqus_shortname = '<%= site.config['disqus'] %>'; | ||
|
||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); |
Oops, something went wrong.