jekyll-fm 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll/fm.rb +16 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69dcaa732f163c2779a42c5998b83dc33376da08
4
- data.tar.gz: 63ffdd53bd31a0d8e84b5bd8974bd8011b69ee5e
3
+ metadata.gz: 969f1c72f9c3aaae1d9c7ea82cccd76ea40f040f
4
+ data.tar.gz: d9c206603d197716e0bd9af57e53372f722f1d6f
5
5
  SHA512:
6
- metadata.gz: ad98270b8b4d46d2fa896d1d42b3b03af7e6753fc396a0aa02e5e1bcec2b65e4f1aa96318ea6488013fcca048aa2cbabdd5035a10ad6cbf8ff4665c3e947dc76
7
- data.tar.gz: c4eab21c535aa958b47d30a49e03dbd3d274bd5376785c232517e2089fd9437a0c7439468109c7b53e19847c7d5e1c4832e23822d9132cc4ec89ec62419ed6c3
6
+ metadata.gz: 2ab1a8b484e630449154a6a46e6c2503c1a3292eaeed711e179bc387d7faee50f3c26f9bbac8973cbb04fce9bb04e96e1f5696e136064b34742fc12a955d52cd
7
+ data.tar.gz: ee990fb2f1952b10c8116f9b5c0c7da0dda1161477c06d0f143558c19eef17b8250fa87315f92adfc14acc1cdd1a4542daaf28195f2c7d9628ce21bce0cbaba2
data/lib/jekyll/fm.rb CHANGED
@@ -3,7 +3,22 @@ Jekyll::Hooks.register :site, :post_read do |site|
3
3
  # Jekyll::Hooks.register :pages, :post_init do |pages|
4
4
  puts site
5
5
  site.posts.each do |f|
6
- puts f
6
+ puts f.path
7
+ # file_path = File.join("_#{collection}", md_path)
8
+ # file = FrontMatterParser::Parser.parse_file(file_path)
7
9
  end
8
10
  # InjectorPlugin::Hola.hi
9
11
  end
12
+
13
+
14
+ # def syntax_from_pathname(pathname)
15
+ # File.extname(pathname)[1..-1].to_sym
16
+ # end
17
+
18
+ # def parse_file(pathname, syntax_parser: nil, loader: nil)
19
+ # syntax_parser ||= syntax_from_pathname(pathname)
20
+ # loader ||= Loader::Yaml.new
21
+ # File.open(pathname) do |file|
22
+ # new(syntax_parser, loader: loader).call(file.read)
23
+ # end
24
+ # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-fm
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - A E