nsume 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/generators/_includes/footer.liquid +13 -0
- data/lib/generators/_includes/navbar.liquid +2 -0
- data/lib/generators/_includes/ribbon.liquid +6 -0
- data/lib/generators/_layouts/default.html +3 -14
- data/lib/generators/assets/css/github.css +1 -1
- data/lib/generators/assets/img/octonsume.png +0 -0
- data/lib/generators/assets/img/ribbons/forkme_right_white.png +0 -0
- data/lib/generators/index.html +1 -0
- data/lib/nsume/cli.rb +1 -1
- data/lib/nsume/default.rb +1 -1
- data/lib/nsume/prepare.rb +1 -1
- data/lib/nsume/version.rb +1 -1
- data/lib/templates/_config.yml.erb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a91b504c1fd1b4c43a0987e120d0689fa37297
|
4
|
+
data.tar.gz: 99ba8190dda68df1e2c571388cfa5d35c71bb538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e90ccb97c8d04ca985d84b5ff50d888d37fd8fd537422974a9094f91649288a6cb70fcb872e5ef578338a295f41c31a1244ffa809b2727cc840de5f49dfde83
|
7
|
+
data.tar.gz: 1d752793250bea1ddb430167caad87c2c8a172041df70daef37d7d16ca22a7eb900a26457abb1c8a7ec5782efbb359b55e55c3263b04f85ad4d0a59611f58b8e
|
data/README.md
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
<footer>
|
3
|
+
<div class="row">
|
4
|
+
<div class="col-lg-12">
|
5
|
+
<hr>
|
6
|
+
<ul class="list-unstyled">
|
7
|
+
<li class="pull-right"><a href="#top">Back to top</a></li>
|
8
|
+
</ul>
|
9
|
+
<p class="text-muted">© Copyright {{ site.copyright }}.</p>
|
10
|
+
<p class="text-muted">Created using <a href="http://nsume.org" rel="nofollow">nSume</a>.</p>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</footer>
|
@@ -1,5 +1,7 @@
|
|
1
|
+
|
1
2
|
<div class="navbar navbar-default navbar-fixed-top">
|
2
3
|
<div class="container">
|
4
|
+
{% include ribbon.liquid %}
|
3
5
|
<div class="navbar-header">
|
4
6
|
<a href="{{ site.baseurl }}/" class="navbar-brand">{{ site.name }}</a>
|
5
7
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>{{ page.title }}</title>
|
4
|
+
<title>{{ page.title }} | {{ site.name }}</title>
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<meta charset="utf-8">
|
7
7
|
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/ico/favicon.ico">
|
@@ -16,23 +16,12 @@
|
|
16
16
|
<div class="container">
|
17
17
|
|
18
18
|
<div class="page-header" id="banner">
|
19
|
-
<
|
19
|
+
<p class="lead">{{ page.title }}</p>
|
20
20
|
</div>
|
21
21
|
|
22
22
|
{{ content }}
|
23
23
|
|
24
|
-
|
25
|
-
<div class="row">
|
26
|
-
<div class="col-lg-12">
|
27
|
-
<hr>
|
28
|
-
<ul class="list-unstyled">
|
29
|
-
<li class="pull-right"><a href="#top">Back to top</a></li>
|
30
|
-
</ul>
|
31
|
-
<p class="text-muted">© Copyright {{ site.copyright }}.</p>
|
32
|
-
<p class="text-muted">Created using <a href="https://github.com/ogom/nsume" rel="nofollow">nSume</a>.</p>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
</footer>
|
24
|
+
{% include footer.liquid %}
|
36
25
|
|
37
26
|
</div>
|
38
27
|
|
Binary file
|
Binary file
|
data/lib/generators/index.html
CHANGED
data/lib/nsume/cli.rb
CHANGED
@@ -9,7 +9,7 @@ module Nsume
|
|
9
9
|
map '-sw' => :switch
|
10
10
|
|
11
11
|
method_option :site, type: :string, aliases: '-s', default: 'user', desc: 'Site [user] or [project]'
|
12
|
-
method_option :theme, type: :string, aliases: '-t', default: '
|
12
|
+
method_option :theme, type: :string, aliases: '-t', default: 'yeti', desc: 'Site theme'
|
13
13
|
desc 'init [PATH]', 'initializes a new nSume.'
|
14
14
|
def init(path=Dir.pwd)
|
15
15
|
Nsume.config.dest_path = path
|
data/lib/nsume/default.rb
CHANGED
@@ -10,7 +10,7 @@ module Nsume
|
|
10
10
|
BOOTSWATCH_ENDPOINT = 'https://raw.githubusercontent.com/thomaspark/bootswatch/v3.1.1'.freeze
|
11
11
|
BOOTSWATCH_CSS_FILE = 'bootswatch.min.css'.freeze
|
12
12
|
BOOTSWATCH_JS_FILE = 'bootswatch.js'.freeze
|
13
|
-
BOOTSWATCH_THEME = '
|
13
|
+
BOOTSWATCH_THEME = 'yeti'.freeze
|
14
14
|
|
15
15
|
class << self
|
16
16
|
def options
|
data/lib/nsume/prepare.rb
CHANGED
data/lib/nsume/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsume
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ogom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -82,12 +82,15 @@ files:
|
|
82
82
|
- bin/nsume
|
83
83
|
- lib/generators/.gitignore
|
84
84
|
- lib/generators/_data/navbar.yml
|
85
|
+
- lib/generators/_includes/footer.liquid
|
85
86
|
- lib/generators/_includes/navbar.liquid
|
87
|
+
- lib/generators/_includes/ribbon.liquid
|
86
88
|
- lib/generators/_layouts/default.html
|
87
89
|
- lib/generators/_layouts/post.html
|
88
90
|
- lib/generators/assets/css/github.css
|
89
91
|
- lib/generators/assets/ico/favicon.ico
|
90
92
|
- lib/generators/assets/img/octonsume.png
|
93
|
+
- lib/generators/assets/img/ribbons/forkme_right_white.png
|
91
94
|
- lib/generators/blog/index.html
|
92
95
|
- lib/generators/changelog/index.html
|
93
96
|
- lib/generators/docs/index.html
|