From db876ff10742c22e5329df8c66d9e3c99526d9be Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 24 Aug 2015 16:38:00 +0930 Subject: [PATCH 1/3] #733 Add the correct RDFa prefix --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 66b78017a..f708434f1 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -1,5 +1,5 @@ !!! 5 -%html(lang="en") +%html(lang="en" prefix="og: http://ogp.me/ns#") = render :partial => "layouts/meta" %body = render :partial => "layouts/header" From 3258a6754c2a22dc703d4a552eee980a4d087e5a Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 24 Aug 2015 16:46:42 +0930 Subject: [PATCH 2/3] #733 Render only one image, and do it with a full URL --- app/views/layouts/_meta.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/layouts/_meta.html.haml b/app/views/layouts/_meta.html.haml index fecf8dff9..2671cd34f 100644 --- a/app/views/layouts/_meta.html.haml +++ b/app/views/layouts/_meta.html.haml @@ -1,8 +1,7 @@ %head - - + - if (content_for?(:member_rss_login_name) && content_for(:member_rss_slug)) From e3c52b1a56f30b1a4dfaf300d3f7005af883858f Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 24 Aug 2015 16:56:35 +0930 Subject: [PATCH 3/3] #733 Render as a 'website' --- app/views/layouts/_meta.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/_meta.html.haml b/app/views/layouts/_meta.html.haml index 2671cd34f..1032821ef 100644 --- a/app/views/layouts/_meta.html.haml +++ b/app/views/layouts/_meta.html.haml @@ -2,7 +2,10 @@ - + + + + - if (content_for?(:member_rss_login_name) && content_for(:member_rss_slug)) = auto_discovery_link_tag(:rss, { :controller => "/members", :action => 'show', :format => "rss", :id => yield(:member_rss_slug) }, { :title => "#{ ENV['GROWSTUFF_SITE_NAME'] }- #{yield(:member_rss_login_name)}'s posts" })