gallery og tag

This commit is contained in:
Andreas Stephanides
2015-02-25 17:10:27 +01:00
parent 819f9885b2
commit 2f37259a53

View File

@@ -18,7 +18,7 @@ picture_url=URI(root_url)
picture_url.path=@ofoto.datei.url(:locale=>nil, :theme=>nil) picture_url.path=@ofoto.datei.url(:locale=>nil, :theme=>nil)
set_meta_tags :og => { set_meta_tags :og => {
:image => picture_url.to_s, :image => picture_url.to_s,
:title => @gallery.name.to_s + "FotoID:" + @ofoto.id.to_s, :title => @gallery.name.to_s + " - FotoID:" + @ofoto.id.to_s,
:type => "article", :type => "article",
:url=>gallery_url(@gallery,{:fotoid=>@ofoto.id,:theme=>nil}) :url=>gallery_url(@gallery,{:fotoid=>@ofoto.id,:theme=>nil})
} }