Skip to content
{% citation %}
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

{% citation %}

Attributes

Parameter Type Required Description
key string ✓ Unique citation key used to reference this entry with {% cite %} — kebab-case recommended (e.g. rogers1961)
title string — Title of the cited work
author string — Author name(s)
date string — Publication year or ISO 8601 date
url string — URL of the online resource
publisher string — Publisher or journal name
accessed string — Date the URL was last accessed (ISO 8601)

Valid Parent Contexts

This tag is valid inside: {% article %}

Rules

Rule Force Realm Reference Description
citation-key-unique-per-article must global — Citation keys must be unique within an article. Use descriptive kebab-case keys that encode author and year: , , .
convention
citation-key-dedup-global must global — If the same key appears in multiple articles, the bibliography aggregate deduplicates by key (first occurrence wins).
conventionaggregate
citation-placement should global — Place all entries at the end of the article after all prose, grouped together. This keeps citation data separate from article content and makes bibliography maintenance straightforward.
authoring

\{% citation %\} is always self-closing (/%\}). It produces no inline visual output — it is a data declaration.

Bibliography aggregate

All \{% citation %\} entries across all articles are collected and rendered at /bibliography, sorted alphabetically by author. The BibliographyTable.astro component displays each entry with title, author, date, publisher, and a URL link when present.

The aggregate page is generated only if at least one \{% citation %\} exists. A Bibliography link appears in the Journal sidebar section when the aggregate is non-empty.

Three citation entries with varying fields
tagcitationbibliographyarticle citation-tag-entries
{% citation key="rogers1961" title="On Becoming a Person" author="Carl Rogers"
date="1961" publisher="Houghton Mifflin" /%}
{% citation key="gottman1999" title="The Seven Principles for Making Marriage Work"
author="John Gottman & Nan Silver" date="1999" publisher="Crown"
url="https://www.gottman.com/product/the-seven-principles-for-making-marriage-work/" /%}
{% citation key="circling2016" title="Circling: The Art of Relational Meditation"
author="Marc Beneteau" date="2016" url="https://circlinginstitute.com" /%}