diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 22:26:32 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 22:26:32 +0100 |
| commit | e156454417b590e80543740edb36ccbbdbb84d41 (patch) | |
| tree | 559d28212ae44b3ac0b051feb78f13bcb75f99c4 /build-programs.py | |
| parent | 93fa5836c3f85f4825ad37a1ffdc2c96d74d5173 (diff) | |
| download | quatuorbellefeuille.com-e156454417b590e80543740edb36ccbbdbb84d41.tar.xz | |
Finish translating programs, fixup quotes and set lang for all pages
Diffstat (limited to 'build-programs.py')
| -rwxr-xr-x | build-programs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-programs.py b/build-programs.py index 40398d8..4de6cb0 100755 --- a/build-programs.py +++ b/build-programs.py @@ -38,8 +38,8 @@ BLOCK_TEMPLATE = '''\ ''' def piece(p): - if p == 'entracte': - return '<li class="intermission">entracte</li>' + if p in ('entracte', 'intermission'): + return f'<li class="intermission">{p}</li>' return f'<li>{html.escape(p)}</li>' def print_program(info): |
