junebug-wiki 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -1
- data/lib/junebug/version.rb +1 -1
- data/lib/junebug/views.rb +3 -3
- metadata +1 -1
data/History.txt
CHANGED
data/lib/junebug/version.rb
CHANGED
data/lib/junebug/views.rb
CHANGED
@@ -12,7 +12,7 @@ module Junebug::Views
|
|
12
12
|
link :href=>'/style/yui/reset.css', :type=>'text/css', :rel=>'stylesheet'
|
13
13
|
link :href=>'/style/yui/fonts.css', :type=>'text/css', :rel=>'stylesheet'
|
14
14
|
link :href=>'/style/base.css', :type=>'text/css', :rel=>'stylesheet'
|
15
|
-
link :href=>Junebug.config['
|
15
|
+
link :href=>Junebug.config['feedurl'], :rel => "alternate", :title => "Recently Updated Pages", :type => "application/atom+xml"
|
16
16
|
}
|
17
17
|
body {
|
18
18
|
div :id=>'doc' do
|
@@ -278,7 +278,7 @@ module Junebug::Views
|
|
278
278
|
text 'Powered by '
|
279
279
|
a 'JunebugWiki', :href => 'http://www.junebugwiki.com/'
|
280
280
|
text " <small>v#{Junebug::VERSION::STRING}</small> "
|
281
|
-
a :href => Junebug.config['
|
281
|
+
a :href => Junebug.config['feedurl'] do
|
282
282
|
img :src => '/images/feed-icon-14x14.png'
|
283
283
|
end
|
284
284
|
end
|
@@ -288,7 +288,7 @@ module Junebug::Views
|
|
288
288
|
end
|
289
289
|
|
290
290
|
def feed
|
291
|
-
site_url = Junebug.config['
|
291
|
+
site_url = Junebug.config['siteurl'] || "http://#{Junebug.config['host']}:#{Junebug.config['port']}"
|
292
292
|
site_domain = site_url.gsub(/^http:\/\//, '').gsub(/:/,'_')
|
293
293
|
feed_url = site_url + R(Feed)
|
294
294
|
|
metadata
CHANGED