buttercms 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/buttercms/version.rb +1 -1
- data/lib/generators/templates/post.html.erb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b10147175b27beca1bc7a9c21bc7689d1e35b0
|
4
|
+
data.tar.gz: 65b4125680201c559198ba9d8ca22089c1c10c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d73293f6a835331177585be8ade3cc5483cd511dbd38c33647de25a65c570f17125c2574adddaafe3306a202ee2c3d0f71b8e5b66e0f51fbc108f46b13178bc
|
7
|
+
data.tar.gz: a9dc4350824d9a042d9a0860ec78f07ab5f43aa6fd3592fe0469f1ab25f2313eea4f03f48896ad9b3602edb0a7209b1f85d441ed99e904abe84e65e811e623b7
|
data/lib/buttercms/version.rb
CHANGED
@@ -3,6 +3,21 @@ enter that post slug here: https://buttercms.com/docs/api/#!/posts/Blog_Post_re
|
|
3
3
|
|
4
4
|
You'll get a real-time response from our API. -->
|
5
5
|
|
6
|
+
<!-- The Butter editor supports image alignment. When an image is left aligned, we apply a "butter-float-left" class to a div tag surrounding the image. When right aligned, we apply "butter-float-right". These are reasonable default styles you'll probably want to put into a proper .css file -->
|
7
|
+
<style type="text/css">
|
8
|
+
@media only screen and (min-width: 420px) {
|
9
|
+
.butter-float-left {
|
10
|
+
float: left;
|
11
|
+
margin: 0px 10px 10px 0px;
|
12
|
+
}
|
13
|
+
|
14
|
+
.butter-float-right {
|
15
|
+
float: right;
|
16
|
+
margin: 0px 0px 10px 10px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
</style>
|
20
|
+
|
6
21
|
|
7
22
|
<!-- For maximum seo, use the 'seo_title' and 'meta_description' attributes on @post to set the <title> and <meta name="description">. Assuming you have content_for?(:head) in your main layout file you can do this: -->
|
8
23
|
<% content_for :head do %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buttercms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ButterCms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|