diff options
Diffstat (limited to 'resources/pug/finals/index.pug')
-rw-r--r-- | resources/pug/finals/index.pug | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug index 7ff99b2..041e2ec 100644 --- a/resources/pug/finals/index.pug +++ b/resources/pug/finals/index.pug @@ -6,23 +6,23 @@ block extra_head block titleContainer block append js - script(src='/assets/js/jquery.slim.min.js') - script(src='/assets/js/scrollspy.min.js') + script(src='/assets/js/bootstrap.min.js') - script $('body').scrollspy({target: '#sticky-nav'}); + script new bootstrap.ScrollSpy(document.body, {target: '#sticky-nav'}); block content #sticky-nav - ul.nav.nav-pills - li(role='presentation') #[a(href='#introduction') Introduction] - li(role='presentation') #[a(href='#publications') Publications] - li(role='presentation') #[a(href='#talks') Talks] - li(role='presentation') #[a(href='#projects') Software projects] - li(role='presentation') #[a(href='#teaching') Teaching] - li(role='presentation') #[a(href='#service') Service] - li(role='presentation') #[a(href='#grants') Grants] - li(role='presentation') #[a(href='#employment') Employment] - li(role='presentation') #[a(href='#education') Education] + ul.nav.flex-column.nav-pills + li.nav-item(role='presentation') #[a.nav-link(href='#introduction') Introduction] + li.nav-item(role='presentation') #[a.nav-link(href='#publications') Publications] + li.nav-item(role='presentation') #[a.nav-link(href='#talks') Talks] + li.nav-item(role='presentation') #[a.nav-link(href='#service') Service] + li.nav-item(role='presentation') #[a.nav-link(href='#statistics') Statistics] + li.nav-item(role='presentation') #[a.nav-link(href='#projects') Software projects] + li.nav-item(role='presentation') #[a.nav-link(href='#teaching') Teaching] + li.nav-item(role='presentation') #[a.nav-link(href='#grants') Grants] + li.nav-item(role='presentation') #[a.nav-link(href='#employment') Employment] + li.nav-item(role='presentation') #[a.nav-link(href='#education') Education] .container#content header#introduction |