Unified · Split
| @@ -113,7 +113,7 @@ class app.Router · 112 unmodified lines | |||
| 113 | return | 113 | return |
| 114 | 114 | ||
| 115 | isIndex: -> | 115 | isIndex: -> |
| 116 | @context.path is '/' or (app.isSingleDoc() and @context?.entry?.isIndex()) | 116 | @context?.path is '/' or (app.isSingleDoc() and @context?.entry?.isIndex()) |
| 117 | 117 | ||
| 118 | setInitialPath: -> | 118 | setInitialPath: -> |
| 119 | # Remove superfluous forward slashes at the beginning of the path | 119 | # Remove superfluous forward slashes at the beginning of the path |