Writing & Markdown

Citations & Mentions

Cite academic publications and mention author profiles inline using the Hugo cite and mention shortcodes.

Cite Shortcode

Reference a publication from your site's content and render it as a formatted citation.

{{</* cite page="/publication/my-paper" */>}}

Parameters

ParameterTypeDefaultDescription
pagestringRequired. Path to the publication's Markdown page
viewstringcitationCitation display style (a built-in or custom view)

Example

{{</* cite page="/publication/deep-learning-2024" view="citation" */>}}

This renders the publication's metadata (title, authors, date, journal, etc.) as a formatted citation using the specified view template.

Mention Shortcode

Link to an author's profile page by their username.

{{</* mention "admin" */>}}

How It Works

  1. Looks up the username in content/authors/
  2. If a matching profile exists (content/authors/{username}/_index.md), renders a link to their profile
  3. If no profile exists, displays the username as plain text

Parameters

ParameterTypeDescription
First positionalstringRequired. Author username (matches the folder name in content/authors/)

Example

Written by {{</* mention "admin" */>}} and {{</* mention "jane-doe" */>}}.

Author profiles live in content/authors/. See the Authors guide for setting up author pages.

Was this page helpful?

From the makers of

© 2026 Lore Labs.

On this page