From 2acff4a5bfde5403582b0957a925947dd30b12a5 Mon Sep 17 00:00:00 2001 From: jekyllbot Date: Tue, 13 Nov 2018 02:36:37 -0500 Subject: [PATCH] docs: document page.dir and page.name (#7373) Merge pull request 7373 --- docs/_data/jekyll_variables.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/_data/jekyll_variables.yml b/docs/_data/jekyll_variables.yml index 3bb445b5..f2812381 100644 --- a/docs/_data/jekyll_variables.yml +++ b/docs/_data/jekyll_variables.yml @@ -124,6 +124,14 @@ page: description: >- The list of tags to which this post belongs. These can be specified in the front matter. + - name: page.dir + description: >- + The path between the source directory and the file of the post or page, e.g. + /pages/. + This can be overridden by permalink in the front matter. + - name: page.name + description: >- + The filename of the post or page, e.g. about.md - name: page.path description: >- The path to the raw post or page. Example usage: Linking back to the page or post’s source