Finding a Page
- To locate the a page components, navigate to the
themes/nextsaas/layouts/**/list.htmlfile. And data will be found atcontent/**/_index.mdfile. For homepage it will bethemes/nextsaas/layouts/index.htmlandcontent/_index.md. - Any single page data will be available on
content/**/markdown.mdfile and page file will bethemes/nextsaas/layouts/**/single.html
Customize Navbar#
To customize a navbar or change the navbar style follow these steps:
- open a page. Suppose, for the homepage open
themes/nextsaas/layouts/index.html. - Now update the following codes:
{{ partial "shared/header-one.html"
( dict
"class" "border border-stroke-2 dark:border-stroke-6 bg-accent dark:bg-background-9"
"btnClass" "btn-primary hover:btn-white-dark dark:hover:btn-white"
)
}}
- you can change the footer version to
shared/header-two.html
{{ partial "shared/header-two.html"
( dict
"class" "bg-accent/10 dark:bg-background-7/40 backdrop-blur-[25px] max-md:!top-8"
"btnClass" "btn-green hover:btn-white dark:hover:btn-white-dark"
)
}}
Customize footer#
To customize a footer or change the footer style follow these steps:
- open a page. Suppose, for the homepage open
themes/nextsaas/layouts/index.html. - Now update the following codes:
{{ partial "shared/footer-one.html" . }}
- you can change the footer version to
shared/footer-two.html:
{{ partial "shared/footer-two.html" }}
Customize Sections#
The sections are added from the themes/nextsaas/layouts/partials/** folder. Edit a partial from the folder to update the sctions in a page.
<main>
{{ partial "pages/home-page-01/hero.html" .}}
{{ partial "pages/home-page-01/about.html" .}}
</main