comfortable_mexican_loveseat 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6f9def9b413b9a46c941db32fee174e5284edfe
4
- data.tar.gz: 22d877a65a24d2dd07aa795b8c65d30d47877d23
3
+ metadata.gz: 95e4eab6ee77cb6d89e436a1ce877fbdc7a9155d
4
+ data.tar.gz: cb7eaba78865182342da75cc1043724550038dd6
5
5
  SHA512:
6
- metadata.gz: e018cf29b977e5c94d2f47d46cc9ca0df06f1fce4148fd589586f0a8c8d37530cf8bc8369f9e924ce55a8ef3adc0e7f3c7e45d8fd2c398daaf444dc5f1101d8b
7
- data.tar.gz: d05dc937df154ecbaaa7029472f7c465fb530d0d3494b87dd17efb4475a4b61e024bfe97552e483cfe5fe65b5282af3b55d8e2e3c830d4754d6b1eabf9756638
6
+ metadata.gz: bc98292d85c6a8bc322d9780fd7cd7334d3e3c4cbaba7f3454f4327e2c587ceef29078dc7e52667c14354366019aff57f2d90989dc8488f1157b3f047192b118
7
+ data.tar.gz: 61d14a343c3ca87083767dd042916ef7893ac809faa058203020f5a7dad53c9b702a80cfe37be7215ea232dc7d8bfbb2f836eb0967bce4a763a44c7a689bf7b0
@@ -54,7 +54,7 @@ protected
54
54
  @layout = @site.layouts.new(layout_params)
55
55
  @layout.parent ||= ::Comfy::Cms::Layout.find_by_id(params[:parent_id])
56
56
  @layout.app_layout ||= @layout.parent.try(:app_layout)
57
- @layout.content ||= "{{ cms:field:seo.old_page_url:string }}\n{{ cms:field:seo.meta_description:string }}\n{{ cms:field:seo.page_title:string }}\n{{ cms:field:seo.canonical_href:string }}\n{{ cms:field:seo.meta_index:string }}\n{{ cms:field:seo.meta_noindex:string }}\n{{ cms:page:content:rich_text }}"
57
+ @layout.content ||= "{{ cms:field:seo.old_page_url:string }}\n{{ cms:field:seo.meta_description:string }}\n{{ cms:field:seo.page_title:string }}\n{{ cms:field:seo.canonical_href:string }}\n{{ cms:field:seo.meta_index:string }}\n{{ cms:page:content:rich_text }}"
58
58
  end
59
59
 
60
60
  def load_layout
@@ -4,7 +4,6 @@ module Comfy::CmsHelper
4
4
  tags = []
5
5
  tags << tag('meta', name: 'description', content: cms_block_content('seo.meta_description')) if cms_block_content('seo.meta_description').present?
6
6
  tags << tag('meta', name: 'robots', content: cms_block_content('seo.meta_index')) if cms_block_content('seo.meta_index').present?
7
- tags << tag('meta', name: 'robots', content: cms_block_content('seo.meta_noindex')) if cms_block_content('seo.meta_noindex').present?
8
7
  tags << tag('link', rel: 'canonical', href: cms_block_content('seo.canonical_href')) if cms_block_content('seo.canonical_href').present?
9
8
 
10
9
  return tags.join("\n").html_safe
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_loveseat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Bahlke