External Link With target='_blank' in Hugo Markdown

Intro Many a times we need to open some External Link in New Tab for the convenience of the Visitor . In Hugo there is no default method for this. All we have in Hugo is relref for Internal sites. :/ Implementaion Hugo offers a way to render using a predefined template to Markdown(.md) with the help of Shortcodes. We can create such a shortcode for *Creating an Exeternal link with with target='_blank'....

June 3, 2020 · 1 min · Aditya Telange
This site uses cookies from Google to deliver its ad-services.