nit
This commit is contained in:
parent
50474d8940
commit
8e7c4b75ca
2
build.py
2
build.py
|
|
@ -135,6 +135,8 @@ title: {repr(input['title'])}
|
||||||
def index_dir(dir):
|
def index_dir(dir):
|
||||||
import frontmatter
|
import frontmatter
|
||||||
dir = Path(dir)
|
dir = Path(dir)
|
||||||
|
if dir.name.startswith('.'):
|
||||||
|
return
|
||||||
if (dir / '.order').exists():
|
if (dir / '.order').exists():
|
||||||
order = (dir / '.order').read_text().split('\n')
|
order = (dir / '.order').read_text().split('\n')
|
||||||
f = [p for p in dir.glob('*') if not p.name.startswith('.')]
|
f = [p for p in dir.glob('*') if not p.name.startswith('.')]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue