Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit bb30e7c. We don't want to document this, at least not this way. The PAGE.String method is currently meant to be used to give contextual information about a page (path, filename). It's meant for error messages, so you can do ``` {{ warnf "foo not found in %q" .Page }} ``` But when documented as "Returns the absolute path to the file backing the given page", that is 1. Not entirely correct. 2. Makes it a formal API that people will use as a filename/path, and we can never change it (e.g. to add more contextual information)
- Loading branch information
9e1c85b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this because you changed the link render hook on the docs site to use it... which kind of makes it publicly visible.
gohugoio/gohugoioTheme@f5fea3a