mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-04 03:08:00 +09:00
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
- var custom = theme.nav.right.custom || []
|
|
each item in custom
|
|
.nav-button(id=item.id)
|
|
a.site-page(href=url_for(item.url) || 'javascript:void(0);', onclick=item.onclick, title=item.title || '')
|
|
i.solitude(class=item.icon || '')
|
|
if theme.nav.right.random
|
|
.nav-button#randomPost_button
|
|
a.site-page(onclick="toRandomPost()", title=_p('nav.randompost'), href="javascript:void(0);")
|
|
i.solitude.st-dice-line
|
|
if theme.search.enable
|
|
.nav-button#search-button
|
|
a.site-page.social-icon.search(href="javascript:void(0);", title=_p('nav.search'))
|
|
i.solitude.st-search-line
|
|
if theme.nav.right.console
|
|
.nav-button#nav-console
|
|
a.console_switchbutton(onclick="sco.showConsole()", title=_p('nav.console'), href="javascript:void(0);")
|
|
i.solitude.st-dashboard-fill
|
|
.nav-button#nav-totop(onclick="sco.toTop()")
|
|
a.totopbtn
|
|
i.solitude.st-arrow-up-line
|
|
span#percent= "0"
|
|
#toggle-menu
|
|
a.site-page
|
|
i.solitude.st-menu-line |