diff options
Diffstat (limited to 'resources/page/page.go')
-rw-r--r-- | resources/page/page.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/page/page.go b/resources/page/page.go index 0b402c4e7..f23069a68 100644 --- a/resources/page/page.go +++ b/resources/page/page.go @@ -180,6 +180,9 @@ type PageMetaProvider interface { // to the source of this Page. It will be relative to any content root. Path() string + // This is just a temporary bridge method. Use Path in templates. + Pathc() string + // The slug, typically defined in front matter. Slug() string @@ -392,5 +395,4 @@ type DeprecatedWarningPageMethods1 interface { // Move here to trigger ERROR instead of WARNING. // TODO(bep) create wrappers and put into the Page once it has some methods. -type DeprecatedErrorPageMethods interface { -} +type DeprecatedErrorPageMethods interface{} |