Skip to content

feat: support using markdown file content for folder pages#141

Open
sheyifan wants to merge 1 commit into
iamjackg:masterfrom
sheyifan:feat/140
Open

feat: support using markdown file content for folder pages#141
sheyifan wants to merge 1 commit into
iamjackg:masterfrom
sheyifan:feat/140

Conversation

@sheyifan

@sheyifan sheyifan commented Dec 4, 2025

Copy link
Copy Markdown

No description provided.

geopanther added a commit to geopanther/mdfluence that referenced this pull request May 13, 2026
When a markdown file shares its stem with a sibling directory
(e.g., sub-folder.md next to sub-folder/), use its content as the
body of the folder page instead of creating an empty folder page and
a separate content page. The markdown file is excluded from normal
page processing to avoid duplication.

Adapted from iamjackg/md2cf#141 by @sheyifan.
geopanther added a commit to geopanther/mdfluence that referenced this pull request May 13, 2026
When a markdown file shares its stem with a sibling directory
(e.g., sub-folder.md next to sub-folder/), use its content as the
body of the folder page instead of creating an empty folder page and
a separate content page.

Opt-in via --use-folder-content-file flag. Labels from the matching
file's front matter are passed through to the folder page.

Adapted from iamjackg/md2cf#141 by @sheyifan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant