fullstack-cms 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fullstack-cms.gemspec +1 -1
- data/lib/generators/fullstack/cms/templates/rails/app/views/site/_google_analytics.html.erb +1 -1
- data/lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb +4 -4
- data/lib/generators/fullstack/cms/templates/rails/app/views/site/_header.html.erb +2 -2
- data/lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/fullstack-cms.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<script>
|
2
|
-
var _gaq=[['_setAccount','<%= setting("google_analytics_code", "UA-xxxxxx-x"
|
2
|
+
var _gaq=[['_setAccount','<%= setting("google_analytics_code", "UA-xxxxxx-x") %>'],['_trackPageview']];
|
3
3
|
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
4
4
|
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
5
5
|
s.parentNode.insertBefore(g,s)}(document,'script'));
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2
2
|
|
3
3
|
<%
|
4
|
-
site_name =
|
5
|
-
site_slogan =
|
4
|
+
site_name = setting(:title, Settings.app.title)
|
5
|
+
site_slogan = setting(:slogan, Settings.app.slogan)
|
6
6
|
|
7
7
|
site_title = "#{site_name} – #{site_slogan}"
|
8
|
-
site_description =
|
9
|
-
site_keywords =
|
8
|
+
site_description = setting(:description, Settings.app.slogan)
|
9
|
+
site_keywords = setting(:keywords, Settings.app.keywords)
|
10
10
|
site_address = Settings.app.address
|
11
11
|
city = Settings.app.city
|
12
12
|
country = Settings.app.country
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<div class="logo">
|
2
2
|
<h1>
|
3
3
|
<a href="/" rel="home">
|
4
|
-
<%=
|
4
|
+
<%= setting(:title, Settings.app.title) %>
|
5
5
|
</a>
|
6
6
|
</h1>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<div class="tagline">
|
10
|
-
<%=
|
10
|
+
<%= setting(:slogan, Settings.app.slogan) %>
|
11
11
|
</div>
|
12
12
|
|
13
13
|
<%= render :partial => "site/nav" %>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
var js, fjs = d.getElementsByTagName(s)[0];
|
9
9
|
if (d.getElementById(id)) return;
|
10
10
|
js = d.createElement(s); js.id = id;
|
11
|
-
js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=<%=
|
11
|
+
js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=<%= setting(:facebook_app_id, :locale => false) %>";
|
12
12
|
fjs.parentNode.insertBefore(js, fjs);
|
13
13
|
}(document, 'script', 'facebook-jssdk'));</script>
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fullstack-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -294,7 +294,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
segments:
|
296
296
|
- 0
|
297
|
-
hash: -
|
297
|
+
hash: -2989902157973097656
|
298
298
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
299
|
none: false
|
300
300
|
requirements:
|