Skip to content

Commit 0be2d27

Browse files
committed
docs(frontmatter): external canonical for syndicated posts
1 parent fe2bc3c commit 0be2d27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/adding-pages.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ The frontmatter (YAML block at the top) configures page metadata:
6363
- `description`: Optional meta description for SEO
6464
- `authors`: For learn pages, list of GitHub usernames
6565

66+
Where content has been syndicated from another source, you can also include:
67+
68+
- `canonical`: The original URL of the content
69+
6670
### 3. Choose the Appropriate Layout
6771

6872
Available layouts are defined in `apps/site/layouts/`, and mapped in `components/withLayout`.

0 commit comments

Comments
 (0)