Tutorials
Hands-on guides for building real things with Nera — from a first blog to wiring up individual plugins. Browse by topic below, or read the latest.
-
Add a consent banner — or none — with plugin-consent
Find out whether your site needs a consent banner at all, then gate a YouTube embed and an analytics script with plugin-consent so nothing loads before the visitor agrees.
-
Build a one-page site
A single scrolling landing page from one Markdown file per section, with an in-page navigation, a mailto contact form and social links in the footer.
-
Reusable content blocks with plugin-stacks
Write sections once in Markdown and place them in any view with plugin-stacks, as single blocks or as ordered, per-language stack groups.
-
Build a blog with Nera
Scaffold a site, write posts, and list them newest-first on the home page with plugin-simple-page-list.
-
Build a navigation with active states
Use plugin-navigation to render a header and footer menu, with the current page highlighted.
-
Tag your content and get topic pages for free
Add tags to pages with plugin-tags and get auto-generated tag overview pages and a tag cloud.
-
Add client-side search
Wire up plugin-search to generate an index and a working search box.
-
Add prev/next links between pages
Use plugin-page-pagination to link sibling pages in reading order.
-
Open external links in a new tab
Use plugin-link-attributes to add target and rel to outbound links automatically.
-
Add canonical links for SEO
Use plugin-canonical-links to emit correct canonical and alternate-language link tags, including on subdirectory sites and generated pages.
-
Write your own local plugin
Build a project-local plugin that adds data to app with the getAppData hook and writes a file into public/ with the getAssets hook.
-
How this website is built
A case study of the Nera site itself — the plugins, the ordering, the local plugins, and how it is checked and deployed.