decidim-pages/app/views/decidim/pages/application/show.html.erb in decidim-0.0.3 vs decidim-pages/app/views/decidim/pages/application/show.html.erb in decidim-0.0.4
- old
+ new
@@ -1,5 +1,8 @@
-<% content_for(:meta_title, translated_attribute(@page.title)) %>
+<% add_meta_tags({
+ title: translated_attribute(@page.title),
+ description: translated_attribute(@page.body),
+}) %>
<div class="row column">
<div class="row">
<div class="columns medium-7 mediumlarge-8">
<div class="section">