Skip to content
Snippets Groups Projects
Verified Commit 886a10cc authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

remove link modifier

parent ede79bd3
No related branches found
No related tags found
No related merge requests found
......@@ -15,12 +15,6 @@ def build_link(title, href):
if ('handbook' in href):
title = re.sub('[0-9.]', '', title).strip()
# remove sym link reference in href
#if ('handbook-additional' in href):
# href = href.replace('handbook-additional', 'handbook').strip()
#elif ('handbook-annexes' in href):
# href = href.replace('handbook-annexes', 'handbook').strip()
# add relative url
href = "{{ '" + href + "' | relative_url }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment