Skip to content

Commit

Permalink
fix: correcte blog filter
Browse files Browse the repository at this point in the history
  • Loading branch information
batleforc committed Sep 1, 2024
1 parent 5a25de3 commit 0f5e221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/back/markdown_struct/src/doc_sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl DocCategory {
pub fn generate_sidebar_from_db(db_folder: DbFolder, path: String) -> DocCategory {
let mut doc_category = DocCategory::new(db_folder.name.clone());
for page in db_folder.pages {
if page.metadata.spec.blog {
if !page.metadata.spec.doc && !page.metadata.spec.project {
continue;
}
let path: String = {
Expand Down

0 comments on commit 0f5e221

Please sign in to comment.