scrivito_seo_page_extender 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0aee51d59178315c44ee2ce09ce98bfdbf48315
|
4
|
+
data.tar.gz: 6513bbcfbb57be6953f2d554b3edbd7d708001aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d76d6abc74ca397d8e87a23dd237cc6169bc32dd9cb9a8f36359e52d58d2b375ca4ea862cdc297233f7b341a6dc17754227d74ea12cbbccb61f6ec4d1eafda3
|
7
|
+
data.tar.gz: 65f6c6bcea887c5932371a288dfff684f836033896edf7a1a47755a3305d53b3183077b857c322697fd85690e2b9064123ed6b3effcc17d17f5e5a7de4bfbbbd
|
@@ -3,9 +3,15 @@
|
|
3
3
|
<% if @obj.respond_to?(attribute) && fallback.present? %>
|
4
4
|
<% if attribute == 'og_image' %>
|
5
5
|
<meta content="<%= scrivito_url(fallback) %>" property="<%= name %>"/>
|
6
|
-
<meta content="<%=
|
6
|
+
<meta content="<%= fallback.binary_content_type %>" property="og:image:type"/>
|
7
7
|
<meta content="<%= image_width(fallback) %>" property="og:image:width"/>
|
8
8
|
<meta content="<%= image_height(fallback) %>" property="og:image:height"/>
|
9
|
+
<% elsif attribute == 'og_video' %>
|
10
|
+
<meta content="<%= scrivito_url(fallback) %>" property="<%= name %>"/>
|
11
|
+
<meta content="<%= fallback.binary_content_type %>" property="og:video:type"/>
|
12
|
+
<% elsif attribute == 'og_audio' %>
|
13
|
+
<meta content="<%= scrivito_url(fallback) %>" property="<%= name %>"/>
|
14
|
+
<meta content="<%= fallback.binary_content_type %>" property="og:audio:type"/>
|
9
15
|
<% else %>
|
10
16
|
<meta content="<%= fallback %>" property="<%= name %>"/>
|
11
17
|
<% end %>
|