summaryrefslogtreecommitdiff
path: root/build-programs.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-14 22:26:32 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-14 22:26:32 +0100
commite156454417b590e80543740edb36ccbbdbb84d41 (patch)
tree559d28212ae44b3ac0b051feb78f13bcb75f99c4 /build-programs.py
parent93fa5836c3f85f4825ad37a1ffdc2c96d74d5173 (diff)
downloadquatuorbellefeuille.com-e156454417b590e80543740edb36ccbbdbb84d41.tar.xz
Finish translating programs, fixup quotes and set lang for all pages
Diffstat (limited to 'build-programs.py')
-rwxr-xr-xbuild-programs.py4
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):