app/views/kuhsaft/pages/show.html.haml in kuhsaft-2.1.2 vs app/views/kuhsaft/pages/show.html.haml in kuhsaft-2.2.0
- old
+ new
@@ -1,6 +1,8 @@
= content_for :head do
%title= @page.page_title.present? ? @page.page_title : @page.title
+ %meta{ name: 'keywords', content: @page.keywords }
+ %meta{ name: 'description', content: @page.description }
- if @page.bricks.map(&:type).include? "Kuhsaft::PlaceholderBrick"
- unless @page.blank?
.page-content
-# TODO: refactor into scopes or simplify otherwise: