meta data
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
<%= content_for :header do %>
|
||||
<title>Fetsite - <%= @fetprofile.name %></title>
|
||||
|
||||
<% set_meta_tags :og => {
|
||||
:image => @fetprofile.picture.portrait.url.to_s,
|
||||
:title => @fetprofile.name.to_s ,
|
||||
:type => "profile",
|
||||
:url=>fetprofile_path(@fetprofile,:theme=>nil),
|
||||
:profile=> {
|
||||
:first_name=>@fetprofile.vorname,
|
||||
:last_name=>@fetprofile.nachname
|
||||
}
|
||||
}
|
||||
%>
|
||||
<% set_meta_tags :og=>{:article=> {:published_time=>I18n.l(@neuigkeit.try(:datum).try(:to_date)) }} unless @neuigkeit.try(:datum).try(:to_date).nil? %>
|
||||
|
||||
<%= display_meta_tags %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<%= render 'fetprofiles/tabs' %>
|
||||
<p id="notice"><%= notice %></p>
|
||||
<div style="max-width:70em">
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
<%= content_for :header do %>
|
||||
<title>Fetsite - <%= I18n.t('home.news') %></title>
|
||||
<% set_meta_tags :og => {
|
||||
:title => "Fetsite - "+I18n.t('home.news'),
|
||||
:url=> rubriken_path(:theme=>nil)
|
||||
}
|
||||
%>
|
||||
<%= display_meta_tags %>
|
||||
|
||||
<% end %>
|
||||
<%= render 'tabs' %>
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
<%= content_for :header do %>
|
||||
<title>Fetsite - <%= @rubrik.name %></title>
|
||||
<% set_meta_tags :og => {
|
||||
:title => @rubrik.name.to_s,
|
||||
:url=> rubrik_path(@rubrik,:theme=>nil)
|
||||
}
|
||||
%>
|
||||
<%= display_meta_tags %>
|
||||
|
||||
<% end %>
|
||||
<%= render 'tabs' %>
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<title>Fetsite - <%= @themengruppe.title %></title>
|
||||
<% set_meta_tags :og => {
|
||||
:title => @themengruppe.title.to_s,
|
||||
:url=> themengruppe_path(:theme=>nil,:locale=>nil)
|
||||
:url=> themengruppe_path(@themengruppe,:theme=>nil,:locale=>nil)
|
||||
}
|
||||
%>
|
||||
<%= display_meta_tags %>
|
||||
|
||||
Reference in New Issue
Block a user