woody 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/lib/woody/version.rb CHANGED
@@ -1,4 +1,3 @@
1
1
  module Woody
2
- VERSION = "0.0.8"
3
- VERSION_STRING = "Woody #{VERSION}"
2
+ VERSION = "0.0.9"
4
3
  end
data/lib/woody.rb CHANGED
@@ -314,6 +314,10 @@ module Woody
314
314
 
315
315
  end
316
316
 
317
- def link_to(name, url)
318
- return %Q{<a href="#{url}">#{name}</a>}
319
- end
317
+ def link_to(name, url)
318
+ return %Q{<a href="#{url}">#{name}</a>}
319
+ end
320
+
321
+ def generator_meta_tag()
322
+ return %Q{<meta name="generator" content="Woody #{Woody::VERSION}" />}
323
+ end
@@ -2,13 +2,13 @@
2
2
  <html>
3
3
  <head>
4
4
  <title><%= $config['title'] %></title>
5
+ <%= generator_meta_tag %>
5
6
  <link rel="stylesheet" type="text/css" href="/assets/stylesheet.css" />
6
7
  </head>
7
8
  <body>
8
9
  <h1><%= link_to $config['title'], "/" %></h1>
9
10
  <h2><%= $config['subtitle'] %></h2>
10
11
  <hr />
11
-
12
12
  <%= yield %>
13
13
  </body>
14
14
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: