diff --git a/_scripts/generate.py b/_scripts/generate.py
index 9708f16..9f997af 100644
--- a/_scripts/generate.py
+++ b/_scripts/generate.py
@@ -147,7 +147,10 @@ def render_text_tokens(tokens, acc):
acc.append('{} '.format(chunk))
elif isinstance(chunk, Link):
# @TODO: URLEscape
- acc.append('{}'.format(chunk.value, chunk.description))
+ link_target = chunk.value
+ if link_target.startswith('id:'):
+ link_target = './' + link_target[3:] + '.node.html'
+ acc.append('{}'.format(link_target, chunk.description))
else:
raise NotImplementedError('TextToken: {}'.format(chunk))