caboose-cms 0.5.193 → 0.5.194
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/views/layouts/caboose/application.html.erb +6 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTI4NDUyZWM4ZDQyZjMyYTFkMTRlZDAyYjY5NDkzOGViOTI2N2U5YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWVjMjAxMjZjNDUyNjUwNTMxNDJkNzA5ODc2OWUxMjYxNWQ2ZDhlMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWY0ODkwOWNjNzEyYzliMmFiNzE5YWY5MDI1MDA1NWQ4ZjQ2MWY2ZWExMTFk
|
10
|
+
YmY4MDViY2FlY2VlODFmM2VhYzVhODMwNWFiZDI0MWY1NTc1Y2M1ZjExMzMw
|
11
|
+
ZTlhMjViNjYzYWIzODFhOThmMjQxODRjN2E2M2I5NzJmYjkyZjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTFmZTE3OTNlODY3MmU2MmUyMDNkZTZhOWEwZGY0MjMwYzZmNGM5NTRlZTg0
|
14
|
+
M2I4OWY2NTBmY2ZhZWYxNDNlNzUxZjk0NmE3ZWQ1YzY3MzZlYWJmYWFjNjUz
|
15
|
+
ODc3ZDc4ZGJkNGZlMjk1MmI5NzQ0MmMwMTkzNjU1OTg0OGI4Yzc=
|
@@ -74,9 +74,14 @@
|
|
74
74
|
css.gsub!("<link href=\"//", "<link href=\"#{protocol}")
|
75
75
|
css.gsub!("<link href='//" , "<link href='#{protocol}")
|
76
76
|
|
77
|
+
js = yield(:js)
|
78
|
+
if @site.use_retargeting
|
79
|
+
js << b.partial('retargeting', options)
|
80
|
+
end
|
81
|
+
|
77
82
|
str.gsub!('|CABOOSE_CSS|' , css)
|
78
83
|
str.gsub!('|CABOOSE_PROTOCOL|' , protocol)
|
79
|
-
str.gsub!('|CABOOSE_JAVASCRIPT|' ,
|
84
|
+
str.gsub!('|CABOOSE_JAVASCRIPT|' , js)
|
80
85
|
str.gsub!('|CABOOSE_CSRF|' , csrf_meta_tags)
|
81
86
|
|
82
87
|
%><%= raw str %><%
|
data/lib/caboose/version.rb
CHANGED