Quick start for the Litos theme: prerequisites, fork-or-template setup, and next steps.

How to get started with this theme
1 mins
253 words
Loading views

This theme was developed during my free time, and the documentation may not be comprehensive enough, but I will try my best to explain it.

Prerequisiteh3

Before starting, ensure you have the following tools installed in your development environment:

  • Node.js - Required for running the development environment.
  • pnpm - Our preferred package manager for dependency management.
  • Git - For version control and project management.
  • VS Code - Recommended code editor with excellent development experience.
NOTE

If you have other alternative tools, then you don’t need to follow the recommendations in this article.

Startup projecth3

There are two ways to do this:

After you have your own repository, you can clone it to your local machine.

Update Themeh3

When the theme releases a new version, you can pull the latest changes without losing your content by following these steps:

1. Add upstream remote (only needed once)

Terminal window
git remote add upstream https://github.com/Dnzzk2/Litos.git

2. Fetch and merge the latest theme

Terminal window
git fetch upstream
git merge upstream/main --no-edit

3. Resolve conflicts (if any)

Conflicts typically only occur in files you have modified, such as src/config.ts. In that case, just keep your own configuration and accept the rest of the theme updates.

TIP

To minimize conflicts, try to only modify the following files:

  • src/config.ts — Site configuration
  • src/content/ — Your posts and projects
  • public/ — Your static assets (favicon, images, etc.)
  • .env — Environment variables

Avoid modifying theme source files (components, styles, layouts) directly. This ensures smooth updates every time.

Endh3

The following documents will be divided into pages, such as readme, posts…


Author: Dnzzk2
Post: How to get started with this theme

Comments