Skip to content

Commit

Permalink
rename "frontmatter" to "meta"
Browse files Browse the repository at this point in the history
  • Loading branch information
panglesd committed Aug 19, 2024
1 parent 0ccfd22 commit 6726751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/comment.ml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ let extract_frontmatter docs : _ =
List.fold_left
(fun (fm_acc, content_acc) doc ->
match doc.Location_.value with
| `Code_block (Some "frontmatter", content, None) ->
| `Code_block (Some "meta", content, None) ->
(parse_frontmatter content.Location_.value :: fm_acc, content_acc)
| _ -> (fm_acc, doc :: content_acc))
([], []) docs
Expand Down

0 comments on commit 6726751

Please sign in to comment.