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
| Parameter | Type | Default | Description |
|---|---|---|---|
page | string | — | Required. Path to the publication's Markdown page |
view | string | citation | Citation 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
- Looks up the username in
content/authors/ - If a matching profile exists (
content/authors/{username}/_index.md), renders a link to their profile - If no profile exists, displays the username as plain text
Parameters
| Parameter | Type | Description |
|---|---|---|
| First positional | string | Required. 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?
Notebooks
Render Jupyter Notebooks (.ipynb) directly on your Hugo site — show or hide code cells, outputs, and metadata.
TOC & Include
Insert an inline table of contents or include reusable content from other files using Hugo shortcodes.
From the makers of
© 2026 Lore Labs.