A lightweight blog platform built with Laman.js and powered by Wisp CMS for seamless content management.
A lightweight blog platform built with Laman.js and powered by Wisp CMS for seamless content management.
Install via Laman.js showcase with the following command:
Run the following command:
npm init lamanjs my-blog -- -s lamanhub/lamanblog-wisp
Navigate into the project directory:
cd my-blog
Install dependencies:
npm install
To start the development server:
npm run dev
This will run the Laman.js development server. Open your browser and navigate to http://localhost:3000
.
You can customize your blog by editing the ./src/config.ts
file. Here's a breakdown of the key configuration options:
export default {
title: "Akbar Aditama", // The title of your blog
description: "Full Stack Developer", // A short description for SEO
image: "/profile.jpeg", // Path to your profile image
navlinks: [
// Navigation links
{
link: "/",
title: "Home",
},
],
socials: [
// Social media profiles
{
link: "https://www.facebook.com/profile.php?id=100004231035942",
title: "Facebook",
icon: "bxl:facebook",
},
{
link: "https://instagram.com/akbaraditamasp",
title: "Instagram",
icon: "bxl:instagram",
},
{
link: "https://github.com/akbaraditamasp",
title: "Github",
icon: "bxl:github",
},
{
link: "https://www.linkedin.com/in/akbar-aditama-supriyono-putra-14b00b161",
title: "LinkedIn",
icon: "bxl:linkedin",
},
],
wisp_blog_id: "cm192kote0000muzvatd87r81", // Your Wisp CMS blog identifier
};
To build the project for production:
npm run build
This will output your static files into the dist
folder, ready for deployment.
To deploy this blog to LamanHub, simply run:
npm run deploy
Your project will automatically be deployed to LamanHub with SSL and a custom domain option.
For more details, check the official documentation: Laman.js Documentation.
This project is licensed under the MIT License.