feat: legacy login
This commit is contained in:
@@ -90,58 +90,9 @@ html
|
||||
|
||||
!= analyticsCode.head
|
||||
|
||||
if injectCode.css
|
||||
style(type='text/css')!= injectCode.css
|
||||
if injectCode.head
|
||||
!= injectCode.head
|
||||
block head
|
||||
|
||||
body
|
||||
!= analyticsCode.bodyStart
|
||||
#root
|
||||
.header
|
||||
span.header-title= siteConfig.title
|
||||
span.header-deprecated Your browser is outdated. Upgrade to a #[a(href='https://bestvpn.org/outdatedbrowser/en', rel='nofollow') modern browser].
|
||||
span.header-login
|
||||
a(href='/login')
|
||||
i.material-icons account_circle
|
||||
.main
|
||||
.sidebar
|
||||
each navItem in sidebar
|
||||
if navItem.kind === 'link'
|
||||
a.sidebar-link(href=navItem.target)
|
||||
i.material-icons= navItem.icon
|
||||
span= navItem.label
|
||||
else if navItem.kind === 'divider'
|
||||
.sidebar-divider
|
||||
else if navItem.kind === 'header'
|
||||
.sidebar-title= navItem.label
|
||||
.main-container
|
||||
.page-header
|
||||
.page-header-left
|
||||
h1= page.title
|
||||
h2= page.description
|
||||
.page-header-right
|
||||
.page-header-right-title Last edited by
|
||||
.page-header-right-author= page.authorName
|
||||
.page-header-right-updated= page.updatedAt
|
||||
.page-contents
|
||||
.contents
|
||||
div!= page.render
|
||||
if page.toc.length
|
||||
.toc
|
||||
.toc-title Table of Contents
|
||||
each tocItem, tocIdx in page.toc
|
||||
a.toc-tile(href='#' + tocItem.anchor)
|
||||
i.material-icons arrow_right
|
||||
span= tocItem.title
|
||||
if tocIdx < page.toc.length - 1 || tocItem.children.length
|
||||
.toc-divider
|
||||
each tocSubItem in tocItem.children
|
||||
a.toc-tile.inset(href='#' + tocSubItem.anchor)
|
||||
i.material-icons arrow_right
|
||||
span= tocSubItem.title
|
||||
if tocIdx < page.toc.length - 1
|
||||
.toc-divider.inset
|
||||
if injectCode.body
|
||||
!= injectCode.body
|
||||
block body
|
||||
!= analyticsCode.bodyEnd
|
||||
|
Reference in New Issue
Block a user