Newbie Questions

Quick question about “there isn’t access to the nav bar”, what do you mean by this? You do see the regular SilverBullet navigation bar right?

As to how to do this: I personally don’t regularly create sub-pages under the current page, but I do often create pages at the same level. To do this more efficiently, you can open the Page Picker and then hit space (also works on mobile), which will complete the path of the current page excluding the last path segment (so basically prepare you to create another page in the same folder).

What you can also do is create a Live Template Widgets:

Create a page somewhere (name doesn’t matter) with the following:

---
tags: template
hooks.top:
  where: 'true'
---
{[Navigate: To Page|Create sub-page]("{{@page.name}}/new")}

This will put a button on top of every page automatically that when you click it goes to that same page name with /new attached to the end. Again, not perfect because you have to rename it afterwards but getting closer.

What do you mean with tables here? You mean like a markdown table or something else?

Oh wow, I’m surprised this works, but good, although a bit scary. What you can do in general is write a custom function that does something like this:

```space-script
silverbullet.registerFunction({name: "hasTagOverlap"}, (obj1, obj2) => {
  if(!obj1.tags) {
    return false;
  }
  for(const tag of obj1.tags) {
    if(obj2.tags && obj2.tags.includes(tag)) {
      return true;
    }
  }
  return false;
});
```

```query
page where hasTagOverlap(., @page)
```