scrivito_seo_page_extender 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/scrivito_seo_page_extender.js +1 -0
- data/app/assets/stylesheets/scrivito_seo_page_extender.css +3 -0
- data/app/views/seo_page_extender/_google_analytics.html.erb +9 -0
- data/app/views/seo_page_extender/_meta_data.html.erb +1 -1
- data/app/views/seo_page_extender/_open_graph_details.html.erb +3 -0
- data/lib/scrivito_seo_page_extender/version.rb +1 -1
- metadata +6 -5
- data/app/assets/javascripts/scrivito_seo_page_extender/application.js +0 -13
- data/app/assets/stylesheets/scrivito_seo_page_extender/application.css +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e36f5aecdce3608188dfc45b51098df74a88c3fd
|
4
|
+
data.tar.gz: 701c59b234f6da45aa92fe9b7dce823c74e51703
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676fd8b9fbc2e8b828f1ac140e899451a58bb85b640512f4ad7059996ad7d682c4bedf5b2cb7157be6d58995ce843272657c601cb713bb62af4e8cf63c7e2b01
|
7
|
+
data.tar.gz: 1e61263ca5db92d3f61abcb88565e059504ff1eedabe51e95c809529291bbcf681f3b4dc7342b8b83aacf0f5855a5f122314aefa7ff281fa9255c248860483d1
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require scrivito_advanced_editors
|
@@ -0,0 +1,9 @@
|
|
1
|
+
%script
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', "#{key}", 'auto');
|
8
|
+
ga('set', 'anonymizeIp', true);
|
9
|
+
ga('send', 'pageview');
|
@@ -4,4 +4,4 @@
|
|
4
4
|
<%= render "seo_page_extender/meta_attribute", attribute: "meta_author", name: "author" %>
|
5
5
|
|
6
6
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
7
|
-
<meta content="<%=
|
7
|
+
<meta content="<%= "https://#{request.raw_host_with_port + scrivito_path(@obj)}" %>" name="canonical"/>
|
@@ -1,3 +1,6 @@
|
|
1
|
+
<div class="alert alert-info">
|
2
|
+
More informations about open graph and the attributes can be <a href="http://ogp.me/" target="_blank">found here</a>.
|
3
|
+
</div>
|
1
4
|
<%= scrivito_details_for 'Title of page (Meta title as fallback)' do %>
|
2
5
|
<%= scrivito_tag(:div, obj, :og_title) %>
|
3
6
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_seo_page_extender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -76,13 +76,14 @@ extra_rdoc_files: []
|
|
76
76
|
files:
|
77
77
|
- LICENSE
|
78
78
|
- Rakefile
|
79
|
-
- app/assets/javascripts/scrivito_seo_page_extender
|
80
|
-
- app/assets/stylesheets/scrivito_seo_page_extender
|
79
|
+
- app/assets/javascripts/scrivito_seo_page_extender.js
|
80
|
+
- app/assets/stylesheets/scrivito_seo_page_extender.css
|
81
81
|
- app/concerns/meta_data_extender.rb
|
82
82
|
- app/concerns/open_graph_extender.rb
|
83
83
|
- app/concerns/sitemap_extender.rb
|
84
84
|
- app/helper/seo_page_extender_helper.rb
|
85
85
|
- app/views/seo_page_extender/_edit_permalink.html.erb
|
86
|
+
- app/views/seo_page_extender/_google_analytics.html.erb
|
86
87
|
- app/views/seo_page_extender/_meta_attribute.html.erb
|
87
88
|
- app/views/seo_page_extender/_meta_data.html.erb
|
88
89
|
- app/views/seo_page_extender/_meta_data_details.html.erb
|
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
116
|
version: '0'
|
116
117
|
requirements: []
|
117
118
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.4.5
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: A Scrivito Widget to extend your Page with some useful SEO Features, Metadata
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|