Skip to content
duxt

DuxtPageInfo

Where the page came from: edit link, last updated, contributors.

Provenance, under the table of contents.

Usage

<DuxtPageInfo :page="page" />

API

Props

PropTypeNotes
pageobjectRequired — the Content document being rendered

Notes

Not at the foot of the article, which is where it sat first and where it read as an afterthought below the prev/next links. "Edit this page", when it last changed and who wrote it are one question — provenance — and the right-hand column is already the one answering what a page IS rather than what it says.

Everything here is derived. The edit link points at the source repository and the ref the page was read from, so a page from a tag links to its source rather than to an edit form that would edit the wrong branch. "Last updated" and the contributors need history: true on the source.

Was this page helpful?