Browse Source

Remove dashes from page titles

master
Andreas Linz 2 years ago
parent
commit
0e89e11680
Signed by: alinz GPG Key ID: 9BF39809C9DA580C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build/klingt.net/template.py

+ 1
- 1
build/klingt.net/template.py View File

@ -8,7 +8,7 @@ def read_template():
def title_from_filename(fname: str) -> str:
return os.path.splitext(fname)[0].capitalize()
return os.path.splitext(fname)[0].replace('-', ' ').capitalize()
def template_pages(pages: dict, template: str, dest_path: str):

Loading…
Cancel
Save