Skip to content
Public template

About

Nano — Portfolio template for LeafCloud. A simple, personal page for your work and the links that matter.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Nano — portfolio template

A simple, personal page for your work and the links that matter.

Preview of the Nano template

Author's demo · All templates

Make it yours in one step

Paste this prompt into your coding agent:

Set up the LeafCloud "Nano" template for me: fetch https://leafcloud.in/templates/nano.md and follow it step by step.

Works with Claude Code, Codex, Cursor, or any coding agent. It asks a few questions, fills in your details, and puts the site online at <your-name>.leafcloud.app.

Or do it yourself

Choose Use this template on GitHub, or clone it:

git clone https://github.com/leafcloud-in/template-nano.git
cd template-nano
pnpm install --frozen-lockfile
pnpm run dev

The dev server prints a local address in your terminal. Open that address in a browser and leave the server running while you edit.

Edit src/consts.ts, src/content/blog/, src/content/projects/, and src/content/work/. Keep the existing design and replace the fictional sample details with your own.

Before publishing, make a production build:

pnpm run build

When you are ready to publish, get LeafCloud access at leafcloud.in (join the waitlist or sign in), then install the CLI:

curl -fsSL https://leafcloud.in/install.sh | sh
leaf init --name <your-site> --yes
leaf deploy --yes

LeafCloud will publish the site at https://<your-site>.leafcloud.app.

Changing it later

Ask your agent: “add my new project and redeploy”. AGENTS.md tells it which files to update and how to build and publish again.

Credits

Built on markhorn-dev/astro-nano by Mark Horn, under the MIT licence. The LICENSE file is unchanged. LeafCloud changes are listed in LEAFCLOUD.md. The original project README is in docs/UPSTREAM-README.md.

About

Nano — Portfolio template for LeafCloud. A simple, personal page for your work and the links that matter.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages