This commit is contained in:
caandt 2024-09-13 03:27:39 -05:00
parent 50474d8940
commit 8e7c4b75ca

View file

@ -135,6 +135,8 @@ title: {repr(input['title'])}
def index_dir(dir):
import frontmatter
dir = Path(dir)
if dir.name.startswith('.'):
return
if (dir / '.order').exists():
order = (dir / '.order').read_text().split('\n')
f = [p for p in dir.glob('*') if not p.name.startswith('.')]