diff --git a/generate-html.py b/generate-html.py index 8549f56..9bd7413 100755 --- a/generate-html.py +++ b/generate-html.py @@ -277,7 +277,8 @@ def render_pin(pin_num, selected_url, overlay=None): pin_selected = selected, pin_url = pin_url, pin_title = ', '.join(pin_link_title), - pin_name = pin_name + pin_name = pin_name, + langcode = lang ) def render_nav(url, overlay=None): @@ -425,7 +426,8 @@ for pin in range(1,len(pinout.pins)+1): resource_url = resource_url, overlays = overlays_html, description = pinout.settings['default_desc'], - title = pin_title + pinout.settings['title_suffix'] + title = pin_title + pinout.settings['title_suffix'], + langcode = lang ) print('Outputting page {}'.format(pin_url)) diff --git a/src/de-DE/template/layout.html b/src/de-DE/template/layout.html index 17820b9..f833e27 100644 --- a/src/de-DE/template/layout.html +++ b/src/de-DE/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} diff --git a/src/en-GB/template/layout.html b/src/en-GB/template/layout.html index edef2d5..f4c3560 100755 --- a/src/en-GB/template/layout.html +++ b/src/en-GB/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} diff --git a/src/es-ES/template/layout.html b/src/es-ES/template/layout.html index 0511755..bec1c1d 100644 --- a/src/es-ES/template/layout.html +++ b/src/es-ES/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} diff --git a/src/fr-FR/template/layout.html b/src/fr-FR/template/layout.html index c699589..98c99c2 100644 --- a/src/fr-FR/template/layout.html +++ b/src/fr-FR/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} diff --git a/src/it-IT/template/layout.html b/src/it-IT/template/layout.html index ff98b2d..f05ef18 100755 --- a/src/it-IT/template/layout.html +++ b/src/it-IT/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} diff --git a/src/tr-TR/template/layout.html b/src/tr-TR/template/layout.html index e2a9446..06189e7 100644 --- a/src/tr-TR/template/layout.html +++ b/src/tr-TR/template/layout.html @@ -1,5 +1,5 @@ - + {{title}} @@ -66,4 +66,4 @@ - \ No newline at end of file +