John Liu Blog

Every drop counts

Hugo Tips

Add Hyperlink In Hugo markup, you can create hyperlink to reference either internal or external webpages. To reference internal (on the same site) page: [your title]({{< ref "/your reference file name.md" >}}) To referenc external page, hyperlink will open in a new tab: This one will add a line break after the hyperlink: we use the newtabref-newline Hugo shortcodes {{< newtabref-newline href="https://...." title="your title" >}} This one will not add a line break after the hyperlink: we use the newtabref-inline Hugo shortcodes {{< newtabref-inline href="https://.