1
Fork 0

Add jekyll-assets gem and the default layout based on the gem.

master
vonavi 2014-01-24 17:01:27 +02:00
parent 71f51fd2c8
commit 5543f78677
10 changed files with 119 additions and 0 deletions

View File

@ -2,3 +2,6 @@ source 'https://rubygems.org'
gem 'jekyll', '~> 1.4.3'
gem 'pygments.rb', '~> 0.5.4'
gem 'jekyll-assets'
gem 'less'
gem 'therubyracer'

View File

@ -7,9 +7,11 @@ GEM
colorator (0.1)
commander (4.1.5)
highline (~> 1.6.11)
commonjs (0.2.7)
fast-stemmer (1.0.2)
ffi (1.9.3)
highline (1.6.20)
hike (1.2.3)
jekyll (1.4.3)
classifier (~> 1.3)
colorator (~> 0.1)
@ -21,25 +23,43 @@ GEM
redcarpet (~> 2.3.0)
safe_yaml (~> 0.9.7)
toml (~> 0.1.0)
jekyll-assets (0.7.4)
jekyll (~> 1.0)
sprockets (~> 2.10)
less (2.4.0)
commonjs (~> 0.2.7)
libv8 (3.16.14.3)
liquid (2.5.5)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
maruku (0.7.1)
multi_json (1.8.4)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.8)
pygments.rb (0.5.4)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rack (1.5.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
redcarpet (2.3.0)
ref (1.0.5)
safe_yaml (0.9.7)
sprockets (2.10.1)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
therubyracer (0.12.0)
libv8 (~> 3.16.14.0)
ref
tilt (1.4.1)
toml (0.1.0)
parslet (~> 1.5.0)
yajl-ruby (1.1.0)
@ -49,4 +69,7 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 1.4.3)
jekyll-assets
less
pygments.rb (~> 0.5.4)
therubyracer

1
_assets/javascripts/bootstrap.min.js vendored Symbolic link
View File

@ -0,0 +1 @@
../vendor/bootstrap/dist/js/bootstrap.min.js

View File

@ -0,0 +1 @@
../vendor/bootstrap/docs-assets/js/holder.js

View File

@ -0,0 +1,51 @@
@bootstrap-less-path: "../vendor/bootstrap/less/";
// Core variables and mixins
@import "@{bootstrap-less-path}variables.less";
@import "@{bootstrap-less-path}mixins.less";
// Reset
@import "@{bootstrap-less-path}normalize.less";
@import "@{bootstrap-less-path}print.less";
// Core CSS
@import "@{bootstrap-less-path}scaffolding.less";
@import "@{bootstrap-less-path}type.less";
@import "@{bootstrap-less-path}code.less";
@import "@{bootstrap-less-path}grid.less";
@import "@{bootstrap-less-path}tables.less";
@import "@{bootstrap-less-path}forms.less";
@import "@{bootstrap-less-path}buttons.less";
// Components
@import "@{bootstrap-less-path}component-animations.less";
@import "@{bootstrap-less-path}glyphicons.less";
@import "@{bootstrap-less-path}dropdowns.less";
@import "@{bootstrap-less-path}button-groups.less";
@import "@{bootstrap-less-path}input-groups.less";
@import "@{bootstrap-less-path}navs.less";
@import "@{bootstrap-less-path}navbar.less";
@import "@{bootstrap-less-path}breadcrumbs.less";
@import "@{bootstrap-less-path}pagination.less";
@import "@{bootstrap-less-path}pager.less";
@import "@{bootstrap-less-path}labels.less";
@import "@{bootstrap-less-path}badges.less";
@import "@{bootstrap-less-path}jumbotron.less";
@import "@{bootstrap-less-path}thumbnails.less";
@import "@{bootstrap-less-path}alerts.less";
@import "@{bootstrap-less-path}progress-bars.less";
@import "@{bootstrap-less-path}media.less";
@import "@{bootstrap-less-path}list-group.less";
@import "@{bootstrap-less-path}panels.less";
@import "@{bootstrap-less-path}wells.less";
@import "@{bootstrap-less-path}close.less";
// Components w/ JavaScript
@import "@{bootstrap-less-path}modals.less";
@import "@{bootstrap-less-path}tooltip.less";
@import "@{bootstrap-less-path}popovers.less";
@import "@{bootstrap-less-path}carousel.less";
// Utility classes
@import "@{bootstrap-less-path}utilities.less";
@import "@{bootstrap-less-path}responsive-utilities.less";

View File

View File

@ -9,3 +9,4 @@ keep_files: ['.gitkeep']
encoding: UTF-8
markdown: redcarpet
gems: ['jekyll-assets']

39
_layouts/default.html Normal file
View File

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="/assets/ico/favicon.ico">
<title>{{ site.title }}</title>
<!-- Bootstrap core CSS -->
{% stylesheet bootstrap.css %}
<!-- Bootstrap theme -->
{% stylesheet bootstrap-theme.css %}
<!-- Custom styles for this template -->
{% stylesheet theme.css %}
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
{{ content }}
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
{% javascript bootstrap.min.js %}
{% javascript holder.js %}
</body>
</html>

BIN
assets/ico/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B