meta_tag no theme url

This commit is contained in:
Andreas Stephanides
2014-10-27 14:08:30 +01:00
parent 58417fd59f
commit 1e34dd4533
2 changed files with 13 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
:title => @neuigkeit.title.to_s + " (" + @neuigkeit.rubrik.name.to_s + ")", :title => @neuigkeit.title.to_s + " (" + @neuigkeit.rubrik.name.to_s + ")",
:type => "article", :type => "article",
:description =>@neuigkeit.text_first_words, :description =>@neuigkeit.text_first_words,
:url=>neuigkeit_path(:theme=>nil),
:article=> { :article=> {
:author=>@neuigkeit.author.text :author=>@neuigkeit.author.text
} }

View File

@@ -1,3 +1,15 @@
<%= content_for :header do %>
<title>Fetsite - <%= @themengruppe.title %></title>
<% set_meta_tags :og => {
:title => @themengruppe.title.to_s,
:url=> themengruppe_path(:theme=>nil,:locale=>nil)
}
%>
<%= display_meta_tags %>
<% end %>
<div class="content-wrap content-column" > <div class="content-wrap content-column" >
<ul class="linklist"> <ul class="linklist">
<% if @themengruppe.public %> <% if @themengruppe.public %>