pub fn get_path(&self) -> String {
        let base = if self.path == "index" {
            String::new()
        } else {
            self.path.clone()
        };
        if self.is_capsule {
            format!("__capsule/{}", base)
        } else {
            base
        }
    }
Gets the path of the template. This is the root path under which any
generated pages will be served. In the simplest case, there will
only be one page rendered, and it will occupy that root position.

Note that this will automatically transform `index` to an empty string.

Note that this will prepend `__capsule/` to any capsules automatically.
packages/perseus/src/template/core/getters.rs