pombola_extract_info_pages 1.0.0 → 1.0.1

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: 3f89154a61ff407e6881aa03a37f7f229ee4dac7
4
- data.tar.gz: dabf5fdeca23e6ca5de8479080a4cd4c10552524
3
+ metadata.gz: 80858995896fa7ad10fa1cbd06c99467ab946b0c
4
+ data.tar.gz: 0de5af763ba8093e79d071b484f52bd8141d2b65
5
5
  SHA512:
6
- metadata.gz: 05a6c6c2f7684f8e54aea1ae755c7c636d9e2b12120d6a5dff471fec9a7a1ee1cb896a6195148edd4cee5fb897351a884199596ed56613929cce7dc3a23212f5
7
- data.tar.gz: 77820583f3178164b4172551872195c5bd74d0b7e093d9dff9e333cb7543934393e681488d71d28c011dc7c0621e8896a8fae723e1e0c194f2f8a1bdaf7cb788
6
+ metadata.gz: cefdd88820b2fb0ba2e0f158d2e122129bcde09c032881eb71777e2bc6815eea6c5b483b8600676b9ab1825f3e339d3208535eaf45a88258c5b000999d79b5b3
7
+ data.tar.gz: 48163e696de30ea70fb94fa4beb6cfa5783e3ed93a86744078c433d99b3814d80f29713ced8e9934a8a0719c76ecfe2845f9f9f7f761cff696a36586607921b4
@@ -44,7 +44,8 @@ DB[:info_infopage].where(kind: 'page').each do |page|
44
44
  front_matter = {
45
45
  'title' => page[:title].strip,
46
46
  'slug' => page[:slug],
47
- 'permalink' => "/info/#{page[:slug]}/"
47
+ 'permalink' => "/info/#{page[:slug]}/",
48
+ 'layout' => 'page'
48
49
  }
49
50
  File.write(File.join(infopages_path, "#{page[:slug]}.md"), content_for(page, front_matter))
50
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pombola_extract_info_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mytton