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 +4 -4
- data/bin/pombola_extract_info_pages +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80858995896fa7ad10fa1cbd06c99467ab946b0c
|
4
|
+
data.tar.gz: 0de5af763ba8093e79d071b484f52bd8141d2b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|