Skip to main content
  1. Snippits & Exemplars/
  2. Hugo Exemplars/
  3. Hugo Native Shortcodes/

Ref

Hugo has several built-in shortcodes.

Lets go over them here:

Ref
Takes a file path in the Hugo website and provides an absolute link to that file. If the url or slug is overridden in the front matter of a page, the ref shortcode follows the newly provided location.