let component_titles = env.component_titles
// present component_titles as breadcrumbs, except last one as text
- h2.page-header.grid-gutter-background.py-2 {
+ h2.page-header.grid-gutter-background.'py-2'.mb-0 {
for (let i = 0; i < component_names.length; ++i) {
a.h4(
href=
if (arrays_equal(menu_prefix, component_prefix))
li.nav-item.active {
- a.nav-link.nav-link2(href=menu_prefix_path) {
+ a.nav-link.nav-link2.grid-gutter-background(href=menu_prefix_path) {
`${menu_titles[i]}`
span.sr-only {' (current)'}
}
}
else
li.nav-item {
- a.nav-link.nav-link2(href=menu_prefix_path) {
+ a.nav-link.nav-link2.grid-gutter-background(href=menu_prefix_path) {
`${menu_titles[i]}`
}
}
//}
//ul.navbar-nav.ml-auto {
li.nav-item.mt-4 {
- a.nav-link.nav-link2#navbar-give-feedback(href="#") {'Give feedback'}
+ a.nav-link.nav-link2.grid-gutter-background#navbar-give-feedback(href="#") {'Give feedback'}
}
}
//}
let q = await children.get(name)
li.nav-item {
- a.nav-link(href=`${name}/index.html`) {
+ a.nav-link.grid-gutter-background(href=`${name}/index.html`) {
table.icon-and-text {
tr {
td {
async _out => {
await breadcrumbs(env, _out)
- p {'Do you require more information, or assistance with integrating the projects on this site? We’d love to hear from you.'}
+ p.mt-3 {'Do you require more information, or assistance with integrating the projects on this site? We’d love to hear from you.'}
form#form {
div.row {
async _out => {
await breadcrumbs(env, _out)
- h4 {'About Dr. Nick'}
+ h4.mt-3 {'About Dr. Nick'}
p {'The NDCODE project founder is Dr. Nick Downing. Nick has always been a technical guy, and he is usually found building something—unless he is spending quality time with his wife Laura or parenting a large brood of children. Nick enjoys working with his hands, and equally his mind.'}
if (signed_in_as !== undefined) {
// signed in
- p {'Your given names are visible to other users if you comment on our blog. Your email and family name remain private. If your name is one word or does not fit given names/family name pattern, then please enter given names only.'}
+ p.mt-3 {'Your given names are visible to other users if you comment on our blog. Your email and family name remain private. If your name is one word or does not fit given names/family name pattern, then please enter given names only.'}
div.accordion#accordion(role="tablist" aria-multiselectable="true") {
div.card#card-1 {
}
else {
// signed out
- p {'For account maintenance, please click on one of the options below.'}
+ p.mt-3 {'For account maintenance, please click on one of the options below.'}
let transaction = await env.site.database.Transaction()
try {
let q = await children.get(name)
li.nav-item {
- a.nav-link(href=`${name}/index.html`) {
+ a.nav-link.grid-gutter-background(href=`${name}/index.html`) {
table.icon-and-text {
tr {
td {
async _out => {
await breadcrumbs(env, _out)
- p {'To reset your password, please enter new details below and we will send you a password reset link.'}
+ p.mt-3 {'To reset your password, please enter new details below and we will send you a password reset link.'}
form#form {
div.row {
async _out => {
await breadcrumbs(env, _out)
- p {'Your email is not yet verified. Check your email for next steps, or re-send the verification email below.'}
+ p.mt-3 {'Your email is not yet verified. Check your email for next steps, or re-send the verification email below.'}
form#form {
div.row.align-items-center {
async _out => {
await breadcrumbs(env, _out)
- p {'Signing up allows you to leave comments on our blog and receive communications from us.'}
+ p.mt-3 {'Signing up allows you to leave comments on our blog and receive communications from us.'}
p {'Your given names are visible to other users if you comment on our blog. Your email and family name remain private. If your name is one word or does not fit given names/family name pattern, then please enter given names only.'}
async _out => {
await breadcrumbs(env, _out)
- p {'You will need to verify your email address via an emailed link before you can sign in to your account.'}
+ p.mt-3 {'You will need to verify your email address via an emailed link before you can sign in to your account.'}
form#form {
div.row {
async _out => {
await breadcrumbs(env, _out)
- p {'You will need to verify your new password via an emailed link before you can use it to sign in to your account.'}
+ p.mt-3 {'You will need to verify your new password via an emailed link before you can use it to sign in to your account.'}
form#form {
div.row {
await breadcrumbs(env, _out)
- h4 {
+ h4.mt-3 {
'Query: '
- strong {`${query}`}
+ b {`${query}`}
}
if (search.results.length) {