Content Repository Mode
Use a separate repository as the source of markdown content.
This mode is useful when your writing workflow is separate from your site codebase.
When to use
- You edit content in Obsidian and keep only markdown in a separate repository.
- Multiple editors contribute content without touching site templates/config.
- You want one-click "commit and sync" from the content repository.
Required settings in site repository
Repository variables:
CONTENT_SOURCE=content_repoCONTENT_REPO=owner/repoCONTENT_REF=main(optional, defaultmain)
The deploy workflow pulls content from CONTENT_REPO and syncs it into content/ before build.
Content layout
For the multilingual np recipe, keep language folders in the content repository:
en/*.mdru/*.md
Mandatory pages expected by rules:
- EN: one
redirect_root, onehome_en, onedocs_en - RU: one
home_ru, onedocs_ru
Notes
- Keep frontmatter schema compatible with your
rules.yamlandrules.ru.yaml. - Avoid duplicate slugs per language.
- Keep
searchpage in each language if your rules require it.
Continue with Obsidian Workflow for trigger setup.