Verified Commit 886a10cc authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

remove link modifier

parent ede79bd3
Pipeline #48017 passed with stages
in 2 minutes and 41 seconds
......@@ -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 }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment