34 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: How to use Lightbi theme ?
date: 2023-12-26
tags: ["hugo","blog"]
image : "/img/posts/img-3.jpg"
Description : "In this post, we'll cover how to install Hugo and set up your first website with the Lightbi theme..."
featured: true
---
In this post, we'll cover how to install Hugo and set up your first website with the Lightbi theme. For detailed steps, refer to [Hugos quick-start guide](https://gohugo.io/getting-started/quick-start/).
1. **Create a New Hugo Site**
```bash
hugo new site <name of site>
cd <name of site>
git init
git submodule add https://github.com/binokochumolvarghese/lightbi-hugo themes/lightbi-hugo
```
- After completing the steps above, copy the contents of `exampleSite/contents` into the `content` folder of your website.
- Next, copy `hugo.toml` to the root folder of the website.
- Finally, run the following command.
```bash
hugo server
```
2. **Preview Your Site**:
Go to `http://localhost:1313/` to view your website in development mode.
Thats it! Youre ready to start building.
<!--Photo by Robert Katzki on Unsplash-->