Welcome to Blogg, a minimalist, glassmorphic-themed personal blog template. This project allows you to showcase your blog posts with a clean, modern design. The content is stored in a JSON file and rendered dynamically using JavaScript, making it easy to update and manage.
- Minimalist and glassmorphic design.
- Responsive layout.
- Dynamically loaded blog content from a JSON file.
- Supports rich content including text, images, and videos.
You'll need a web browser to view the project. No additional software or libraries are required.
- Clone the repository:
git clone https://github.com/muneer320/Blogg.git
- Navigate to the project directory:
cd Blogg
- Open index.html in your web browser to view the main page.
You can view the live webpage at: https://muneer320.github.io/Blogg/
- index.html: The main page of the blog.
- blog.html: The individual blog post page.
- styles.css: The CSS file for styling the pages.
- script.js: The JavaScript file for dynamically loading blog posts on the main page.
- blog.js: The JavaScript file for loading content of an individual blog post.
- blogs.json: The JSON file containing blog post data.
- Open blogs.json.
- Add a new blog object to the array with title, excerpt, and content fields. The content field can include HTML tags for rich formatting.
{
{
"title": "Blog Post 1: Exploring Minimalism",
"excerpt": "Minimalism is more than just a design trend; it's a lifestyle choice...",
"content": "<p>Minimalism is more than just a design trend; it's a lifestyle choice. In this post, I delve into the principles of minimalism and how it can help simplify your life and increase your focus.</p><p>Here's an example of an embedded image:</p><img src='image1.jpg' alt='Minimalism'><p>And here's a video:</p><iframe width='560' height='315' src='https://www.youtube.com/embed/dQw4w9WgXcQ' frameborder='0' allowfullscreen></iframe>"
},
{
"title": "Blog Post 2: The Benefits of Meditation",
"excerpt": "Meditation has been proven to reduce stress, improve concentration...",
"content": "<p>Meditation has been proven to reduce stress, improve concentration, and promote overall well-being. Here, I share my personal journey with meditation and tips on how to get started.</p><p>Here's an example of an embedded image:</p><img src='image2.jpg' alt='Meditation'><p>And here's a video:</p><iframe width='560' height='315' src='https://www.youtube.com/embed/dQw4w9WgXcQ' frameborder='0' allowfullscreen></iframe>"
}
}
This project was created by Muneer Alam with significant assistance from ChatGPT, an AI developed by OpenAI.
This project is licensed under the MIT License - see the LICENSE file for details.