octopress-ink 1.0.0.alpha.28 → 1.0.0.alpha.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octopress-ink.rb +1 -4
- data/lib/octopress-ink/tags.rb +1 -4
- data/lib/octopress-ink/tags/content_for.rb +1 -1
- data/lib/octopress-ink/version.rb +1 -1
- data/test/expected/test_tags/content_for.html +1 -7
- data/test/site/test_tags/content_for.html +1 -7
- data/test/source/test_tags/content_for.html +4 -18
- metadata +1 -4
- data/lib/octopress-ink/tags/footer.rb +0 -11
- data/lib/octopress-ink/tags/head.rb +0 -11
- data/lib/octopress-ink/tags/scripts.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b32b9130d0f7aa2c02fd31e843550e1f3fe76fe
|
4
|
+
data.tar.gz: 46be5b6827a83af4a481ab318f425a2cf406f477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a6ac361f9f02a354888431144e604cf36c6c1067066a2dd3526722ce0f228a3a77b96e894c6254c8ca32f99cd7d224e29fd60b863dc416a286fef466527ef4e
|
7
|
+
data.tar.gz: cd09c65826a81d14f74f9549511869ccfb23057211cc860e2c929e30538d2800729e5cf0706271f0c5522f9e1318f6e7e8fec9e4caf6784f607e0a5e3fcadc1b
|
data/lib/octopress-ink.rb
CHANGED
@@ -35,10 +35,7 @@ Liquid::Template.register_tag('return', Octopress::Tags::ReturnTag)
|
|
35
35
|
Liquid::Template.register_tag('render', Octopress::Tags::RenderTag)
|
36
36
|
Liquid::Template.register_tag('octopress_js', Octopress::Tags::JavascriptTag)
|
37
37
|
Liquid::Template.register_tag('octopress_css', Octopress::Tags::StylesheetTag)
|
38
|
-
Liquid::Template.register_tag('content_for', Octopress::Tags::
|
39
|
-
Liquid::Template.register_tag('head', Octopress::Tags::HeadBlock)
|
40
|
-
Liquid::Template.register_tag('footer', Octopress::Tags::FooterBlock)
|
41
|
-
Liquid::Template.register_tag('scripts', Octopress::Tags::ScriptsBlock)
|
38
|
+
Liquid::Template.register_tag('content_for', Octopress::Tags::ContentForTag)
|
42
39
|
Liquid::Template.register_tag('yield', Octopress::Tags::YieldTag)
|
43
40
|
Liquid::Template.register_tag('wrap', Octopress::Tags::WrapTag)
|
44
41
|
Liquid::Template.register_tag('_', Octopress::Tags::LineCommentTag)
|
data/lib/octopress-ink/tags.rb
CHANGED
@@ -7,11 +7,8 @@ module Octopress
|
|
7
7
|
autoload :CaptureTag, 'octopress-ink/tags/capture'
|
8
8
|
autoload :JavascriptTag, 'octopress-ink/tags/javascript'
|
9
9
|
autoload :StylesheetTag, 'octopress-ink/tags/stylesheet'
|
10
|
-
autoload :
|
11
|
-
autoload :HeadBlock, 'octopress-ink/tags/head'
|
12
|
-
autoload :FooterBlock, 'octopress-ink/tags/footer'
|
10
|
+
autoload :ContentForTag, 'octopress-ink/tags/content_for'
|
13
11
|
autoload :YieldTag, 'octopress-ink/tags/yield'
|
14
|
-
autoload :ScriptsBlock, 'octopress-ink/tags/scripts'
|
15
12
|
autoload :WrapTag, 'octopress-ink/tags/wrap'
|
16
13
|
autoload :LineCommentTag, 'octopress-ink/tags/line_comment'
|
17
14
|
end
|
@@ -1,21 +1,7 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
|
-
Testing
|
4
|
-
|
5
|
-
Testing scripts → {% scripts %}
|
3
|
+
Testing content_for → {% content_for test %}
|
6
4
|
Testing
|
7
|
-
{%
|
8
|
-
|
9
|
-
{%
|
10
|
-
|
11
|
-
Testing head tag → {% head %}
|
12
|
-
Testing
|
13
|
-
{% endhead %}{% head %}
|
14
|
-
head tag
|
15
|
-
{% endhead %}{% yield head | join_space %}
|
16
|
-
|
17
|
-
Testing footer → {% footer %}
|
18
|
-
Testing
|
19
|
-
{% endfooter %}{% footer %}
|
20
|
-
footer
|
21
|
-
{% endfooter %}{% yield footer | join_space %}
|
5
|
+
{% endcontent_for %}{% content_for test %}
|
6
|
+
content_for
|
7
|
+
{% endcontent_for %}{% yield test | join_space %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-ink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.alpha.
|
4
|
+
version: 1.0.0.alpha.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -122,14 +122,11 @@ files:
|
|
122
122
|
- lib/octopress-ink/tags/assign.rb
|
123
123
|
- lib/octopress-ink/tags/capture.rb
|
124
124
|
- lib/octopress-ink/tags/content_for.rb
|
125
|
-
- lib/octopress-ink/tags/footer.rb
|
126
|
-
- lib/octopress-ink/tags/head.rb
|
127
125
|
- lib/octopress-ink/tags/include.rb
|
128
126
|
- lib/octopress-ink/tags/javascript.rb
|
129
127
|
- lib/octopress-ink/tags/line_comment.rb
|
130
128
|
- lib/octopress-ink/tags/render.rb
|
131
129
|
- lib/octopress-ink/tags/return.rb
|
132
|
-
- lib/octopress-ink/tags/scripts.rb
|
133
130
|
- lib/octopress-ink/tags/stylesheet.rb
|
134
131
|
- lib/octopress-ink/tags/wrap.rb
|
135
132
|
- lib/octopress-ink/tags/yield.rb
|