mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Default to ‘none’ route type
This commit is contained in:
parent
d18339f4d6
commit
e852d275ef
1 changed files with 3 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ export class PageHead {
|
|||
structuredData = null,
|
||||
|
||||
domain = getSiteUrl(),
|
||||
pathname,
|
||||
pathname = '',
|
||||
} = options
|
||||
|
||||
this.title = title
|
||||
|
|
@ -234,6 +234,8 @@ export class PageHead {
|
|||
}
|
||||
|
||||
get routeType () {
|
||||
if ( this.pathname.length < 2 ) return 'none'
|
||||
|
||||
return getRouteType( this.pathname )
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue