RedirectPage class

Special Page used for aliasing/redirecting pages. Whenever you specify aliases inside your frontmatter, RedirectPage is created.

Inheritance

Constructors

RedirectPage({required String path, required String destinationUrl})

Properties

aliases List
getter/setter pairinherited
content String?
no setteroverride
date DateTime?
no setterinherited
destinationUrl String
final
hashCode int
The hash code for this object.
no setterinherited
isIndex bool
no setterinherited
jinja bool
latefinalinherited
metadata Map<String, dynamic>
finalinherited
path String
finalinherited
public bool
Public pages are build into public folder. When public is false, the page is not build. It is still accessible in templates in both cases.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List
latefinalinherited
title String
latefinalinherited

Methods

getBuildPath(Config config) String
Get final build path for this Page.
inherited
getPages() List<Page>
inherited
getPublicUrl(Config config, {bool isServe = false}) String
inherited
getUpdated(Config config) Future<DateTime?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object>
override
toString() String
A string representation of this object.
inherited
when<R>({R section(Section section)?, R page(Page page)?}) → R?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited