Whoops
This commit is contained in:
parent
027fb8385d
commit
d0de210c4f
|
@ -9,7 +9,7 @@ def generate_nav(*, soup):
|
||||||
|
|
||||||
for board in ['a', 'b', 'his', 'g']:
|
for board in ['a', 'b', 'his', 'g']:
|
||||||
# FIXME: Read this from a config file
|
# FIXME: Read this from a config file
|
||||||
url = 'board/' + urllib.parse.quote(board, safe = '') + '/'
|
url = '/board/' + urllib.parse.quote(board, safe = '') + '/'
|
||||||
a_tag = soup.new_tag('a', href = url)
|
a_tag = soup.new_tag('a', href = url)
|
||||||
a_tag.string = '/' + board + '/'
|
a_tag.string = '/' + board + '/'
|
||||||
nav_tag.append(a_tag)
|
nav_tag.append(a_tag)
|
||||||
|
|
Loading…
Reference in New Issue