diff --git a/src/main/style/index.pug b/src/main/style/index.pug index e61293dbeba..14af6d339c5 100644 --- a/src/main/style/index.pug +++ b/src/main/style/index.pug @@ -19,6 +19,8 @@ block content p.tikui-paragraph The Style have an #[a.tikui-link(href='http://atomicdesign.bradfrost.com' target='_blank') Atomic Design] organization. .tikui-vertical-spacing--line ul.tikui-list + li + a.tikui-link(href='[[TIKUI_BASEPATH]]index.html') Home li a.tikui-link(href='[[TIKUI_BASEPATH]]atom/atom.html') Atoms li diff --git a/src/main/style/layout-documentation.pug b/src/main/style/layout-documentation.pug index 02614b1125f..3c1b48b69f8 100644 --- a/src/main/style/layout-documentation.pug +++ b/src/main/style/layout-documentation.pug @@ -7,6 +7,7 @@ block header -let active=''; -const isActive = current => current === active; +tikui-navbar('[[TIKUI_BASEPATH]]index.html', 'Tikui') + +tikui-navbar-item('[[TIKUI_BASEPATH]]index.html', 'Home', isActive('')) +tikui-navbar-item('[[TIKUI_BASEPATH]]atom/atom.html', 'Atoms', isActive('atom')) +tikui-navbar-item('[[TIKUI_BASEPATH]]molecule/molecule.html', 'Molecules', isActive('molecule')) +tikui-navbar-item('[[TIKUI_BASEPATH]]organism/organism.html', 'Organisms', isActive('organism'))