Replace internal task numbers with tracker links
This patch uses replaceRE [0] Hugo function as suggested by the community [1]. Task number has to be in parentheses in order to be replaced. Remember to add tracker address in the "config.toml" file. Tracker address must include its protocol, otherwise resulting links will be relative to the Hugo site (e.g. "http://localhost:1313/tracker.address/T1234" instead of "https://tracker.address/T1234"). [0] https://gohugo.io/functions/replaceRe [1] https://discourse.gohugo.io/t/auto-replace-text-to-link/11945/7 Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
parent
f8302d40
No related branches found
No related tags found
Please register or sign in to comment