Make it work in production (this breaks testing but oh well)
This commit is contained in:
parent
16dcb4562c
commit
027fb8385d
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ def generate_nav(*, soup):
|
|||
nav_tag = soup.new_tag('nav')
|
||||
|
||||
for board in ['a', 'b', 'his', 'g']:
|
||||
url = '/' + urllib.parse.quote(board, safe = '') + '/'
|
||||
# FIXME: Read this from a config file
|
||||
url = 'board/' + urllib.parse.quote(board, safe = '') + '/'
|
||||
a_tag = soup.new_tag('a', href = url)
|
||||
a_tag.string = '/' + board + '/'
|
||||
nav_tag.append(a_tag)
|
||||
|
|
Loading…
Reference in a new issue