Fix flags on boards page
This commit is contained in:
parent
a00284d6db
commit
ba08c9aa34
@ -684,7 +684,7 @@ for url in pages:
|
|||||||
template = template_boards if url == 'boards' else template_main
|
template = template_boards if url == 'boards' else template_main
|
||||||
|
|
||||||
if url == 'index' or url == 'boards':
|
if url == 'index' or url == 'boards':
|
||||||
src = 'index'
|
src = url
|
||||||
hreflang = get_hreflang_urls(src)
|
hreflang = get_hreflang_urls(src)
|
||||||
langlinks = get_lang_urls(src)
|
langlinks = get_lang_urls(src)
|
||||||
|
|
||||||
|
@ -85,6 +85,8 @@ def generate_for_lang(lang="en"):
|
|||||||
|
|
||||||
url_lookup['index'] = '//{}'.format(domain)
|
url_lookup['index'] = '//{}'.format(domain)
|
||||||
|
|
||||||
|
url_lookup['boards'] = '//{}/boards'.format(domain)
|
||||||
|
|
||||||
return url_lookup
|
return url_lookup
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user