We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da8e87 commit 63a1799Copy full SHA for 63a1799
front_matter/src/lib.rs
@@ -59,7 +59,7 @@ mod tests {
59
.unwrap()
60
.chain(fs::read_dir(repo_root.join("content/inside-rust")).unwrap())
61
.map(|p| p.unwrap().path())
62
- .filter(|p| p.extension() == Some("md".as_ref()));
+ .filter(|p| p.is_file() && p.file_name() != Some("_index.md".as_ref()));
63
64
for post in posts {
65
let content = fs::read_to_string(&post).unwrap();
0 commit comments