From 15a523b62474d576273b1a1397a3dc6be017321f Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 25 Jul 2022 14:14:12 +0200 Subject: [PATCH] Add docs for backlinks --- docs/content/documentation/templates/pages-sections.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 8486cd6a8..c7d68ff05 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -54,6 +54,8 @@ relative_path: String; lang: String; // Information about all the available languages for that content, including the current page translations: Array; +// All the pages/sections linking this page: their permalink and a title if there is one +backlinks: Array<{permalink: String, title: String?}>; ``` ## Section variables @@ -100,6 +102,8 @@ relative_path: String; lang: String; // Information about all the available languages for that content translations: Array; +// All the pages/sections linking this page: their permalink and a title if there is one +backlinks: Array<{permalink: String, title: String?}>; ``` ## Table of contents