awestruct 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Awestruct
|
|
14
14
|
end
|
15
15
|
input_page = File.join( File.dirname(__FILE__), 'template.atom.haml' )
|
16
16
|
page = site.engine.load_page( input_page )
|
17
|
+
page.date = page.timestamp unless page.timestamp.nil?
|
17
18
|
page.output_path = @output_path
|
18
19
|
page.entries = entries
|
19
20
|
page.title = site.title || site.base_url
|
@@ -15,7 +15,7 @@ module Awestruct
|
|
15
15
|
html = %Q(<script>\n)
|
16
16
|
html += %Q( var idcomments_acct='#{site.intense_debate_acct}';\n)
|
17
17
|
html += %Q( var idcomments_post_id='#{post_id}';\n )
|
18
|
-
html += %Q( var idcomments_post_url='#{self.url}';\n)
|
18
|
+
html += %Q( var idcomments_post_url='#{site.base_url}/#{self.url}';\n)
|
19
19
|
html += %Q(</script>\n)
|
20
20
|
html += %Q(<span id="IDCommentsPostTitle" style="display:none"></span>\n)
|
21
21
|
html += %Q(<script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>\n)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awestruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 7
|
10
|
+
version: 0.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bob McWhirter
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-04-05 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|