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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 941b7bde35bae40a53430003d3cfedd744d4e685
4
- data.tar.gz: 192b2310232ba3813506f5baa59bfb206339ba3f
3
+ metadata.gz: 92a91b504c1fd1b4c43a0987e120d0689fa37297
4
+ data.tar.gz: 99ba8190dda68df1e2c571388cfa5d35c71bb538
5
5
  SHA512:
6
- metadata.gz: 4543ac7feaf9b46ce1efc3a8dd17e7c6acec983bb519d7a519cab14357eff634a31552452c3f2b500e7d8a1f968b0b699df73f4d8b874fe5853d9d77eab40fa1
7
- data.tar.gz: 47b2e6483a0ba173ca90545e68a564f5905022280c682699ed904b63c8cdcfd159f1b19d44963bf32723b852c38e4d069283509b914b1a03b626a50e83c4401e
6
+ metadata.gz: 2e90ccb97c8d04ca985d84b5ff50d888d37fd8fd537422974a9094f91649288a6cb70fcb872e5ef578338a295f41c31a1244ffa809b2727cc840de5f49dfde83
7
+ data.tar.gz: 1d752793250bea1ddb430167caad87c2c8a172041df70daef37d7d16ca22a7eb900a26457abb1c8a7ec5782efbb359b55e55c3263b04f85ad4d0a59611f58b8e
data/README.md CHANGED
@@ -37,7 +37,7 @@ open http://0.0.0.0:4000
37
37
 
38
38
  ## Examples
39
39
 
40
- [GitHub Pages](http://ogom.github.io/natsume-rails-example/)
40
+ [GitHub Pages](http://ogom.github.io/nsume-rails-example/)
41
41
 
42
42
  ## Uses
43
43
 
@@ -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">
@@ -0,0 +1,6 @@
1
+
2
+ <a href="/">
3
+ <img style="position: absolute; top: 0; right: 0; border: 0;"
4
+ src="{{ site.baseurl }}/assets/img/ribbons/forkme_right_white.png"
5
+ alt="Fork me on GitHub">
6
+ </a>
@@ -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
- <h2>{{ page.title }}</h2>
19
+ <p class="lead">{{ page.title }}</p>
20
20
  </div>
21
21
 
22
22
  {{ content }}
23
23
 
24
- <footer>
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
 
@@ -76,7 +76,7 @@ body a.anchor
76
76
  body h1,body h2,body h3,body h4,body h5,body h6{
77
77
  margin:1em 0 15px;
78
78
  padding:0;
79
- font-weight:bold;
79
+ color:#444;
80
80
  line-height:1.7;
81
81
  cursor:text;
82
82
  position:relative
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  layout: default
3
+ title: Overview
3
4
  ---
4
5
 
5
6
  <div class="row">
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: 'flatly', desc: 'Site theme'
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 = 'flatly'.freeze
13
+ BOOTSWATCH_THEME = 'yeti'.freeze
14
14
 
15
15
  class << self
16
16
  def options
data/lib/nsume/prepare.rb CHANGED
@@ -4,7 +4,7 @@ module Nsume
4
4
  module Prepare
5
5
  class << self
6
6
  def generator(options={})
7
- Nsume::Logger.info 'Generating Jekyll...'
7
+ Nsume::Logger.info 'Generating nSume...'
8
8
 
9
9
  path = File.expand_path('_config.yml', Nsume.config.dest_path)
10
10
  unless File.exists?(path)
data/lib/nsume/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nsume
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
@@ -1,6 +1,6 @@
1
1
  markdown: redcarpet
2
2
  redcarpet:
3
- extensions: ['tables', 'with_toc_data']
3
+ extensions: ['tables']
4
4
  pygments: true
5
5
 
6
6
  baseurl: '<%= baseurl %>'
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.0
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 00:00:00.000000000 Z
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