Bootstrap 5 Blog Template with Responsive Design - Blogy
A responsive blog HTML template built with Bootstrap 5, featuring a clean layout and easy navigation for bloggers and content creators.
By templatecookie templatecookie/blogy-html 22 stars
Introduction
Blogy is a responsive blog template built with Bootstrap 5. It provides a clean, modern layout for a home page, a post‑details page, and a search page. The template is ready to use for bloggers, designers, or anyone who needs a simple static website.
What this project offers
- Three ready‑made HTML pages: index.html, details.html, and search.html.
- A fully responsive design that works on desktop, tablet, and mobile devices.
- Integration with Bootstrap 5 components, Slick slider for the banner, Font Awesome icons, and jQuery for interactive elements.
- All assets (CSS, JavaScript, images) are included in the download, so the site can be served from any static host.
Main features
- Responsive layout using Bootstrap 5 grid system.
- Slick slider for the homepage banner.
- Font Awesome icons for social links and UI elements.
- Search form that redirects to the static search.html page.
- Category navigation menu.
- Simple, clean styling in dist/css/main.css.
Technology stack
- HTML5 – three static pages.
- CSS / SCSS – custom styles in
dist/css/main.csscompiled from SCSS sources insrc/scss/. - Bootstrap 5 – layout and components.
- jQuery 3.6.0 – required by Slick slider and custom scripts.
- Slick Slider – banner carousel.
- Font Awesome 5 – icon library.
Requirements
- A modern web browser (Chrome, Firefox, Edge, Safari, etc.).
- No server‑side software is required; the template is pure static HTML.
Installation
- Download the ZIP file
/download/blogy-responsive-blog-template.zip
- Extract the archive to a folder on your computer.
unzip blogy-responsive-blog-template.zip -d blogy
- Open the site locally to verify it works.
# On macOS or Linux
open blogy/index.html
# On Windows
start blogy\index.html
- Upload the files to a static web host (e.g., GitHub Pages, Netlify, or any shared‑hosting provider).
- Copy the entire contents of the extracted folder (
blogy/) to the root of your web server. - Ensure the following files are present on the server:
index.html,details.html,search.html, thedist/folder (with itscss/,js/, andimages/subfolders), and thesrc/folder if you plan to edit SCSS later.
- Copy the entire contents of the extracted folder (
- Visit the live site by opening the URL where you uploaded the files (e.g.,
https://yourdomain.com/index.html).
Configuration
The template does not require any configuration files. All links, images, and text are hard‑coded in the HTML files. To change site‑wide information such as the site title or meta tags, edit the <head> section of each HTML file.
Customizing the project
- Change colors or typography: edit the SCSS files in
src/scss/(e.g.,_variable.scss,_typography.scss) and recompile todist/css/main.css. No build tool is included, so you can manually editdist/css/main.cssif you prefer. - Replace images: put your own images in
dist/images/and update the<img>or background‑image URLs in the HTML or CSS files. - Modify navigation: edit the
<ul class="main-menu-items">block inindex.htmlandsearch.htmlto add or remove menu items. - Add new pages: copy one of the existing HTML files, rename it, and adjust the links in the navigation menu.
Project structure
LICENSE
README.md
index.html
details.html
search.html
dist/
css/
main.css
vendor/
js/
bootstrap.bundle.min.js
jquery-3.6.0.min.js
main.js
menu.js
slick.min.js
images/
(22 image files)
src/
scss/
_reset.scss
_typography.scss
_variable.scss
main.scss
pages/
Tips
- Test the site on different screen sizes using the browser’s developer tools to ensure the responsive layout behaves as expected.
- Keep the original
LICENSEfile in the root of your project to comply with the MIT license. - If you need to add more blog posts, duplicate the markup inside the banner or content sections and update the text and images accordingly.
- For better performance, consider minifying
dist/css/main.cssand the JavaScript files before uploading to production.
License and attribution
The project is released under the MIT License. See the full license text in the repository’s LICENSE file.
Original repository: https://github.com/templatecookie/blogy-html
When redistributing the template, keep the license file and credit the original author as required by the MIT license.
Use this prompt with an AI coding assistant (Claude Code, Cursor, Copilot, ChatGPT and similar).
- Download the ZIP and extract it where your new project will live.
- Download the ZIP and extract it next to your project, so the assistant can read both.
- Fill in the bracketed parts under “About my project”.
- Paste the prompt into your assistant and review each change it proposes.
# Start a new project with Blogy ## Your task You are a senior frontend engineer. We are building a new project using Blogy, a website template built with Bootstrap, as the starting point. Keep its design and turn the demo into a clean, real codebase that I can maintain. ## About my project - What I'm building and for whom: [describe it] - Pages I need: [list them] - Stack: [keep it as plain static files, or name one: Vite / Laravel / Next.js / Astro] - Brand: [name, colours, fonts, logo] # Blogy — project brief ## Source project Blogy is a responsive HTML blog template built with Bootstrap 5. It provides a clean layout with a home page, a post details page, and a search page. The project is hosted at https://github.com/templatecookie/blogy-html and is released under the MIT license (see LICENSE). Credit goes to the original designer, Zakir Soft. ## Files that matter **Pages** - `index.html` – entry page, shows the banner slider and a list of recent posts. - `details.html` – displays a single blog post with image, date, and read‑time. - `search.html` – contains a search form and results layout. **Stylesheets** - `dist/css/main.css` – compiled theme CSS. - `dist/css/vendor/bootstrap.min.css` – Bootstrap 5 core. - `dist/css/vendor/slick.css` – Slick slider base styles. - `dist/css/vendor/slick-theme.css` – Slick slider theme. **Scripts** - `dist/js/jquery-3.6.0.min.js` – jQuery library. - `dist/js/bootstrap.bundle.min.js` – Bootstrap 5 JavaScript (includes Popper). - `dist/js/slick.min.js` – Slick slider plugin. - `dist/js/menu.js` – custom mobile menu toggle. - `dist/js/main.js` – site‑wide initialization (slider, any extra UI). **Images & fonts** - All images are under `dist/images/` (e.g., `banner.jpg`, `detailsbanner.jpg`, various blog thumbnails). - Font Awesome icons are loaded from CDN in `index.html` (`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css`). **Source SCSS** (for reference, not used at runtime) - `src/scss/main.scss` and partials (`_reset.scss`, `_typography.scss`, `_variable.scss`, plus page‑specific SCSS in `src/scss/pages/`). **Configuration** - No build tools or configuration files are required; the template is static. ## Setup and build The project consists of plain static files; no compilation step is needed. To view it locally you can simply open the entry page in a browser or serve the folder with any static server. ```bash # No npm scripts exist – the template is static. # To serve locally (example using Python): python -m http.server 8000 # Then open http://localhost:8000/index.html in a browser. ``` If you prefer a Node‑based server, any static‑file server (e.g., `serve`, `http-server`) works the same way. ## How it is put together The layout follows a typical blog structure: * **Header** – contains the logo, a mobile‑menu button, and a horizontal navigation list (`.main‑menu`). * **Banner section** – on `index.html` uses a background image and a Slick slider (`.banner-slider`) to rotate featured posts. * **Post listings** – repeated card‑like blocks with image, title, date, read‑time, and excerpt. * **Footer** – not shown in the excerpt but present in the template files. Common elements (header, footer, and CSS/JS includes) are duplicated across the three HTML pages. All pages load the same vendor CSS/JS files from the `dist/` folder and the Font Awesome CDN. **JavaScript initialization** occurs in `dist/js/main.js`, which typically: * Starts the Slick slider on the banner container. * Handles the mobile menu toggle defined in `dist/js/menu.js`. Bootstrap 5 components (dropdowns, collapses, etc.) work automatically once `bootstrap.bundle.min.js` is loaded. No additional initialization code is required for Font Awesome icons. Theme values such as primary colours, font families, and spacing are defined in the SCSS source (`src/scss/_variable.scss`) and compiled into `dist/css/main.css`. The template does not include dark‑mode or RTL support. ## Watch out for 1. **Bootstrap version mismatch** – the HTML uses Bootstrap 5 classes (e.g., `d-lg-flex`). Ensure any added custom code also targets Bootstrap 5, not older versions. 2. **Global CSS** – `dist/css/main.css` contains a reset and global typography that affect all elements; overriding styles may need higher specificity. 3. **CDN‑loaded Font Awesome** – the icon stylesheet is fetched from an external CDN; offline builds must retain this link or host the CSS locally. 4. **jQuery dependency** – scripts like `menu.js` rely on jQuery 3.6.0; removing jQuery will break those interactions. 5. **Slick slider initialization** – the slider expects a container with the class used in `main.js`; changing the markup without updating the JS will stop the carousel. 6. **Duplicate library loads** – avoid adding another copy of Bootstrap or jQuery in custom pages, as it can cause conflicts. ## Verify - [ ] Home page (`index.html`) displays the banner slider and at least three post cards. - [ ] Details page (`details.html`) shows the post image, title, date, and read‑time without layout breaks. - [ ] Search page (`search.html`) loads the search form and renders results layout correctly. - [ ] No JavaScript errors appear in the browser console (slider, menu, and Bootstrap components initialise). - [ ] Navigation links work and the active menu item is highlighted on the current page. - [ ] Responsive behaviour: layout collapses appropriately at typical breakpoints (mobile, tablet, desktop). - [ ] Font Awesome icons render; the CDN link is reachable. - [ ] Only one instance of each library (Bootstrap, jQuery, Slick) is loaded. # How to work ## Step 1 — Get it running as it is Start from the downloaded ZIP or a clone of the repository. Serve the files locally as described in "Setup and build" above and open the entry page. Confirm it runs without console errors before changing anything. ## Step 2 — Plan the project with me List the pages and sections of Blogy to keep, rename or remove for my project, the folder structure you propose for my stack, and where the repeated parts will live. Wait for my OK. ## Step 3 — Build it - Keep the pages I need, remove the rest, and replace the sample content with real content. - Extract repeated parts (header, navigation, footer) into shared partials or components. - Put my brand name, colours and fonts where Blogy defines its theme (see "How it is put together" above), not as one-off overrides. - Keep Bootstrap's markup patterns and class conventions so the design stays consistent, and don't change its major version unless I ask. ## Step 4 — Polish and launch - Remove demo content and every CSS/JS file nothing uses any more; optimise images. - Check phone, tablet and desktop widths, labels, alt text, keyboard focus and colour contrast. - Tell me which files to upload to the host. - Keep the license file and credit the author of Blogy. ## Ground rules Work in small steps and show me each change. Use only the libraries already in the project unless I agree to add one.





